#
vincentlu
2025-05-13 ebd2f4397a92c6a5096de1b86d59154363344720
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/controller/RouteController.java
@@ -87,8 +87,8 @@
            return R.error("Save Fail");
        }
        Code startCode = codeService.getById(route.getStartCode());
        Code endCode = codeService.getById(route.getEndCode());
        Code startCode = codeService.getCacheById(route.getStartCode());
        Code endCode = codeService.getCacheById(route.getEndCode());
        if (null == startCode || null == endCode) {
            return R.error("Save Fail");
@@ -179,8 +179,8 @@
            }
            RouteExcel excelDto = Cools.conver(one, RouteExcel.class);
            Code code0 = codeService.selectByData(Utils.zeroFill(excelDto.getStartCode(), CommonConstant.QR_CODE_LEN));
            Code code1 = codeService.selectByData(Utils.zeroFill(excelDto.getEndCode(), CommonConstant.QR_CODE_LEN));
            Code code0 = codeService.getCacheByData(Utils.zeroFill(excelDto.getStartCode(), CommonConstant.QR_CODE_LEN));
            Code code1 = codeService.getCacheByData(Utils.zeroFill(excelDto.getEndCode(), CommonConstant.QR_CODE_LEN));
            if (null == code0 || null == code1) { continue; }