| | |
| | | and id = #{param2.id} |
| | | </if> |
| | | <if test="param2.sceneName != null and param2.sceneName != ''"> |
| | | and scene_name = #{param2.sceneName} |
| | | and scene_name like concat('%', #{param2.sceneName}, '%') |
| | | </if> |
| | | <if test="param2.sceneType != null and param2.sceneType != ''"> |
| | | and scene_type = #{param2.sceneType} |
| | |
| | | and latitude = #{param2.latitude} |
| | | </if> |
| | | <if test="param2.defenseLeader != null and param2.defenseLeader != ''"> |
| | | and defense_leader = #{param2.defenseLeader} |
| | | and defense_leader like concat('%', #{param2.defenseLeader}, '%') |
| | | </if> |
| | | <if test="param2.leaderPhone != null and param2.leaderPhone != ''"> |
| | | and leader_phone = #{param2.leaderPhone} |
| | |
| | | </if> |
| | | <if test="param2.status != null and param2.status != ''"> |
| | | and status = #{param2.status} |
| | | </if> |
| | | <if test="param2.isDeleted != null and param2.isDeleted != ''"> |
| | | and is_deleted = #{param2.isDeleted} |
| | | </if> |
| | | </where> |
| | | </select> |