From fe47ff909096722ba8e9172c3e1f0f7910b16909 Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期二, 21 十月 2025 14:49:18 +0800
Subject: [PATCH] 结束出院日期格式
---
smartor/src/main/resources/mapper/smartor/SysUserDeptMapper.xml | 20 +++++++++++++++-----
1 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/SysUserDeptMapper.xml b/smartor/src/main/resources/mapper/smartor/SysUserDeptMapper.xml
index 3cc633b..0608f36 100644
--- a/smartor/src/main/resources/mapper/smartor/SysUserDeptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SysUserDeptMapper.xml
@@ -46,6 +46,7 @@
<include refid="selectSysUserDeptVo"/>
<where>
del_flag=0
+ and orgid=#{orgid}
<if test="userId != null ">
and user_id = #{userId}
</if>
@@ -101,8 +102,12 @@
</if>
<if test="deptName != null ">
dept_name,
- </if> <if test="orgid != null ">
- orgid,
+ </if>
+ <if test="orgid != null ">
+ orgid,
+ </if>
+ <if test="userCode != null ">
+ user_code,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
@@ -127,8 +132,12 @@
</if>
<if test="deptName != null ">
#{deptName},
- </if><if test="orgid != null ">
+ </if>
+ <if test="orgid != null ">
#{orgid},
+ </if>
+ <if test="userCode != null ">
+ #{userCode},
</if>
</trim>
</insert>
@@ -159,8 +168,9 @@
</if>
<if test="deptName != null ">
dept_name = #{deptName},
- </if> <if test="orgid != null ">
- orgid = #{orgid},
+ </if>
+ <if test="orgid != null ">
+ orgid = #{orgid},
</if>
</trim>
where id = #{id}
--
Gitblit v1.9.3