timeSliceQuery
This commit is contained in:
parent
5e43a7d6d2
commit
4099f7eca0
|
|
@ -2,7 +2,6 @@ package timeslicequery
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/go-kratos/kratos/v2/log"
|
|
||||||
"voucher/internal/biz/bo"
|
"voucher/internal/biz/bo"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -40,7 +39,6 @@ func (v *Query) queryUsed(ctx context.Context, order *bo.OrderBo, notifyNum *int
|
||||||
func (v *Query) queryExpired(ctx context.Context, order *bo.OrderBo) error {
|
func (v *Query) queryExpired(ctx context.Context, order *bo.OrderBo) error {
|
||||||
|
|
||||||
if order.Status.IsExpired() {
|
if order.Status.IsExpired() {
|
||||||
log.Warnf("券状态已是已过期,忽略不处理,orderNo:%s", order.OrderNo)
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue