Browse Source

组内成员加入时间错误

dev_shibei_match
jianjun 4 years ago
parent
commit
6ee247dfc0
  1. 4
      epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/modules/group/service/impl/StatsAchievementServiceImpl.java

4
epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/modules/group/service/impl/StatsAchievementServiceImpl.java

@ -99,7 +99,7 @@ public class StatsAchievementServiceImpl extends AbstractStatsAchievementService
buildAchievementEntityList(customerId, groupId, AchievementTypeEnum.MEMBER.getCode(), groupMemberList.size(), null, memberArriveList);
//设置实际达到成就时间 最后一条为未实现 所以-1
for (int j = 0; j < memberArriveList.size() - 1; j++) {
memberArriveList.get(j).setArriveTime(groupEntities.get(j).getCreatedTime());
memberArriveList.get(j).setArriveTime(groupMemberList.get(j).getCreatedTime());
}
saveOrUpdate(memberArriveList, true);
}
@ -126,7 +126,7 @@ public class StatsAchievementServiceImpl extends AbstractStatsAchievementService
//设置实际达到成就时间 最后一条为未实现 所以-1
for (int j = 0; j < toIssueArriveList.size() - 1; j++) {
toIssueArriveList.get(j).setArriveTime(issueCreateTimeMap.getOrDefault(toIssueTopicList.get(j).getIssueId(),new Date()));
toIssueArriveList.get(j).setArriveTime(issueCreateTimeMap.getOrDefault(toIssueTopicList.get(j).getIssueId(), new Date()));
}
//2.6 计算出 话题被解决 达到的成就

Loading…
Cancel
Save