| | |
| | | OR t1.note LIKE CONCAT(CONCAT('%', #{keyword}), '%') |
| | | OR t3.pole_code LIKE CONCAT(CONCAT('%', #{keyword}), '%') |
| | | </if> |
| | | <if test="clientId != null"> |
| | | AND t3.client_id = #{clientId} |
| | | </if> |
| | | <if test="bindingState != 2"> |
| | | AND t1.binding_state = #{bindingState} |
| | | </if> |
| | | <if test="equipmentState != 2"> |
| | | AND t1.equipment_state = #{equipmentState} |
| | | </if> |
| | | <if test="userid != null"> |
| | | AND (t3.user_id = #{userid} OR t3.client_id = #{userid}) |
| | | </if> |
| | | </where> |
| | | </select> |
| | | <select id="listMonitorDeviceSerial" resultType="java.lang.String"> |