jiazx0107@163.com
2023-05-27 ff212e3d6cc57220133aff1d68b6bed02ba8a77b
igds-inout/src/main/java/com/ld/igds/timer/InoutScheduled.java
@@ -143,7 +143,7 @@
                    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());
@@ -158,7 +158,7 @@
                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);