|
@@ -302,7 +302,7 @@ public class Scheduler {
|
|
|
public void assignNeedUpdateExpiredAccount() {
|
|
public void assignNeedUpdateExpiredAccount() {
|
|
|
DateTime beginOfDay = DateUtil.beginOfDay(DateTime.now());
|
|
DateTime beginOfDay = DateUtil.beginOfDay(DateTime.now());
|
|
|
List<AccountView> accountViews = beanSearcher.searchAll(AccountView.class, MapUtils.builder()
|
|
List<AccountView> accountViews = beanSearcher.searchAll(AccountView.class, MapUtils.builder()
|
|
|
- .field(AccountView::getExpiryCount, 0).op(Operator.GreaterThan)
|
|
|
|
|
|
|
+ .field(AccountView::getExpiredAll, 1)
|
|
|
.field(AccountView::getCustomerServiceId, 0)
|
|
.field(AccountView::getCustomerServiceId, 0)
|
|
|
.put("yesTime", String.format("and ur.created_time < '%s'", beginOfDay))
|
|
.put("yesTime", String.format("and ur.created_time < '%s'", beginOfDay))
|
|
|
.build());
|
|
.build());
|