From 10de56ca16261e6a4eec49dfd32f0a6b232f7baf Mon Sep 17 00:00:00 2001 From: 晏有为 <13214124+yan-youwei@user.noreply.gitee.com> Date: 星期四, 23 五月 2024 19:05:08 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-after --- cnas-server/src/main/resources/mapper/DepartmentMapper.xml | 11 ----------- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/cnas-server/src/main/resources/mapper/DepartmentMapper.xml b/cnas-server/src/main/resources/mapper/DepartmentMapper.xml index f0a3326..ad9d0f4 100644 --- a/cnas-server/src/main/resources/mapper/DepartmentMapper.xml +++ b/cnas-server/src/main/resources/mapper/DepartmentMapper.xml @@ -6,17 +6,6 @@ FROM department </select> - <select id="showUserById" resultType="com.yuanchu.mom.dto.UserDto"> - select * from (select id, name, age, email, phone,depart_id - from user where state=1 and SUBSTRING_INDEX(depart_id, ',', -1) in - <foreach collection="ids" item="id" separator="," open="(" close=")"> - #{id} - </foreach> ) a - <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''"> - ${ew.customSqlSegment} - </if> - </select> - <select id="selectSonById" resultType="java.lang.Integer"> SELECT au.id FROM (SELECT * FROM department WHERE father_id IS NOT NULL) au, -- Gitblit v1.9.3