From 3c46b264b86bb38984370f685c6866c5f7784808 Mon Sep 17 00:00:00 2001 From: zhs <zhs18203887318@163.com> Date: 星期三, 16 四月 2025 21:42:39 +0800 Subject: [PATCH] 04-16改_手术病人分页and患者信息子页面时间查询 --- 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