修改支付时间判断大小时的格式
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
left join user u on u.id = ucb.user_id
|
||||
left join course c on c.id = ucb.course_id
|
||||
left join course_catalogue cc on cc.id = ucb.catalogue_id
|
||||
where ucbl.del_flag = 0 and ucbl.pay_time <= #{date}
|
||||
where ucbl.del_flag = 0 and DATE_FORMAT(ucbl.pay_time,'%Y-%m-%d') <= #{date}
|
||||
order by ucb.id
|
||||
) t) s) q) w
|
||||
</select>
|
||||
@@ -60,7 +60,7 @@
|
||||
left join user u on u.id = ucb.user_id
|
||||
left join course c on c.id = ucb.course_id
|
||||
left join course_catalogue cc on cc.id = ucb.catalogue_id
|
||||
where ucbl.del_flag = 0 and ucbl.pay_time <= #{date}
|
||||
where ucbl.del_flag = 0 and DATE_FORMAT(ucbl.pay_time,'%Y-%m-%d') <= #{date}
|
||||
order by ucbl.pay_time
|
||||
) t) s) q) w
|
||||
) e
|
||||
|
||||
Reference in New Issue
Block a user