xuhy
2025-07-16 a0070809b2344266608de9f8c9ac5c8ce1c31a8c
ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/mongodb/service/impl/BillingModeVerifyReplyServiceImpl.java
@@ -34,12 +34,12 @@
    
    
    /**
     * 定时任务删除6个月前的数据
     * 定时任务删除2个月前的数据
     */
    @Override
    public void taskDelete() {
        Query query = new Query();
        query.addCriteria(Criteria.where("create_time").lt(LocalDateTime.now().minusMonths(6)));
        query.addCriteria(Criteria.where("create_time").lt(LocalDateTime.now().minusMonths(2)));
        mongoTemplate.remove(query, BillingModeVerifyReply.class);
    }
}