| | |
| | | <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> |
| | | |