| src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/main/java/com/zy/common/service/CommonService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -103,11 +103,16 @@ // Config outModel = configService.selectConfigByCode("outModel"); // if (outModel.getValue().equals("Y")) { // // 没有到305的出库任务(305的出库任务优先) // int count = wrkMastService.selectCount(new EntityWrapper<WrkMast>().eq("io_type", 101) // .eq("sta_no", 305)); // if (count > 0) { // return R.parse("存在305出库任务"); // int count = wrkMastService.selectCount(new EntityWrapper<WrkMast>().eq("io_type", 101) // .eq("sta_no", 305)); // if (count > 0) { // BasDevp basDevp = basDevpService.selectOne(new EntityWrapper<BasDevp>().eq("dev_no", 305)); // if (basDevp.getAutoing().equals("Y") && basDevp.getLoading().equals("Y") && basDevp.getWrkNo() > 6000 && basDevp.getWrkNo() <= 9000) { // log.info("出库转运架到达305"); // return R.ok("出库转运架到达305"); // } // return R.parse("出库任务执行中"); // } // outModel.setValue("N"); // configService.updateById(outModel); // } src/main/java/com/zy/common/service/CommonService.java
@@ -252,6 +252,15 @@ } else { locMasts = collect2; } // BasDevp basDevp = basDevpService.selectOne(new EntityWrapper<BasDevp>().eq("dev_no", 305)); // if (basDevp.getAutoing().equals("Y") && basDevp.getLoading().equals("Y") && basDevp.getWrkNo() > 6000 && basDevp.getWrkNo() <= 9000) { // WrkMast wrkMast = wrkMastService.selectOne(new EntityWrapper<WrkMast>().eq("wrk_no", basDevp.getWrkNo())); // if (wrkMast.getSourceStaNo() == 201) { // locMasts = collect2; // } else if (wrkMast.getSourceStaNo() == 203) { // locMasts = collect; // } // } } // 先均匀放深库