Commit 412a09fe authored by licc's avatar licc

优化最大进步奖

parent ebc0dbf0
...@@ -739,7 +739,7 @@ public class MonthTaskServiceImpl implements MonthTaskService { ...@@ -739,7 +739,7 @@ public class MonthTaskServiceImpl implements MonthTaskService {
String yearMonth = DateUtil.convertDateToStr(lastMonth, PATTERN); String yearMonth = DateUtil.convertDateToStr(lastMonth, PATTERN);
List<ProgressPrize> addList = new ArrayList<>(); List<ProgressPrize> addList = new ArrayList<>();
List<ProgressPrize> updateList = new ArrayList<>(); List<ProgressPrize> updateList = new ArrayList<>();
if (number > 0) {
for (TeamPerformanceSortVo teamPerformanceSortVo : listVo) { for (TeamPerformanceSortVo teamPerformanceSortVo : listVo) {
String userId = teamPerformanceSortVo.getTeamPerformance().getUserId(); String userId = teamPerformanceSortVo.getTeamPerformance().getUserId();
Integer userLevel = teamPerformanceSortVo.getTeamPerformance().getUserLevel(); Integer userLevel = teamPerformanceSortVo.getTeamPerformance().getUserLevel();
...@@ -787,4 +787,6 @@ public class MonthTaskServiceImpl implements MonthTaskService { ...@@ -787,4 +787,6 @@ public class MonthTaskServiceImpl implements MonthTaskService {
int flag = 2; int flag = 2;
return accountManager.updateOrSavePrize(updateAccountList, prizes, addList, updateList, flag); return accountManager.updateOrSavePrize(updateAccountList, prizes, addList, updateList, flag);
} }
return true;
}
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment