From 0ff7a8f69570b3fc7418c35f3d6e273ef4f73f20 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 26 七月 2024 10:35:10 +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