自动化立体仓库 - WMS系统
skyouc
5 天以前 999fb8d1d617f38804b165a198635af2aff1be66
src/main/java/com/zy/asrs/service/impl/WrkMastLogServiceImpl.java
@@ -36,6 +36,15 @@
        }
        WrkMastLog mastLog = new WrkMastLog();
        BeanUtils.copyProperties(mast, mastLog);
        if (mastLog.getIoType() == 101) {
            mastLog.setWrkSts(15);
            mastLog.setSourceLocNo(mast.getSourceLocNo());
            mastLog.setStaNo(Integer.parseInt(mast.getStaNo()));
        } else {
            mastLog.setWrkSts(5);
            mastLog.setSourceStaNo(Integer.parseInt(mast.getSourceStaNo()));
            mastLog.setLocNo(mast.getLocNo());
        }
        mastLog.setLogId(mast.getId());
        if (!wrkMastLogService.insert(mastLog)) {