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