From 4e35a10fddb7b50161919fb09e5eace15275ce2f Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期四, 22 十月 2026 15:30:05 +0800
Subject: [PATCH] 用户管理增加机构id,机构名称字段
---
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
index e675831..8f3ebdd 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -225,6 +225,8 @@
<if test="status != null and status != ''">status,</if>
<if test="createBy != null and createBy != ''">create_by,</if>
<if test="remark != null and remark != ''">remark,</if>
+ <if test="orgId != null and orgId != ''">org_id,</if>
+ <if test="orgName != null and orgName != ''">org_name,</if>
<if test="dingUserId != null and dingUserId != ''">ding_user_id,</if>
create_time
)values(
@@ -240,6 +242,8 @@
<if test="status != null and status != ''">#{status},</if>
<if test="createBy != null and createBy != ''">#{createBy},</if>
<if test="remark != null and remark != ''">#{remark},</if>
+ <if test="orgId != null and orgId != ''">#{org_id},</if>
+ <if test="orgName != null and orgName != ''">#{org_name},</if>
<if test="dingUserId != null and dingUserId != ''">#{dingUserId},</if>
sysdate()
)
@@ -263,6 +267,8 @@
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="errorNums != null">error_nums = #{errorNums},</if>
+ <if test="orgId != null">org_id = #{orgId},</if>
+ <if test="orgName != null">org_name = #{orgName},</if>
<if test="dingUserId != null and dingUserId != ''">ding_user_id = #{dingUserId},</if>
update_time = sysdate()
</set>
--
Gitblit v1.9.3