From 01bbc8f0563b33dd5ce6d59f76c3bae9931615dd Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 05 六月 2024 17:32:07 +0800
Subject: [PATCH] 代码提交

---
 smartor/src/main/resources/mapper/smartor/ServiceThirdDataMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/ServiceThirdDataMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceThirdDataMapper.xml
index 3b79ba3..d2518d2 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceThirdDataMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceThirdDataMapper.xml
@@ -106,7 +106,9 @@
         update service_third_data
         <trim prefix="SET" suffixOverrides=",">
             is_deal=1,
-            user_info_id=#{userInfoId}
+            <if test="userInfoId != null">
+                user_info_id=#{userInfoId}
+            </if>
             <if test="remark != null  and remark != ''">remark = #{remark}</if>
         </trim>
         where id = #{id}

--
Gitblit v1.9.3