diff --git a/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml b/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml index 1e914102..ff92da8a 100644 --- a/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml +++ b/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_facility as facility on facility.stake_mark=warning.stake_mark and facility.facility_type=1 + and facility.facility_name like concat('%', #{facilityName}, '%') and warning.warning_source = #{warningSource} and warning.warning_state = #{warningState} and warning.warning_type = #{warningType}