| | |
| | | and id = #{param2.id} |
| | | </if> |
| | | <if test="param2.stationName != null and param2.stationName != ''"> |
| | | and station_name = #{param2.stationName} |
| | | and station_name like concat('%', #{param2.stationName}, '%') |
| | | </if> |
| | | <if test="param2.address != null and param2.address != ''"> |
| | | and address = #{param2.address} |
| | | and address like concat('%', #{param2.address}, '%') |
| | | </if> |
| | | <if test="param2.longitude != null and param2.longitude != ''"> |
| | | and longitude = #{param2.longitude} |
| | |
| | | and latitude = #{param2.latitude} |
| | | </if> |
| | | <if test="param2.contactPerson != null and param2.contactPerson != ''"> |
| | | and contact_person = #{param2.contactPerson} |
| | | and contact_person like concat('%', #{param2.contactPerson}, '%') |
| | | </if> |
| | | <if test="param2.contactPhone != null and param2.contactPhone != ''"> |
| | | and contact_phone = #{param2.contactPhone} |
| | |
| | | </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> |