自动化立体仓库 - WMS系统
#
18516761980
2021-08-20 c73f3dd7d3ce960406c705d27ce7d6e0130fc9e5
src/main/java/com/zy/common/service/CommonService.java
@@ -91,15 +91,15 @@
     * @return locNo 检索到的库位号
     */
    public StartupDto getLocNo(Integer whsType, Integer staDescId, Integer sourceStaNo, List<String> matNos, int times) {
        if (sourceStaNo == 3) {
            whsType = 1;
        } else if (sourceStaNo == 7) {
            whsType = 2;
        } else if (sourceStaNo == 19) {
            whsType = 3;
        } else {
            throw new CoolException("无效入库站");
        }
//        if (sourceStaNo == 3) {
//            whsType = 1;
//        } else if (sourceStaNo == 7) {
//            whsType = 2;
//        } else if (sourceStaNo == 19) {
//            whsType = 3;
//        } else {
//            throw new CoolException("无效入库站");
//        }
        StartupDto startupDto = new StartupDto();
        RowLastno rowLastno = rowLastnoService.selectById(whsType);
        if (Cools.isEmpty(rowLastno)) {