自动化立体仓库 - WMS系统
lty
8 天以前 539a56279625242c497b4b4093f2defbb9d80334
src/main/java/com/zy/asrs/service/impl/StaDescServiceImpl.java
@@ -28,7 +28,7 @@
                .eq("crn_no", crnNo);
        StaDesc staDesc = this.selectOne(wrapper);
        if (staDesc == null) {
            throw new CoolException("出库路径不存在");
            throw new CoolException("response.outbound_path_not_found");
        }
        return staDesc;
    }
@@ -46,7 +46,7 @@
                    .eq("crn_no", crnNo);
            List<StaDesc> staDescs = this.selectList(wrapper);
            if (Cools.isEmpty(staDescs)) {
                throw new CoolException("出库路径不存在");
                throw new CoolException("response.outbound_path_not_found");
            }
            // todo:luxiaotao
            return staDescs.get(0);
@@ -54,4 +54,9 @@
        return staDesc;
    }
    @Override
    public StaDesc queryCrnStn(Integer crnNo) {
        return this.baseMapper.queryCrnStn(crnNo);
    }
}