自动化立体仓库 - WMS系统
#
18516761980
2022-09-26 52918de392d2eec0fbbc75439d57875401f59052
src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java
@@ -93,6 +93,9 @@
    @Value("${mes.startUpTestPACK}")
    private String suspendTestPACK;
    @Value("${mes.inPath}")
    private String inpath;
    @Override
@@ -638,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("申请测试失败");
        }
@@ -728,20 +739,6 @@
            }
        }
        return SUCCESS;
    }
    @Transactional
    public void transplant(Review review){
        //移库开始,查询目标库位
        LocMast targetLocNo = locMastService.selectOne(new EntityWrapper<LocMast>()
                .eq("row1",2)
                .eq("loc_sts","O")
                .eq("fire_status", 0)
                .eq("pack_status",0));
        if (targetLocNo != null){
            workService.locMove(review.getLocNo(),targetLocNo.getLocNo(),(long)Integer.parseInt(review.getUserId()));
        }else {
            throw new CoolException("没有空库位");
        }
    }
    /*...........................赣州新增..............以上.............赣州新增...........................*/
}