diff --git a/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/entity/ParamsInfoEO.java b/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/entity/ParamsInfoEO.java index bac0f3502..548885b9d 100644 --- a/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/entity/ParamsInfoEO.java +++ b/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/entity/ParamsInfoEO.java @@ -77,10 +77,10 @@ public class ParamsInfoEO implements Serializable { private String paramsName; /**技术领域*/ - @Excel(name = "*技术领域", width = 15) +// @Excel(name = "*技术领域", width = 15) // @Dict(dicCode = "technology_territory") @ApiModelProperty(value = "技术领域") - private String technologyTerritory; + private String technologyTerritory; // 2022-07-12 需求去掉技术领域 /**参数批次*/ @Excel(name = "*参数批次", width = 15, dicCode = "params_batch") diff --git a/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/service/impl/ParamsInfoEOServiceImpl.java b/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/service/impl/ParamsInfoEOServiceImpl.java index ad9bf75f1..0c2e0f47a 100644 --- a/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/service/impl/ParamsInfoEOServiceImpl.java +++ b/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/service/impl/ParamsInfoEOServiceImpl.java @@ -455,7 +455,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl paramsInfoEOList = paramsInfoEOMapper.selectListWithCert(paramsInfoVO); // 中文数据导出 - getTreeDictItemText(paramsInfoEOList, cut); +// getTreeDictItemText(paramsInfoEOList, cut); List> sheetsList = new ArrayList<>(); sheetsList = getCnExportSheetsList(paramsInfoEOList, fileNowPath, paramsTemplateId); workbook = ExcelExportUtil.exportExcel(sheetsList, ExcelType.XSSF); @@ -463,7 +463,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl paramsInfoEnExportList = paramsInfoEOMapper.selectListWithCertForEnExport(paramsInfoVO); // 英文数据导出 - getTreeDictItemTextForEnExport(paramsInfoEnExportList); +// getTreeDictItemTextForEnExport(paramsInfoEnExportList); List> sheetsList = new ArrayList<>(); sheetsList = getEnExportSheetsList(paramsInfoEnExportList, fileNowPath, paramsTemplateId); workbook = ExcelExportUtil.exportExcel(sheetsList, ExcelType.XSSF); @@ -839,7 +839,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl paramsInfoEOListEn = resultEn.getList(); copyParamsInfoList(paramsInfoEOListEn, paramsInfoEOList); } else { - String fields[] ={ "*NIO编号", "*是否必填", "*参数名称","*技术领域","*参数批次","*责任领域", + String fields[] ={ "*NIO编号", "*是否必填", "*参数名称","*参数批次","*责任领域", "参数说明", "*控件类型", "控件校验", "控件备选值", "附件模板"}; params.setImportFields(fields); @@ -1069,7 +1069,7 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl certCategoryParamsInfoEOList = new ArrayList<>(); // 树形数据字典 - List categoryList = sysCategoryService.queryByTreeDicCode("technology_territory"); +// List categoryList = sysCategoryService.queryByTreeDicCode("technology_territory"); // 普通数据字典 List dictItemList = new ArrayList<>(); List dictCodeList = new ArrayList<>(); @@ -1091,12 +1091,12 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl itemNameList = new ArrayList<>(); if (CutEnum.CN.getValue().equals(cut)) { - treeNameList = categoryList.stream().map(SysCategory::getName).collect(Collectors.toList()); +// treeNameList = categoryList.stream().map(SysCategory::getName).collect(Collectors.toList()); itemNameList = dictItemList.stream().map(SysDictItem::getItemText).collect(Collectors.toList()); certCategoryMap = dictItemList.stream().filter(e->"cert_category".equals(e.getDictCode())).collect(Collectors.toMap(c->c.getItemText(),c->c.getItemValue())); } else if(CutEnum.EN.getValue().equals(cut)){ - treeNameList = categoryList.stream().map(SysCategory::getEnName).collect(Collectors.toList()); +// treeNameList = categoryList.stream().map(SysCategory::getEnName).collect(Collectors.toList()); itemNameList = dictItemList.stream().map(SysDictItem::getEnName).collect(Collectors.toList()); certCategoryMap = dictItemList.stream().filter(e->"cert_category".equals(e.getDictCode())).collect(Collectors.toMap(c->c.getEnName(),c->c.getItemValue())); @@ -1177,15 +1177,15 @@ public class ParamsInfoEOServiceImpl extends ServiceImpl