fix(解读流程): 导入校验问题
This commit is contained in:
+1
-1
@@ -784,7 +784,7 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe
|
||||
excelHeadVerify(file, FlowImportExcel.class, 0, 0);
|
||||
List<FlowImportExcel> lists = ExcelImportUtil.importExcel(file.getInputStream(),
|
||||
FlowImportExcel.class, params);
|
||||
if (CollectionUtils.isEmpty(lists) || lists.size() <= 2) {
|
||||
if (CollectionUtils.isEmpty(lists)) {
|
||||
return Result.error(ResultCommon.IMPORT_DATA_CANNOT_BE_EMPTY);
|
||||
}
|
||||
List<ProcessStandardInterpretClauseSublist> list = BeanCopyUtils.copyBeanList(lists,
|
||||
|
||||
+13
-1
@@ -57,10 +57,18 @@ public class FlowImportExcel {
|
||||
@ApiModelProperty(value = "责任部门")
|
||||
@Excel(name = "责任部门", width = 15)
|
||||
private String responsibleDepartment;
|
||||
/**责任部门专业模块*/
|
||||
@ApiModelProperty(value = "责任部门专业模块")
|
||||
@Excel(name = "责任部门专业模块", width = 18)
|
||||
private String responsibleModule;
|
||||
/**关联部门*/
|
||||
@ApiModelProperty(value = "关联部门")
|
||||
@Excel(name = "关联部门", width = 15)
|
||||
private String relatedDepartment;
|
||||
/**关联部门专业模块*/
|
||||
@ApiModelProperty(value = "关联部门专业模块")
|
||||
@Excel(name = "关联部门专业模块", width = 18)
|
||||
private String relatedModule;
|
||||
/**适用车型*/
|
||||
@ApiModelProperty(value = "适用车型")
|
||||
@Excel(name = "适用车型", width = 15)
|
||||
@@ -73,9 +81,13 @@ public class FlowImportExcel {
|
||||
@ApiModelProperty(value = "专业领域")
|
||||
@Excel(name = "专业领域", width = 15)
|
||||
private String domainArea;
|
||||
/**配置需求*/
|
||||
@ApiModelProperty(value = "配置需求")
|
||||
@Excel(name = "配置需求", width = 15)
|
||||
private String configurationRequirements;
|
||||
/**新认证实施日期*/
|
||||
@ApiModelProperty(value = "新认证实施日期")
|
||||
@Excel(name = "新认证实施日期", width = 15)
|
||||
@Excel(name = "新认证车实施日期", width = 15)
|
||||
private String newCerImplementDate;
|
||||
/**新生产车实施日期*/
|
||||
@ApiModelProperty(value = "新生产车实施日期")
|
||||
|
||||
Reference in New Issue
Block a user