mirror of
https://gitee.com/elegant_wings/dbd-meeting.git
synced 2025-06-21 17:09:36 +08:00
20250523-预约记录页面1.筛选加日期选择范围,2.前面列表加序号
This commit is contained in:
parent
472c137cff
commit
933534dab2
@ -28,6 +28,16 @@ public class MeetingRecordVo implements Serializable {
|
||||
*/
|
||||
private String filterDate;
|
||||
|
||||
/**
|
||||
* 查询起始日期(yyyy-MM-dd)
|
||||
*/
|
||||
private String startDate;
|
||||
|
||||
/**
|
||||
* 查询结束日期(yyyy-MM-dd)
|
||||
*/
|
||||
private String endDate;
|
||||
|
||||
private Long id;
|
||||
|
||||
/** 预约号 */
|
||||
|
@ -119,7 +119,12 @@
|
||||
<if test="device != null and device != ''"> AND room.device LIKE CONCAT('%', #{device}, '%')</if>
|
||||
<if test="capacityNum != null"> AND capacity_num <= #{capacityNum}</if>
|
||||
<if test="status != null"> AND status = #{status}</if>
|
||||
<if test="filterDate != null and filterDate != ''"> AND start LIKE CONCAT(#{filterDate}, '%')</if>
|
||||
<if test="startDate != null and startDate != '' and endDate != null and endDate != ''">
|
||||
AND (start >= CONCAT(#{startDate}, ' 00:00:00') AND start <= CONCAT(#{endDate}, ' 23:59:59'))
|
||||
</if>
|
||||
<if test="filterDate != null and filterDate != '' and (startDate == null or startDate == '')">
|
||||
AND start LIKE CONCAT(#{filterDate}, '%')
|
||||
</if>
|
||||
<if test="ext1 != null and ext1 != ''"> AND mr.ext1 is null</if>
|
||||
<choose>
|
||||
<when test="sort != null and sort == 'create'"> order by mr.create_time desc,status</when>
|
||||
|
Loading…
x
Reference in New Issue
Block a user