|
|
@ -241,14 +241,6 @@ public class StatsAchievementServiceImpl extends AbstractStatsAchievementService |
|
|
|
if (currentValue >= targetValue) { |
|
|
|
isBatch = true; |
|
|
|
buildAchievementEntityList(customerId, groupId, achievementType, currentValue, one.getTargetValue(), haveArrive); |
|
|
|
|
|
|
|
// boolean isContinue;
|
|
|
|
// int pageNum = NumConstant.ONE;
|
|
|
|
// int pageSize = NumConstant.TEN;
|
|
|
|
// do {
|
|
|
|
// List<ResiGroupAchievementConfigEntity> list = getConfigByType(achievementType, pageNum++, pageSize);
|
|
|
|
// isContinue = buildArriveList(customerId, groupId, achievementType, currentValue, one.getTargetValue(), haveArrive, list);
|
|
|
|
// } while (isContinue);
|
|
|
|
} |
|
|
|
|
|
|
|
if (isBatch) { |
|
|
@ -270,7 +262,6 @@ public class StatsAchievementServiceImpl extends AbstractStatsAchievementService |
|
|
|
* @date 2021/4/23 6:20 下午 |
|
|
|
*/ |
|
|
|
private void initAchievementStat(String customerId, String groupId, String achievementType, int currentValue, List<ResiGroupAchievementStatsEntity> haveArrive) { |
|
|
|
|
|
|
|
buildAchievementEntityList(customerId, groupId, achievementType, currentValue, null, haveArrive); |
|
|
|
if (CollectionUtils.isEmpty(haveArrive)) { |
|
|
|
throw new RenException("小组达成成就失败"); |
|
|
|