From c426fdcccb92bc3ac22c7eb4e34c50ce78e59a55 Mon Sep 17 00:00:00 2001 From: Administrator <1144154118@qq.com> Date: 星期四, 03 八月 2023 10:15:20 +0800 Subject: [PATCH] 巡检计划条件查询 --- ard-work/src/main/resources/mapper/app/ArdAppPatrolplanMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ard-work/src/main/resources/mapper/app/ArdAppPatrolplanMapper.xml b/ard-work/src/main/resources/mapper/app/ArdAppPatrolplanMapper.xml index ad01b9c..59c3331 100644 --- a/ard-work/src/main/resources/mapper/app/ArdAppPatrolplanMapper.xml +++ b/ard-work/src/main/resources/mapper/app/ArdAppPatrolplanMapper.xml @@ -21,11 +21,11 @@ <select id="selectArdAppPatrolplanList" parameterType="ArdAppPatrolplan" resultMap="ArdAppPatrolplanResult"> <include refid="selectArdAppPatrolplanVo"/> <where> - <if test="patroEndTime != null and patroEndTime != ''"> and patro_end_time = #{patroEndTime}</if> <if test="userId != null and userId != ''"> and user_id = #{userId}</if> <if test="cycle != null and cycle != ''"> and cycle = #{cycle}</if> <if test="planName != null and planName != ''"> and plan_name like '%'||#{planName}||'%'</if> - <if test="patroBeginTime != null and patroBeginTime != ''"> and patro_begin_time = #{patroBeginTime}</if> + <if test="patroBeginTime != null and patroBeginTime != ''"> and patro_begin_time >= #{patroBeginTime}</if> + <if test="patroEndTime != null and patroEndTime != ''"> and patro_end_time <= #{patroEndTime}</if> </where> </select> -- Gitblit v1.9.3