|
|
@ -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(); |
|
|
|