项目列表查询bug修改

This commit is contained in:
dxc
2021-04-20 11:16:11 +08:00
parent 6f788ef825
commit 7b1745ab01

View File

@ -519,7 +519,7 @@ public class ProjectSectionServiceImpl extends BaseServiceImpl<ProjectSectionMap
ProjectExceptionEnum.FRAME_EXCEPTION_PROJECT_SECTION_NOT_FIND.customValid(null == record);
for (ProjectSection section:sectionList) {
ProjectSectionVO vo = BeanUtil.toBean(section,ProjectSectionVO.class);
Long applyCount = (null == resultMap.get(vo.getId()))? resultMap.get(vo.getId()) : 0L;
Long applyCount = (null != resultMap.get(vo.getId()))? resultMap.get(vo.getId()) : 0L;
vo.setApplyCount(applyCount);
recordService.getLinkPercentage(vo,BeanUtil.toBean(record, ProjectRecordVO.class));
resultList.add(vo);