fix: 优惠券时间查询问题
This commit is contained in:
parent
a56ceca3c5
commit
81f47a7fb6
@ -103,7 +103,7 @@ public class CouponSearchParams extends BasePromotionsSearchParams implements Se
|
||||
|
||||
}
|
||||
if (this.getStartTime() != null) {
|
||||
queryWrapper.ge("start_time", new Date(this.getEndTime()));
|
||||
queryWrapper.ge("start_time", new Date(this.getStartTime()));
|
||||
}
|
||||
if (this.getEndTime() != null) {
|
||||
queryWrapper.le("end_time", new Date(this.getEndTime()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user