소스 검색

fix:提交注释掉的代码

ly 11 달 전
부모
커밋
1951053db8
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      src/main/java/cn/ezhizao/project/business/upgrade/crmUpgradeController.java

+ 5 - 5
src/main/java/cn/ezhizao/project/business/upgrade/crmUpgradeController.java

@@ -84,11 +84,11 @@ public class crmUpgradeController extends BaseController {
     public AjaxResult checkInput(@RequestParam("file") MultipartFile file) throws Exception {
         ExcelUtil<OrderExcelImportLoopModel> util = new ExcelUtil<>(OrderExcelImportLoopModel.class);
         List<OrderExcelImportLoopModel> orderList = util.importExcel(file.getInputStream());
-//        Map<String,String> fialmap = bizArchiveInputTempService.checkexcel(orderList,getTenantId());
-//        String failureNum = fialmap.get("failureNum");
-//        if (Integer.parseInt(failureNum) > 0) {
-//            return success("错误数据",fialmap.get("failureMsg"));
-//        }
+        Map<String,String> fialmap = bizArchiveInputTempService.checkexcel(orderList,getTenantId());
+        String failureNum = fialmap.get("failureNum");
+        if (Integer.parseInt(failureNum) > 0) {
+            return success("错误数据",fialmap.get("failureMsg"));
+        }
         Map<String, List<importCheckModel>> map = bizArchiveInputTempService.checkInput(orderList,getTenantId());
         return success(map);
     }