Commit 75694368 by jianan

去除集合中为null的元素

parent e1e565ac
...@@ -230,6 +230,7 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService { ...@@ -230,6 +230,7 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService {
//批量更新需要修改的fortune记录 //批量更新需要修改的fortune记录
customerFortuneDalService.updateBatch(fortuneUpdates); customerFortuneDalService.updateBatch(fortuneUpdates);
//重新计算受到影响的withdraw //重新计算受到影响的withdraw
withdrawUpdateIds.removeAll(Collections.singleton(null));
if (!withdrawUpdateIds.isEmpty()){ if (!withdrawUpdateIds.isEmpty()){
Collections.sort(withdrawUpdateIds); Collections.sort(withdrawUpdateIds);
} }
......
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