南网,epc和国网模板下載更新
This commit is contained in:
parent
6eb3015cac
commit
f04edba23f
|
|
@ -247,6 +247,15 @@ public class StateGridServiceImpl implements StateGridService {
|
||||||
String[] split = perfId.split(",");
|
String[] split = perfId.split(",");
|
||||||
tbCompanyPerfVo.setPerfIds(Arrays.asList(split));
|
tbCompanyPerfVo.setPerfIds(Arrays.asList(split));
|
||||||
List<TbCompanyPerfVo> personPerfList = tbCompanyPerfMapper.getTbCompanyPerfListByPersonId(tbCompanyPerfVo);
|
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);
|
item.setPeoplePerfList(personPerfList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -350,6 +359,10 @@ public class StateGridServiceImpl implements StateGridService {
|
||||||
map2.put("remark", item.getRemark() != null ? item.getRemark() : ""); // 备注
|
map2.put("remark", item.getRemark() != null ? item.getRemark() : ""); // 备注
|
||||||
if (item.getFileList() != null && !item.getFileList().isEmpty()) {
|
if (item.getFileList() != null && !item.getFileList().isEmpty()) {
|
||||||
for (TbFileSourceVo file : item.getFileList()) {
|
for (TbFileSourceVo file : item.getFileList()) {
|
||||||
|
if(!"2".equals(file.getFileType())){
|
||||||
|
//不是合同文件跳过
|
||||||
|
continue;
|
||||||
|
}
|
||||||
Map<String, Object> imgMap = new HashMap<>();
|
Map<String, Object> imgMap = new HashMap<>();
|
||||||
imgMap.put("index", idWorker.nextId());
|
imgMap.put("index", idWorker.nextId());
|
||||||
imgMap.put("width", "481.15");
|
imgMap.put("width", "481.15");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue