From b364530ee03f8b28b64863f6a633daf05dc94e91 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期三, 18 十二月 2024 15:55:19 +0800 Subject: [PATCH] 查询站点的检验时长+产量工时bug+检验任务提交撤销+首页待办查最近七天的信息+高低温检验增加检验表字段 --- cnas-server/src/main/resources/mapper/DepartmentMapper.xml | 14 +++----------- 1 files changed, 3 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..463e3ba 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, @@ -29,4 +18,7 @@ WHERE id = #{id} ORDER BY id </select> + <select id="selectCustomList" resultType="com.yuanchu.mom.dto.DepartmentDto"> + select id, name, category fatherId from role; + </select> </mapper> -- Gitblit v1.9.3