Browse Source

施工计划批次信息导入读取sheet修改

wangqiang 2 years ago
parent
commit
d8be98c1b4

+ 1 - 1
src/main/java/com/jeeplus/modules/cg/infrastructure/web/ConstructionBatchController.java

@@ -214,7 +214,7 @@ public class ConstructionBatchController extends BaseController {
     public AjaxJson importBasic(@RequestParam("file") MultipartFile file, HttpServletResponse response, HttpServletRequest request) {
         AjaxJson j = new AjaxJson();
         try {
-            ImportUtil importUtil = new ImportUtil(file, 0, 1);
+            ImportUtil importUtil = new ImportUtil(file, 0, 0);
 
             //获取导入表格所有数据
             List<ConstructionBatch> batches = InfrastructureExcelImportUtil.getBatchUtil(importUtil);