修复清除无效索引时的异常。某些情况下新建用户会创建两条member_wallet数据。优化代码。

This commit is contained in:
paulGao
2021-12-27 14:38:45 +08:00
parent 2af334d793
commit 9bf1dbe030
7 changed files with 23 additions and 26 deletions

View File

@@ -44,7 +44,7 @@ public class PromotionEverydayExecute implements EveryDayExecute {
*/
@Override
public void execute() {
//查询条件
//清除所以商品索引的无效促销活动
this.esGoodsIndexService.cleanInvalidPromotion();
//定时创建活动
addSeckill();