Browse Source

made项目立项给80

master
zxc 4 years ago
parent
commit
bb50edf9cc
  1. 2
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/ProjectSatisfactionStatisticsServiceImpl.java

2
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/ProjectSatisfactionStatisticsServiceImpl.java

@ -142,7 +142,7 @@ public class ProjectSatisfactionStatisticsServiceImpl extends BaseServiceImpl<Pr
ProjectEntity projectEntity = projectDao.selectById(formDTO.getProjectId());
if (projectEntity.getOrigin().equals(ProjectConstant.AGENCY)){
// 直接立项的项目不能评价,所以给0分
return new ProjectEvaluateScoreResultDTO(NumConstant.ZERO);
return new ProjectEvaluateScoreResultDTO(NumConstant.EIGHTY);
}
ProjectSatisfactionStatisticsEntity entity = baseDao.selectInfoByProjectId(formDTO.getProjectId());
Integer realEvalCount = entity.getBadCount() + entity.getGoodCount() + entity.getPerfectCount();

Loading…
Cancel
Save