Browse Source

告警事件搜索源问题

develop
wangsixiang 11 months ago
parent
commit
1e7d910d14
  1. 1
      zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml
  2. 2
      zc-business/src/main/resources/mapper/business/DcWarningMapper.xml

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

@ -39,6 +39,7 @@
left join dc_facility as facility on facility.stake_mark=warning.stake_mark
<where>
warning.warning_source !=6
<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="warningType != null and warningType != ''"> and warning.warning_type = #{warningType}</if>
<if test="warningSubclass != null and warningSubclass != ''"> and warning.warning_subclass = #{warningSubclass}</if>

2
zc-business/src/main/resources/mapper/business/DcWarningMapper.xml

@ -162,7 +162,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</update>
<update id="updateOtherConfig">
update dc_warning set other_config=#{otherConfig} where id=#{id}
update dc_warning set other_config=#{otherConfig},update_time=now() where id=#{id}
</update>
<delete id="deleteDcWarningById" parameterType="Integer">

Loading…
Cancel
Save