参数模板-4行-翻译修改

This commit is contained in:
liyawei
2022-08-12 17:18:49 +08:00
parent 2e69983ab6
commit 791c7dd448
5 changed files with 52 additions and 52 deletions
@@ -386,7 +386,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
if (CutEnum.CN.getValue().equals(cut)) { if (CutEnum.CN.getValue().equals(cut)) {
bussExportParams.setSheetName("企业参数表"); bussExportParams.setSheetName("企业参数表");
} else { } else {
bussExportParams.setSheetName("Company Params"); bussExportParams.setSheetName("Company parameter");
} }
bussExportParams.setType(ExcelType.XSSF); // 解决HSSFRichTextString cannot cast XSSFRichTextString问题 bussExportParams.setType(ExcelType.XSSF); // 解决HSSFRichTextString cannot cast XSSFRichTextString问题
bussExportParams.setStyle(CommonExcelExportStyler.class); bussExportParams.setStyle(CommonExcelExportStyler.class);
@@ -727,7 +727,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
// 创建参数对象(用来设定excel得sheet得内容等信息) // 创建参数对象(用来设定excel得sheet得内容等信息)
ExportParams bussExportParams = new ExportParams(); ExportParams bussExportParams = new ExportParams();
// 设置sheet得名称 // 设置sheet得名称
bussExportParams.setSheetName("Company Params"); bussExportParams.setSheetName("Company parameter");
bussExportParams.setType(ExcelType.XSSF); // 解决HSSFRichTextString cannot cast XSSFRichTextString问题 bussExportParams.setType(ExcelType.XSSF); // 解决HSSFRichTextString cannot cast XSSFRichTextString问题
bussExportParams.setStyle(CommonExcelExportStyler.class); bussExportParams.setStyle(CommonExcelExportStyler.class);
// 创建sheet1使用得map // 创建sheet1使用得map
@@ -930,8 +930,8 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
// 第几个sheet页 // 第几个sheet页
if (numSheet == 0) { // 企业参数表 if (numSheet == 0) { // 企业参数表
if (CutEnum.EN.getValue().equals(cut)) { if (CutEnum.EN.getValue().equals(cut)) {
String fields[] ={ "*NIO Number", "*Is Must", "*Params Name","*Params Batch","*Duty Territory", String fields[] ={ "*NIO Number", "*Required", "*Para Name","*Para Batch","*Responsible Field",
"Description", "*Control Type", "Control Verify", "Control Values", "Default Value", "File Template"}; "Description", "*Control Component", "Validate Component", "Component Value", "Default Value", "File Template"};
params.setImportFields(fields); params.setImportFields(fields);
ExcelImportResult<ParamsInfoEnImport> resultEn = ExcelImportUtil.importExcelMore(excelfile,ParamsInfoEnImport.class, params); ExcelImportResult<ParamsInfoEnImport> resultEn = ExcelImportUtil.importExcelMore(excelfile,ParamsInfoEnImport.class, params);
@@ -950,7 +950,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
if (certCategoryMap.containsKey(sheetName)) { if (certCategoryMap.containsKey(sheetName)) {
List<CertCategoryParamsInfoCnImport> list = new ArrayList<>(); List<CertCategoryParamsInfoCnImport> list = new ArrayList<>();
if (CutEnum.EN.getValue().equals(cut)) { if (CutEnum.EN.getValue().equals(cut)) {
String fields[] ={ "*NIO Number", "*Number", "*Params Name","Description"}; String fields[] ={ "*NIO Number", "*Number", "*Para Name","Description"};
params.setImportFields(fields); params.setImportFields(fields);
ExcelImportResult<CertCategoryParamsInfoEnImport> resultEn = ExcelImportUtil.importExcelMore(excelfile, CertCategoryParamsInfoEnImport.class, params); ExcelImportResult<CertCategoryParamsInfoEnImport> resultEn = ExcelImportUtil.importExcelMore(excelfile, CertCategoryParamsInfoEnImport.class, params);
@@ -1235,7 +1235,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
if(CutEnum.CN.getValue().equals(cut)) { if(CutEnum.CN.getValue().equals(cut)) {
errorMsg += "NIO编号格式错误,仅能为字母,数字,横杠(-),左斜杠,空格;"; errorMsg += "NIO编号格式错误,仅能为字母,数字,横杠(-),左斜杠,空格;";
} else { } else {
errorMsg += "NIO number formatting errors, can only letters, numbers, dash (-),left slash,spaces;"; errorMsg += "NIO number formatting errors, can only letters, numbers, dash (-),left slash,spaces; ";
} }
countError++; countError++;
} }
@@ -1257,10 +1257,10 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
// 是否必填 // 是否必填
String isMust = dto.getIsMust(); String isMust = dto.getIsMust();
resultMap = validateMustAndLength(isMust, "是否必填", "Is Must", IsMustEnum.YES.getValue(), "50", false, cut); resultMap = validateMustAndLength(isMust, "是否必填", "Required", IsMustEnum.YES.getValue(), "50", false, cut);
errorMsg += (String)resultMap.get("errorMsg"); errorMsg += (String)resultMap.get("errorMsg");
countError += (int)resultMap.get("countError"); countError += (int)resultMap.get("countError");
resultMap = getCodeByName(isMust,"是否必填","Is Must","enum",paramsIsMustEnumMap,null,null,cut); resultMap = getCodeByName(isMust,"是否必填","Required","enum",paramsIsMustEnumMap,null,null,cut);
errorMsg += (String)resultMap.get("errorMsg"); errorMsg += (String)resultMap.get("errorMsg");
countError += (int)resultMap.get("countError"); countError += (int)resultMap.get("countError");
isMust = (String)resultMap.get("value"); isMust = (String)resultMap.get("value");
@@ -1268,7 +1268,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
// 参数名称 // 参数名称
String paramsName = dto.getParamsName(); String paramsName = dto.getParamsName();
resultMap = validateMustAndLength(paramsName, "参数名称", "Params Name", IsMustEnum.YES.getValue(), "100", false, cut); resultMap = validateMustAndLength(paramsName, "参数名称", "Para Name", IsMustEnum.YES.getValue(), "100", false, cut);
errorMsg += (String)resultMap.get("errorMsg"); errorMsg += (String)resultMap.get("errorMsg");
countError += (int)resultMap.get("countError"); countError += (int)resultMap.get("countError");
@@ -1285,10 +1285,10 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
// 参数批次 // 参数批次
String paramsBatch = dto.getParamsBatch(); String paramsBatch = dto.getParamsBatch();
resultMap = validateMustAndLength(paramsBatch, "参数批次", "Params Batch", IsMustEnum.YES.getValue(), "50", true, cut); resultMap = validateMustAndLength(paramsBatch, "参数批次", "Para Batch", IsMustEnum.YES.getValue(), "50", true, cut);
errorMsg += (String)resultMap.get("errorMsg"); errorMsg += (String)resultMap.get("errorMsg");
countError += (int)resultMap.get("countError"); countError += (int)resultMap.get("countError");
resultMap = getCodeByName(paramsBatch,"参数批次", "Params Batch", "dicCode",null,itemNameList,dictItemList,cut); resultMap = getCodeByName(paramsBatch,"参数批次", "Para Batch", "dicCode",null,itemNameList,dictItemList,cut);
errorMsg += (String)resultMap.get("errorMsg"); errorMsg += (String)resultMap.get("errorMsg");
countError += (int)resultMap.get("countError"); countError += (int)resultMap.get("countError");
paramsBatch = (String)resultMap.get("value"); paramsBatch = (String)resultMap.get("value");
@@ -1296,10 +1296,10 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
// 责任领域 // 责任领域
String dutyTerritory = dto.getDutyTerritory(); String dutyTerritory = dto.getDutyTerritory();
resultMap = validateMustAndLength(dutyTerritory, "责任领域", "Duty Territory", IsMustEnum.YES.getValue(), "50",true, cut); resultMap = validateMustAndLength(dutyTerritory, "责任领域", "Responsible Field", IsMustEnum.YES.getValue(), "50",true, cut);
errorMsg += (String)resultMap.get("errorMsg"); errorMsg += (String)resultMap.get("errorMsg");
countError += (int)resultMap.get("countError"); countError += (int)resultMap.get("countError");
resultMap = getCodeByName(dutyTerritory,"责任领域", "Duty Territory", "dicCode",null,itemNameList,dictItemList,cut); resultMap = getCodeByName(dutyTerritory,"责任领域", "Responsible Field", "dicCode",null,itemNameList,dictItemList,cut);
errorMsg += (String)resultMap.get("errorMsg"); errorMsg += (String)resultMap.get("errorMsg");
countError += (int)resultMap.get("countError"); countError += (int)resultMap.get("countError");
dutyTerritory = (String)resultMap.get("value"); dutyTerritory = (String)resultMap.get("value");
@@ -1323,10 +1323,10 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
// 控件类型 // 控件类型
String controlType = dto.getControlType(); String controlType = dto.getControlType();
resultMap = validateMustAndLength(controlType, "控件类型", "Control Type", IsMustEnum.YES.getValue(), "50", false, cut); resultMap = validateMustAndLength(controlType, "控件类型", "Control Component", IsMustEnum.YES.getValue(), "50", false, cut);
errorMsg += (String)resultMap.get("errorMsg"); errorMsg += (String)resultMap.get("errorMsg");
countError += (int)resultMap.get("countError"); countError += (int)resultMap.get("countError");
resultMap = getCodeByName(controlType,"控件类型", "Control Type", "enum",controlTypeEnumMap,null,null,cut); resultMap = getCodeByName(controlType,"控件类型", "Control Component", "enum",controlTypeEnumMap,null,null,cut);
errorMsg += (String)resultMap.get("errorMsg"); errorMsg += (String)resultMap.get("errorMsg");
countError += (int)resultMap.get("countError"); countError += (int)resultMap.get("countError");
controlType = (String)resultMap.get("value"); controlType = (String)resultMap.get("value");
@@ -1352,9 +1352,9 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
|| ControlTypeEnum.TEXT_PULL_MORE.getValue().equals(controlType) || ControlTypeEnum.TEXT_PULL_MORE.getValue().equals(controlType)
|| ControlTypeEnum.TEXT_PULL_SINGLE.getValue().equals(controlType) || ControlTypeEnum.TEXT_PULL_SINGLE.getValue().equals(controlType)
|| ControlTypeEnum.TEXT_PULL_SINGLE_FILE.getValue().equals(controlType)) { || ControlTypeEnum.TEXT_PULL_SINGLE_FILE.getValue().equals(controlType)) {
resultMap = validateMustAndLength(controlValues, "控件备选值", "Control Values", IsMustEnum.YES.getValue(), "500", false, cut); resultMap = validateMustAndLength(controlValues, "控件备选值", "Component Value", IsMustEnum.YES.getValue(), "500", false, cut);
} else { } else {
resultMap = validateMustAndLength(controlValues, "控件备选值", "Control Values", IsMustEnum.NO.getValue(), "500", false, cut); resultMap = validateMustAndLength(controlValues, "控件备选值", "Component Value", IsMustEnum.NO.getValue(), "500", false, cut);
dto.setControlValues(null); dto.setControlValues(null);
} }
errorMsg += (String)resultMap.get("errorMsg"); errorMsg += (String)resultMap.get("errorMsg");
@@ -1367,22 +1367,22 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
|| ControlTypeEnum.TEXT_PULL_MORE.getValue().equals(controlType) || ControlTypeEnum.TEXT_PULL_MORE.getValue().equals(controlType)
|| ControlTypeEnum.TEXT_FILE.getValue().equals(controlType) || ControlTypeEnum.TEXT_FILE.getValue().equals(controlType)
|| ControlTypeEnum.TEXT_PULL_SINGLE_FILE.getValue().equals(controlType)) { || ControlTypeEnum.TEXT_PULL_SINGLE_FILE.getValue().equals(controlType)) {
resultMap = validateMustAndLength(controlVerify, "控件校验", "Control Verify", IsMustEnum.YES.getValue(), "50", false, cut); resultMap = validateMustAndLength(controlVerify, "控件校验", "Validate Component", IsMustEnum.YES.getValue(), "50", false, cut);
errorMsg += (String)resultMap.get("errorMsg"); errorMsg += (String)resultMap.get("errorMsg");
countError += (int)resultMap.get("countError"); countError += (int)resultMap.get("countError");
resultMap = getCodeByName(controlVerify,"控件校验", "Control Verify", "enum",controlVerifyEnumMap,null,null,cut); resultMap = getCodeByName(controlVerify,"控件校验", "Validate Component", "enum",controlVerifyEnumMap,null,null,cut);
errorMsg += (String)resultMap.get("errorMsg"); errorMsg += (String)resultMap.get("errorMsg");
countError += (int)resultMap.get("countError"); countError += (int)resultMap.get("countError");
controlVerify = (String)resultMap.get("value"); controlVerify = (String)resultMap.get("value");
dto.setControlVerify(controlVerify); dto.setControlVerify(controlVerify);
} else { } else {
resultMap = validateMustAndLength(controlVerify, "控件校验", "Control Verify", IsMustEnum.NO.getValue(), "50", false, cut); resultMap = validateMustAndLength(controlVerify, "控件校验", "Validate Component", IsMustEnum.NO.getValue(), "50", false, cut);
errorMsg += (String)resultMap.get("errorMsg"); errorMsg += (String)resultMap.get("errorMsg");
countError += (int)resultMap.get("countError"); countError += (int)resultMap.get("countError");
resultMap = getCodeByName(controlVerify,"控件校验", "Control Verify", "enum",controlVerifyEnumMap,null,null,cut); resultMap = getCodeByName(controlVerify,"控件校验", "Validate Component", "enum",controlVerifyEnumMap,null,null,cut);
errorMsg += (String)resultMap.get("errorMsg"); errorMsg += (String)resultMap.get("errorMsg");
countError += (int)resultMap.get("countError"); countError += (int)resultMap.get("countError");
@@ -1409,7 +1409,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
if (CutEnum.CN.getValue().equals(cut)) { if (CutEnum.CN.getValue().equals(cut)) {
errorMsg += "附件模板只能上传一个文件;"; errorMsg += "附件模板只能上传一个文件;";
} else { } else {
errorMsg += "File template only can upload one;"; errorMsg += "File template only can upload one; ";
} }
} }
for (String fileName : fileTemplateName.split(",")) { for (String fileName : fileTemplateName.split(",")) {
@@ -1419,7 +1419,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
if (CutEnum.CN.getValue().equals(cut)) { if (CutEnum.CN.getValue().equals(cut)) {
errorMsg += "附件模板压缩包中没有" + fileName + "文件; "; errorMsg += "附件模板压缩包中没有" + fileName + "文件; ";
} else { } else {
errorMsg += "File template " + fileName + "isn't present in the cabinet;"; errorMsg += "File template " + fileName + "isn't present in the cabinet; ";
} }
countError++; countError++;
} else { } else {
@@ -1493,16 +1493,16 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
if(CutEnum.CN.getValue().equals(cut)) { if(CutEnum.CN.getValue().equals(cut)) {
errorMsg += "nio编号格式错误,仅能为字母,数字,横杠(-),左斜杠,空格;"; errorMsg += "nio编号格式错误,仅能为字母,数字,横杠(-),左斜杠,空格;";
} else { } else {
errorMsg += "NIO number formatting errors, can only letters, numbers, dash (-),left slash,spaces;"; errorMsg += "NIO number formatting errors, can only letters, numbers, dash (-),left slash,spaces; ";
} }
countError++; countError++;
} }
if (CollectionUtil.isNotEmpty(ccNioNumberImport)) { if (CollectionUtil.isNotEmpty(ccNioNumberImport)) {
if (ccNioNumberImport.contains(ccDto.getNioNumber())) { if (ccNioNumberImport.contains(ccDto.getNioNumber())) {
if (CutEnum.CN.getValue().equals(cut)) { if (CutEnum.CN.getValue().equals(cut)) {
errorMsg += "NIO编号重复!"; errorMsg += "NIO编号重复;";
} else { } else {
errorMsg += "NIO number already exists!"; errorMsg += "NIO number already exists; ";
} }
countError++; countError++;
} else { } else {
@@ -1524,14 +1524,14 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
if(CutEnum.CN.getValue().equals(cut)) { if(CutEnum.CN.getValue().equals(cut)) {
errorMsg += "编号格式错误,仅能为字母,数字,横杠(-),小数点(.),左斜杠,空格;"; errorMsg += "编号格式错误,仅能为字母,数字,横杠(-),小数点(.),左斜杠,空格;";
} else { } else {
errorMsg += "Number formatting errors, can only letters, numbers, dash (-),dot (.),left slash,spaces;"; errorMsg += "Number formatting errors, can only letters, numbers, dash (-),dot (.),left slash,spaces; ";
} }
countError++; countError++;
} }
} }
// 参数名称 // 参数名称
String paramsName = ccDto.getParamsName(); String paramsName = ccDto.getParamsName();
resultMap = validateMustAndLength(paramsName, "参数名称", "Params Name", IsMustEnum.YES.getValue(),"100", false, cut); resultMap = validateMustAndLength(paramsName, "参数名称", "Para Name", IsMustEnum.YES.getValue(),"100", false, cut);
errorMsg += (String)resultMap.get("errorMsg"); errorMsg += (String)resultMap.get("errorMsg");
countError += (int)resultMap.get("countError"); countError += (int)resultMap.get("countError");
// 参数说明 // 参数说明
@@ -1558,7 +1558,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
if (CutEnum.CN.getValue().equals(cut)) { if (CutEnum.CN.getValue().equals(cut)) {
stringMessage.add("导入数据中NIO编号:" + reduceOne + "下存在重复认证类别;"); stringMessage.add("导入数据中NIO编号:" + reduceOne + "下存在重复认证类别;");
} else { } else {
stringMessage.add("Repeat cert category exist in NIO Number: " + reduceOne + ";"); stringMessage.add("Repeat cert category exist in NIO Number: " + reduceOne + "; ");
} }
} }
} }
@@ -1579,7 +1579,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
if (CutEnum.CN.getValue().equals(cut)) { if (CutEnum.CN.getValue().equals(cut)) {
stringMessage.add("导入数据中NIO编号:" + reduceTwo + "下存在重复认证编号;"); stringMessage.add("导入数据中NIO编号:" + reduceTwo + "下存在重复认证编号;");
} else { } else {
stringMessage.add("Repeat number exist in NIO Number: " + reduceTwo + ";"); stringMessage.add("Repeat number exist in NIO Number: " + reduceTwo + "; ");
} }
} }
} }
@@ -1635,7 +1635,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
if(CutEnum.CN.getValue().equals(cut)) { if(CutEnum.CN.getValue().equals(cut)) {
errorMsg += fieldNameCn + "为必填项,不能为空;"; errorMsg += fieldNameCn + "为必填项,不能为空;";
} else { } else {
errorMsg += fieldNameEn + " is mandatory and cannot be empty;"; errorMsg += fieldNameEn + " is mandatory and cannot be empty; ";
} }
countError++; countError++;
} }
@@ -1644,7 +1644,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
if(CutEnum.CN.getValue().equals(cut)) { if(CutEnum.CN.getValue().equals(cut)) {
errorMsg += fieldNameCn + "不能超过" + dbLength + "个字符;"; errorMsg += fieldNameCn + "不能超过" + dbLength + "个字符;";
} else { } else {
errorMsg += fieldNameEn + " can not be more than " + dbLength + " char;"; errorMsg += fieldNameEn + " can not be more than " + dbLength + " char; ";
} }
countError++; countError++;
} }
@@ -1655,7 +1655,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
if (CutEnum.CN.getValue().equals(cut)) { if (CutEnum.CN.getValue().equals(cut)) {
errorMsg += fieldNameCn + "为单选项;"; errorMsg += fieldNameCn + "为单选项;";
} else { } else {
errorMsg += fieldNameEn + " is single type;"; errorMsg += fieldNameEn + " is single type; ";
} }
countError++; countError++;
} }
@@ -1687,7 +1687,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
if(CutEnum.CN.getValue().equals(cut)) { if(CutEnum.CN.getValue().equals(cut)) {
errorMsg += fieldNameCn + "中的" + lastValue + "与数据字典不匹配;"; errorMsg += fieldNameCn + "中的" + lastValue + "与数据字典不匹配;";
} else { } else {
errorMsg += fieldNameEn +" "+ lastValue + " does not match the data dictionary;"; errorMsg += fieldNameEn +" "+ lastValue + " does not match the data dictionary; ";
} }
countError++; countError++;
} }
@@ -1742,7 +1742,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
if(CutEnum.CN.getValue().equals(cut)) { if(CutEnum.CN.getValue().equals(cut)) {
errorMsg += fieldNameCn + "中的" + valueTemp + "与数据字典不匹配;"; errorMsg += fieldNameCn + "中的" + valueTemp + "与数据字典不匹配;";
} else{ } else{
errorMsg += fieldNameEn + " " + valueTemp + " does not match the data dictionary"; errorMsg += fieldNameEn + " " + valueTemp + " does not match the data dictionary; ";
} }
countError++; countError++;
} }
@@ -1777,7 +1777,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl<ParamsInfoEOMapper, Par
if(CutEnum.CN.getValue().equals(cut)) { if(CutEnum.CN.getValue().equals(cut)) {
errorMsg += fieldNameCn + "中的" + value + "不正确;"; errorMsg += fieldNameCn + "中的" + value + "不正确;";
} else{ } else{
errorMsg += fieldNameEn + " " + value + " is not correct"; errorMsg += fieldNameEn + " " + value + " is not correct; ";
} }
countError++; countError++;
} }
@@ -47,7 +47,7 @@ public class CertCategoryParamsInfoEnExport {
private String paramsNumber; private String paramsNumber;
/**参数名称*/ /**参数名称*/
@Excel(name = "*Params Name", width = 15, orderNum = "3") @Excel(name = "*Para Name", width = 15, orderNum = "3")
@ApiModelProperty(value = "参数名称") @ApiModelProperty(value = "参数名称")
private String paramsName; private String paramsName;
@@ -47,7 +47,7 @@ public class CertCategoryParamsInfoEnImport {
private String paramsNumber; private String paramsNumber;
/**参数名称*/ /**参数名称*/
@Excel(name = "*Params Name", width = 15, orderNum = "3") @Excel(name = "*Para Name", width = 15, orderNum = "3")
@ApiModelProperty(value = "参数名称") @ApiModelProperty(value = "参数名称")
private String paramsName; private String paramsName;
@@ -50,12 +50,12 @@ public class ParamsInfoEnExport {
private String nioNumber; private String nioNumber;
/**是否必填*/ /**是否必填*/
@Excel(name = "*Is Must", width = 15, replace = {"yes_1","no_0"}) @Excel(name = "*Required", width = 15, replace = {"yes_1","no_0"})
@ApiModelProperty(value = "是否必填") @ApiModelProperty(value = "是否必填")
private String isMust; private String isMust;
/**参数名称*/ /**参数名称*/
@Excel(name = "*Params Name", width = 15) @Excel(name = "*Para Name", width = 15)
@ApiModelProperty(value = "参数名称") @ApiModelProperty(value = "参数名称")
private String paramsName; private String paramsName;
@@ -66,13 +66,13 @@ public class ParamsInfoEnExport {
private String technologyTerritory; private String technologyTerritory;
/**参数批次*/ /**参数批次*/
@Excel(name = "*Params Batch", width = 15, dicCode = "params_batch_en") @Excel(name = "*Para Batch", width = 15, dicCode = "params_batch_en")
@Dict(dicCode = "params_batch") @Dict(dicCode = "params_batch")
@ApiModelProperty(value = "参数批次") @ApiModelProperty(value = "参数批次")
private String paramsBatch; private String paramsBatch;
/**责任领域*/ /**责任领域*/
@Excel(name = "*Duty Territory", width = 15, dicCode = "duty_territory_en") @Excel(name = "*Responsible Field", width = 15, dicCode = "duty_territory_en")
@Dict(dicCode = "duty_territory") @Dict(dicCode = "duty_territory")
@ApiModelProperty(value = "责任领域") @ApiModelProperty(value = "责任领域")
private String dutyTerritory; private String dutyTerritory;
@@ -89,17 +89,17 @@ public class ParamsInfoEnExport {
private String certCategory; private String certCategory;
/**控件类型*/ /**控件类型*/
@Excel(name = "*Control Type", width = 15, replace = {"Text_1","Pull single_2","Pull more_3","File_4","Text+Pull single_5","Text+Pull more_6","Text+File_7","Pull single+File_8","Pull more+File_9","Text+Pull single+File_10","Title_11"}) @Excel(name = "*Control Component", width = 15, replace = {"Text_1","Pull single_2","Pull more_3","File_4","Text+Pull single_5","Text+Pull more_6","Text+File_7","Pull single+File_8","Pull more+File_9","Text+Pull single+File_10","Title_11"})
@ApiModelProperty(value = "控件类型") @ApiModelProperty(value = "控件类型")
private String controlType; private String controlType;
/**控件校验*/ /**控件校验*/
@Excel(name = "Control Verify", width = 15, replace = {"Null_1","Chinese_2","Integer_3","Positive float_4","Integer decimal_5","Decimal one_6","Decimal two_7","Decimal three_8","Decimal four_9"}) @Excel(name = "Validate Component", width = 15, replace = {"Null_1","Chinese_2","Integer_3","Positive float_4","Integer decimal_5","Decimal one_6","Decimal two_7","Decimal three_8","Decimal four_9"})
@ApiModelProperty(value = "控件校验") @ApiModelProperty(value = "控件校验")
private String controlVerify; private String controlVerify;
/**控件备选值*/ /**控件备选值*/
@Excel(name = "Control Values", width = 15) @Excel(name = "Component Value", width = 15)
@ApiModelProperty(value = "控件备选值") @ApiModelProperty(value = "控件备选值")
private String controlValues; private String controlValues;
@@ -18,12 +18,12 @@ public class ParamsInfoEnImport {
private String nioNumber; private String nioNumber;
/**是否必填*/ /**是否必填*/
@Excel(name = "*Is Must", width = 15) @Excel(name = "*Required", width = 15)
@ApiModelProperty(value = "是否必填") @ApiModelProperty(value = "是否必填")
private String isMust; private String isMust;
/**参数名称*/ /**参数名称*/
@Excel(name = "*Params Name", width = 15) @Excel(name = "*Para Name", width = 15)
@ApiModelProperty(value = "参数名称") @ApiModelProperty(value = "参数名称")
private String paramsName; private String paramsName;
@@ -33,12 +33,12 @@ public class ParamsInfoEnImport {
private String technologyTerritory; private String technologyTerritory;
/**参数批次*/ /**参数批次*/
@Excel(name = "*Params Batch", width = 15) @Excel(name = "*Para Batch", width = 15)
@ApiModelProperty(value = "参数批次") @ApiModelProperty(value = "参数批次")
private String paramsBatch; private String paramsBatch;
/**责任领域*/ /**责任领域*/
@Excel(name = "*Duty Territory", width = 15) @Excel(name = "*Responsible Field", width = 15)
@ApiModelProperty(value = "责任领域") @ApiModelProperty(value = "责任领域")
private String dutyTerritory; private String dutyTerritory;
@@ -53,17 +53,17 @@ public class ParamsInfoEnImport {
private String certCategory; private String certCategory;
/**控件类型*/ /**控件类型*/
@Excel(name = "*Control Type", width = 15) @Excel(name = "*Control Component", width = 15)
@ApiModelProperty(value = "控件类型") @ApiModelProperty(value = "控件类型")
private String controlType; private String controlType;
/**控件校验*/ /**控件校验*/
@Excel(name = "Control Verify", width = 15) @Excel(name = "Validate Component", width = 15)
@ApiModelProperty(value = "控件校验") @ApiModelProperty(value = "控件校验")
private String controlVerify; private String controlVerify;
/**控件备选值*/ /**控件备选值*/
@Excel(name = "Control Values", width = 15) @Excel(name = "Component Value", width = 15)
@ApiModelProperty(value = "控件备选值") @ApiModelProperty(value = "控件备选值")
private String controlValues; private String controlValues;