| | |
| | | DepotStatus.STATUS_04.getCode().equals(lastStore.getDepotStatus())) { |
| | | |
| | | param = new InoutParam(); |
| | | param.setStart(lastStore.getCreateDate()); |
| | | //param.setStart(lastStore.getCreateDate()); |
| | | param.setEnd(new Date()); |
| | | param.setDeptId(data.getDeptId()); |
| | | param.setDepotId(data.getDepotId()); |
| | |
| | | lastStore.setId(ContextUtil.getUUID()); |
| | | lastStore.setUpdateUser(null); |
| | | lastStore.setUpdateDate(new Date()); |
| | | lastStore.setCreateDate(new Date()); |
| | | // lastStore.setCreateDate(new Date()); |
| | | |
| | | if (InoutConstant.TYPE_IN.equals(data.getType())) { |
| | | lastStore.setStorageReal(lastStore.getStorageReal() + sumRecordWeight); |