diff --git a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/service/team/team/impl/TeamBillCycleServiceImpl.java b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/service/team/team/impl/TeamBillCycleServiceImpl.java index 0376b2bd..f132ceeb 100644 --- a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/service/team/team/impl/TeamBillCycleServiceImpl.java +++ b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/service/team/team/impl/TeamBillCycleServiceImpl.java @@ -465,7 +465,7 @@ public class TeamBillCycleServiceImpl implements TeamBillCycleService { // 将小于当前账期的 UNPAID 状态改为 PAY_OUT mongoTemplate.updateMulti( Query.query( - Criteria.where("billBelong").lt(billBelong) + Criteria.where("billBelong").lte(billBelong) .and("status").is(TeamBillCycleStatus.UNPAID)), new Update() .set("updateTime", TimestampUtils.now())