法规清单导入-认证类型多选

This commit is contained in:
zhn
2022-05-27 10:02:27 +08:00
parent 16ec67fcab
commit 9ff51f2bc6
@@ -2165,7 +2165,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
//文件 //文件
exportFile(dataList,fileInfos); exportFile(dataList,fileInfos);
//excel //excel
OutputStream excelOS = new FileOutputStream(path + File.separator + "虚拟清单.xlsx"); OutputStream excelOS = new FileOutputStream(path + File.separator + "法规清单.xlsx");
ExportParams exportParams = new ExportParams(); ExportParams exportParams = new ExportParams();
exportParams.setType(ExcelType.XSSF); exportParams.setType(ExcelType.XSSF);
if(CutEnum.CN.getValue().equals(projectLawsInventoryEO.getCut())){ if(CutEnum.CN.getValue().equals(projectLawsInventoryEO.getCut())){
@@ -2752,7 +2752,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
projectLawsInventoryEO.setImplementType(value); projectLawsInventoryEO.setImplementType(value);
} }
//认证类型(单选不必填) //认证类型(单选不必填)
value = pullSingle(dictItemList, projectLawsInventoryEO, errorMsg, attestationType,msgList,"认证类型","Certification Type","attestation_type"); value = pullMore(dictItemList, projectLawsInventoryEO, errorMsg, attestationType,msgList,"认证类型","Certification Type","attestation_type");
if(StringUtils.isNotBlank(value)){ if(StringUtils.isNotBlank(value)){
projectLawsInventoryEO.setAttestationType(value); projectLawsInventoryEO.setAttestationType(value);
} }