From 1e7d910d1456e47e07d656211adc6400dd40f734 Mon Sep 17 00:00:00 2001 From: wangsixiang <2970484253@qq.com> Date: Wed, 27 Mar 2024 14:26:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=8A=E8=AD=A6=E4=BA=8B=E4=BB=B6=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=BA=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/business/DcPerceivedEventsWarningMapper.xml | 1 + .../src/main/resources/mapper/business/DcWarningMapper.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml b/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml index 2891c83f..cee18a76 100644 --- a/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml +++ b/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 warning.warning_source !=6 + and warning.warning_source = #{warningSource} and warning.warning_state = #{warningState} and warning.warning_type = #{warningType} and warning.warning_subclass = #{warningSubclass} diff --git a/zc-business/src/main/resources/mapper/business/DcWarningMapper.xml b/zc-business/src/main/resources/mapper/business/DcWarningMapper.xml index 21aff783..71b2db5a 100644 --- a/zc-business/src/main/resources/mapper/business/DcWarningMapper.xml +++ b/zc-business/src/main/resources/mapper/business/DcWarningMapper.xml @@ -162,7 +162,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - update dc_warning set other_config=#{otherConfig} where id=#{id} + update dc_warning set other_config=#{otherConfig},update_time=now() where id=#{id}