fix: 优惠券时间查询问题
This commit is contained in:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user