自动化立体仓库 - WMS系统
#
18516761980
2022-09-26 52918de392d2eec0fbbc75439d57875401f59052
src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java
@@ -82,7 +82,7 @@
    @Autowired
    private TestMastService testMastService;
    @Autowired
    private WorkLogHandler workLogHandler;
    private WorkService workService;
    @Value("${mes.url}")
    private String mesUrl;
@@ -92,6 +92,10 @@
    @Value("${mes.startUpTestPACK}")
    private String suspendTestPACK;
    @Value("${mes.inPath}")
    private String inpath;
    @Override
@@ -637,6 +641,14 @@
        }
        locMast.setPackStatus(1);
        locMast.setModiTime(now);
        CombParam combParam = new CombParam();
        combParam.setPackNo(locMast.getBarcode());
        combParam.setLocno(locMast.getLocNo());
        combParam.setPackSts(1);
        combParam.setRequestTime(DateUtils.convert(new Date()));
        postMesData(inpath,combParam);
        if (!locMastService.update(locMast,new EntityWrapper<LocMast>().eq("loc_no", testMast.getLocNo()))){
            throw new CoolException("申请测试失败");
        }