|
@@ -329,7 +329,7 @@ public class PlanYearsController extends BaseController {
|
|
|
@Log(title = ModularConstans.planYear, businessType = BusinessType.INSERT)
|
|
|
public AjaxResult importData(MultipartFile file, boolean updateSupport) throws Exception {
|
|
|
ExcelUtil<PlanYearsStandardVo> util = new ExcelUtil<>(PlanYearsStandardVo.class);
|
|
|
- List<PlanYearsStandardVo> planYears = util.importExcel(file.getInputStream(), 3);
|
|
|
+ List<PlanYearsStandardVo> planYears = util.importExcel(file.getInputStream(), 2);
|
|
|
//获取采购单位-
|
|
|
LoginUser loginUser = getLoginUser();
|
|
|
String message = planYearsService.importPlanYears(planYears, updateSupport, loginUser);
|