mirror of
https://github.com/valitydev/fraudbusters-management.git
synced 2024-11-06 08:25:17 +00:00
fix typo
This commit is contained in:
parent
21d2401f74
commit
40ec866fdd
@ -168,7 +168,7 @@ public class WbListDaoImpl extends AbstractDao implements WbListDao {
|
||||
|
||||
@Override
|
||||
public void removeRottenRecords(LocalDateTime thresholdRotDate) {
|
||||
log.info("WbListDaoImpl remove records older then {}", thresholdRotDate);
|
||||
log.info("WbListDaoImpl remove records older than {}", thresholdRotDate);
|
||||
DeleteConditionStep<WbListRecordsRecord> statement = getDslContext()
|
||||
.delete(WB_LIST_RECORDS)
|
||||
.where(WB_LIST_RECORDS.TIME_TO_LIVE.lessOrEqual(thresholdRotDate));
|
||||
@ -177,7 +177,7 @@ public class WbListDaoImpl extends AbstractDao implements WbListDao {
|
||||
|
||||
@Override
|
||||
public List<WbListRecords> getRottenRecords(LocalDateTime thresholdRotDate) {
|
||||
log.info("WbListDaoImpl getRottenRecords older then {}: ", thresholdRotDate);
|
||||
log.info("WbListDaoImpl getRottenRecords older than {}: ", thresholdRotDate);
|
||||
SelectConditionStep<Record8<String, String, String, ListType, String, String, LocalDateTime, LocalDateTime>>
|
||||
query =
|
||||
getDslContext()
|
||||
|
@ -32,7 +32,7 @@ public class GreyRottenRuleCleanerService {
|
||||
LocalDateTime thresholdRotDate = LocalDateTime.now().minusDays(freshPeriod);
|
||||
List<WbListRecords> rotRecords = wbListDao.getRottenRecords(thresholdRotDate);
|
||||
if (CollectionUtils.isEmpty(rotRecords)) {
|
||||
log.info("Records older then {} not found", thresholdRotDate);
|
||||
log.info("Records older than {} not found", thresholdRotDate);
|
||||
return;
|
||||
}
|
||||
rotRecords.forEach(record -> {
|
||||
|
Loading…
Reference in New Issue
Block a user