自动化立体仓库 - WMS系统
1
zhangc
2025-04-19 009ed5a278999b2cf32f241fd489a41559923f6c
src/main/java/com/zy/asrs/controller/OpenController.java
@@ -91,10 +91,14 @@
                throw new CoolException("四向库任务未找到");
            }
            if (wrkMast.getIoType() == 1 || wrkMast.getIoType() == 10 || wrkMast.getIoType() == 11 || wrkMast.getIoType() == 53 || wrkMast.getIoType() == 54 || wrkMast.getIoType() == 57) {
                if (!Cools.isEmpty(param.getMsgType()) && param.getMsgType().equalsIgnoreCase("task_complete")) {
                wrkMast.setWrkSts(4L);
                }
            } else {
                if (!Cools.isEmpty(param.getMsgType()) && param.getMsgType().equalsIgnoreCase("task_complete")) {
                wrkMast.setWrkSts(14L);
            }
            }
            wrkMast.setModiTime(new Date());
            if (!wrkMastService.updateById(wrkMast)) {
                return R.error("更新失败");