Browse Source

非机预警-事件列表增加收费站搜索条件

develop
Mr.Wang 6 months ago
parent
commit
9bd8a1fd98
  1. 1
      zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml

1
zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml

@ -70,6 +70,7 @@
left JOIN dc_stake_mark AS mark ON mark.stake_mark=warning.stake_mark and mark.direction=warning.direction left JOIN dc_stake_mark AS mark ON mark.stake_mark=warning.stake_mark and mark.direction=warning.direction
left join dc_facility as facility on facility.stake_mark=warning.stake_mark and facility.facility_type=1 left join dc_facility as facility on facility.stake_mark=warning.stake_mark and facility.facility_type=1
<where> <where>
<if test="facilityName != null and facilityName != ''"> and facility.facility_name like concat('%', #{facilityName}, '%')</if>
<if test="warningSource != null and warningSource != ''"> and warning.warning_source = #{warningSource}</if> <if test="warningSource != null and warningSource != ''"> and warning.warning_source = #{warningSource}</if>
<if test="warningState != null and warningState != ''"> and warning.warning_state = #{warningState}</if> <if test="warningState != null and warningState != ''"> and warning.warning_state = #{warningState}</if>
<if test="warningType != null and warningType != ''"> and warning.warning_type = #{warningType}</if> <if test="warningType != null and warningType != ''"> and warning.warning_type = #{warningType}</if>

Loading…
Cancel
Save