| | |
| | | @Autowired |
| | | private CodeService codeService; |
| | | |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public int add(SysOutStore sysOutStore) { |
| | |
| | | } |
| | | |
| | | @Override |
| | | public int checkInfo(SysOutStore sysOutStore) { |
| | | public int effectOutStore(SysOutStore sysOutStore) { |
| | | |
| | | SysOutStore queryStore = sysOutStoreDao.selectById(sysOutStore.getId()); |
| | | |
| | | if(!queryStore.getCheckStatus().equals(Dictionary.CHECK_STATUS_DSH)){ |
| | | throw new GlobleException("单据状态已更新,请刷新"); |
| | | } |
| | | |
| | | List<SysOutStoreItem> list = queryStore.getOutStoreItems(); |
| | | int flag = 0; |
| | | for (SysOutStoreItem item : list) { |