feat(标准解读流程): 列表翻译

This commit is contained in:
yjz
2024-07-12 18:32:19 +08:00
parent 91ba05130a
commit 5ae4365262
3 changed files with 19 additions and 2 deletions
@@ -2,6 +2,7 @@ package com.jero.modules.activiti.process.standardinterpret.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.jero.common.aspect.annotation.Dict;
import com.jero.modules.laws.documenttool.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -49,6 +50,7 @@ public class ProcessStandardInterpretClauseSublist extends BaseEntity {
/**是否与上一版相同(字典:1:是,0:否)*/
@ApiModelProperty(value = "是否与上一版相同(字典:1:是,0:否)")
@Excel(name = "是否与上一版相同", width = 15, dicCode = "yn")
@Dict(dicCode = "yn")
private String isSameAsPrevVersion;
/**变化点说明*/
@ApiModelProperty(value = "相对上一版变化点说明")
@@ -61,39 +63,49 @@ public class ProcessStandardInterpretClauseSublist extends BaseEntity {
/**涉及系统/部件)*/
@ApiModelProperty(value = "涉及系统/部件)")
@Excel(name = "涉及系统/部件", width = 15)
@Dict(dictTable = "laws_part_name", dicCode = "code", dicText = "name")
private String keywords;
/**涉及系统/部件)*/
@ApiModelProperty(value = "关键控制器)")
@Excel(name = "关键控制器", width = 15, dicCode = "key_controller")
@Dict(dicCode = "key_controller")
private String keyController;
/**责任部门*/
@ApiModelProperty(value = "责任部门")
@Excel(name = "责任部门", width = 15, dictTable = "sys_depart", dicCode = "id", dicText = "depart_name")
@Dict(dictTable = "sys_depart", dicCode = "id", dicText = "depart_name")
private String responsibleDepartment;
/**责任部门专业模块*/
@ApiModelProperty(value = "责任部门专业模块")
@Dict(dicCode = "responsible_module")
private String responsibleModule;
/**关联部门*/
@ApiModelProperty(value = "关联部门")
@Excel(name = "关联部门", width = 15, dictTable = "sys_depart", dicCode = "id", dicText = "depart_name")
@Dict(dictTable = "sys_depart", dicCode = "id", dicText = "depart_name")
private String relatedDepartment;
/**关联部门专业模块*/
@ApiModelProperty(value = "关联部门专业模块")
@Dict(dicCode = "related_module")
private String relatedModule;
/**适用车型*/
@ApiModelProperty(value = "适用车型")
@Excel(name = "适用车型", width = 15, dicCode = "applicable_vehicle_type")
@Dict(dicCode = "applicable_vehicle_type")
private String applications;
/**动力类型*/
@ApiModelProperty(value = "动力类型")
@Excel(name = "动力类型", width = 15, dicCode = "dynamic_type")
@Dict(dicCode = "dynamic_type")
private String powerType;
/**专业领域*/
@ApiModelProperty(value = "专业领域")
@Excel(name = "专业领域", width = 15, dicCode = "professional_field")
@Dict(dicCode = "professional_field")
private String domainArea;
/**配置需求*/
@ApiModelProperty(value = "配置需求")
@Dict(dicCode = "configuration_requirements")
private String configurationRequirements;
/**新认证实施日期*/
@ApiModelProperty(value = "新认证实施日期")
@@ -146,6 +158,7 @@ public class ProcessStandardInterpretClauseSublist extends BaseEntity {
/**排查阶段*/
@ApiModelProperty(value = "排查阶段")
@Excel(name = "排查阶段", width = 15, dicCode = "investigation_stage")
@Dict(dicCode = "investigation_stage")
private java.lang.String investigationStage;
/**p3*/
@ApiModelProperty(value = "p3")
@@ -14,6 +14,7 @@
change_description,
regulatory_notes,
keywords,
key_controller,
applicable_components,
responsible_department,
responsible_module,
@@ -35,6 +36,7 @@
dfema,
key_technology_decomposition_table,
other_documents_templates,
investigation_stage,
p3,
p5,
remarks,
@@ -1297,8 +1297,10 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe
processStandardInterpretClauseService.saveOrUpdateBatch(newProcessStandardInterpretClauseList);
}
map.put(StandardInterpretCommon.PASS_FIRST,
Integer.parseInt(processStandardInterpret.getIsDistribute()));
if (StringUtils.isNotBlank(processStandardInterpret.getIsDistribute())){
map.put(StandardInterpretCommon.PASS_FIRST,
Integer.parseInt(processStandardInterpret.getIsDistribute()));
}
processStandardInterpretService.updateById(processStandardInterpret);
break;
// 标准主解读汇总(分发)