Browse Source

Merge remote-tracking branch 'origin/dev'

dev_shibei_match
yinzuomei 4 years ago
parent
commit
95b061e4f5
  1. 6
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/ProjectServiceImpl.java

6
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/ProjectServiceImpl.java

@ -719,9 +719,10 @@ public class ProjectServiceImpl extends BaseServiceImpl<ProjectDao, ProjectEntit
// 项目评价初始化信息插入
// 应评价数 = 话题创建者 + 议题发起者 + 议题表决人 【去重】
// 议题发起者 和 议题表决人 和 话题创建者 查询
if (projectEntity.getOrigin().equals(ProjectConstant.ISSUE)) {
Result<List<String>> canEvaluateProjectCount = govIssueOpenFeignClient.canEvaluateProjectCount(projectEntity.getOriginId());
if (!canEvaluateProjectCount.success()){
throw new RenException("【查询项目应评价人数失败】,【"+canEvaluateProjectCount.getMsg()+"】");
if (!canEvaluateProjectCount.success()) {
throw new RenException("【查询项目应评价人数失败】,【" + canEvaluateProjectCount.getMsg() + "】");
}
List<String> userIds = canEvaluateProjectCount.getData();
ProjectSatisfactionStatisticsEntity entity1 = new ProjectSatisfactionStatisticsEntity();
@ -734,6 +735,7 @@ public class ProjectServiceImpl extends BaseServiceImpl<ProjectDao, ProjectEntit
// 新添一条记录
statisticsDao.insert(entity1);
}
}
@Override
@Transactional(rollbackFor = Exception.class)

Loading…
Cancel
Save