From 6ed96560a308d3aade30e76e3112217f42508af7 Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期五, 19 九月 2025 09:08:29 +0800
Subject: [PATCH] 丽水获取token url获取改成sys_config表动态设置

---
 smartor/src/main/resources/mapper/smartor/SysUserMapper.xml |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/SysUserMapper.xml b/smartor/src/main/resources/mapper/smartor/SysUserMapper.xml
index a5369ee..61c5238 100644
--- a/smartor/src/main/resources/mapper/smartor/SysUserMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SysUserMapper.xml
@@ -136,8 +136,8 @@
         <if test="title != null and title != ''">
             AND u.title = #{title}
         </if>
-        <if test="job_phone != null and job_phone != ''">
-            AND u.job_phone = #{job_phone}
+        <if test="jobPhone != null and jobPhone != ''">
+            AND u.job_phone = #{jobPhone}
         </if>
         <if test="birthday != null and birthday != ''">
             AND u.birthday = #{birthday}
@@ -280,6 +280,8 @@
         <if test="hisUserId != null and hisUserId != ''">his_user_id,</if>
         <if test="guid != null and guid != ''">guid,</if>
         <if test="orgid != null and orgid != ''">orgid,</if>
+        <if test="deptCode != null and deptCode != ''">dept_code,</if>
+        <if test="deptName != null and deptName != ''">dept_name,</if>
         create_time
         )values(
         <if test="userId != null and userId != ''">#{userId},</if>
@@ -305,6 +307,8 @@
         <if test="hisUserId != null and hisUserId != ''">#{hisUserId},</if>
         <if test="guid != null and guid != ''">#{guid},</if>
         <if test="orgid != null and orgid != ''">#{orgid},</if>
+        <if test="deptCode != null and deptCode != ''">#{deptCode},</if>
+        <if test="deptName != null and deptName != ''">#{deptName},</if>
         sysdate()
         )
     </insert>

--
Gitblit v1.9.3