From b28126cc4331998f4debc0e27081a44f81009b3c Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期一, 15 九月 2025 10:55:41 +0800
Subject: [PATCH] 出院过率条件改成inhospstate=1
---
smartor/src/main/resources/mapper/smartor/SysUserDeptMapper.xml | 14 +++++++++-----
1 files changed, 9 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..a9dbac8 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,9 @@
</if>
<if test="deptName != null ">
dept_name,
- </if> <if test="orgid != null ">
- orgid,
+ </if>
+ <if test="orgid != null ">
+ orgid,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
@@ -127,7 +129,8 @@
</if>
<if test="deptName != null ">
#{deptName},
- </if><if test="orgid != null ">
+ </if>
+ <if test="orgid != null ">
#{orgid},
</if>
</trim>
@@ -159,8 +162,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