| | |
| | | <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="patroEndTime != null and patroEndTime != ''"> and patro_end_time <= #{patroEndTime}</if> |
| | | <if test="createTimeBegin != null and createTimeBegin != ''"> and ard_app_patrolplan.create_time >= #{createTimeBegin} </if> |
| | | <if test="createTimeEnd != null and createTimeEnd != ''"> and ard_app_patrolplan.create_time <= #{createTimeEnd}</if> |
| | | <if test="wellId != null and wellId != ''"> |
| | | <!-- and well.alarmpoints_id in (select ard_alarmpoints_well.id from ard_alarmpoints_well where well_id = #{wellId})--> |
| | | and well.alarmpoints_id = #{wellId} |