南网,epc和国网模板下載更新

This commit is contained in:
fl 2025-06-24 13:04:31 +08:00
parent 6eb3015cac
commit f04edba23f
1 changed files with 13 additions and 0 deletions

View File

@ -247,6 +247,15 @@ public class StateGridServiceImpl implements StateGridService {
String[] split = perfId.split(",");
tbCompanyPerfVo.setPerfIds(Arrays.asList(split));
List<TbCompanyPerfVo> personPerfList = tbCompanyPerfMapper.getTbCompanyPerfListByPersonId(tbCompanyPerfVo);
//项目业绩的文件
personPerfList.forEach(perfItem -> {
//人员业绩证明你材料
List<TbFileSourceVo> personList = getFileSourceList(perfItem.getPerfId(),TableType.TB_COMPANY_PERF_REL.getCode());
//业绩工程的中标通知书,合同,竣工文件
List<TbFileSourceVo> managerList = getFileSourceList(perfItem.getId(),TableType.TB_COMPANY_PERF.getCode());
personList.addAll(managerList);
perfItem.setTbFileSourceVoList(personList);
});
item.setPeoplePerfList(personPerfList);
}
@ -350,6 +359,10 @@ public class StateGridServiceImpl implements StateGridService {
map2.put("remark", item.getRemark() != null ? item.getRemark() : ""); // 备注
if (item.getFileList() != null && !item.getFileList().isEmpty()) {
for (TbFileSourceVo file : item.getFileList()) {
if(!"2".equals(file.getFileType())){
//不是合同文件跳过
continue;
}
Map<String, Object> imgMap = new HashMap<>();
imgMap.put("index", idWorker.nextId());
imgMap.put("width", "481.15");