diff --git a/rule/consume_integral_settlement.go b/rule/consume_integral_settlement.go index a1dbb26..0ed4fcd 100644 --- a/rule/consume_integral_settlement.go +++ b/rule/consume_integral_settlement.go @@ -67,7 +67,7 @@ func DailySettlementBlockConsumeIntegral(engine *xorm.Engine, mid string, isTask _ = session.Rollback() return err } - if subsidyBase.SettlementDate == today { + if isTask && subsidyBase.SettlementDate == today { _ = session.Rollback() return errors.New("今日“消费计费”已结算") }