自动化立体仓库 - WMS系统
skyouc
1 天以前 a412fb692f1ff4a5b18e64ac1bdb5788fd55d4d0
src/main/java/com/zy/asrs/controller/LocAroundBindController.java
@@ -72,12 +72,12 @@
        if (Objects.isNull(locAroundBind)) {
            return R.error("参数不能为空!!");
        }
        LocAroundBind aroundBind = locAroundBindService.selectOne(new EntityWrapper<LocAroundBind>().eq("b_loc_no", locAroundBind.getBLocNo()));
        LocAroundBind aroundBind = locAroundBindService.selectOne(new EntityWrapper<LocAroundBind>().eq("b_loc_no", locAroundBind.getBlocNo()));
        if (!Objects.isNull(aroundBind)) {
            return R.error("工位已绑定,不能重复绑定!");
        }
        LocMast locMast = locMastService.selectOne(new EntityWrapper<LocMast>().eq("loc_no", locAroundBind.getBLocNo()));
        LocMast locMast = locMastService.selectOne(new EntityWrapper<LocMast>().eq("loc_no", locAroundBind.getBlocNo()));
        locMast.setLocSts(LocStsType.LOC_STS_TYPE_X.type);
        locMast.setDeleted(1);
        locMast.setFrozen(1);