|
|
@@ -376,7 +376,7 @@ public class Scheduler {
|
|
|
DateTime theTwoPast7dZero = DateUtil.offsetDay(twoYesZero, -daysRule);
|
|
|
//总销量小于1000的 不算、建立天数低于7天的不算、 连续2天销量低于7天平均值的50%的 提醒
|
|
|
List<UserDistributeViews> userDistributeViews = beanSearcher.searchAll(UserDistributeViews.class, MapUtils.builder()
|
|
|
- .field(UserDistributeViews::getCreatedTime, theTwoPast7dZero).op(Operator.LessEqual)
|
|
|
+ .field(UserDistributeViews::getCreatedTime, thePast7dZero).op(Operator.LessEqual)
|
|
|
.field(UserDistribute::getBusinessId, 0).op(Operator.GreaterThan)
|
|
|
.put("time", String.format("and od.created_time < '%s'", thisZero))
|
|
|
.field(UserDistributeViews::getDistributeOrdersMoney, BigDecimal.valueOf(100000)).op(Operator.GreaterEqual)
|