From f360d164d924eddb4ca5ee914ed5879f972cb47b Mon Sep 17 00:00:00 2001 From: 李林 <z1292839451@163.com> Date: 星期六, 06 四月 2024 17:48:13 +0800 Subject: [PATCH] 检验任务的缺漏代码 --- cnas-server/src/main/resources/mapper/LaboratoryMapper.xml | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/cnas-server/src/main/resources/mapper/LaboratoryMapper.xml b/cnas-server/src/main/resources/mapper/LaboratoryMapper.xml index d4da968..e750909 100644 --- a/cnas-server/src/main/resources/mapper/LaboratoryMapper.xml +++ b/cnas-server/src/main/resources/mapper/LaboratoryMapper.xml @@ -13,7 +13,7 @@ laboratory_number, phone_number, head, - address, + l.address, u1.name create_user_name, l.create_time from laboratory l @@ -23,4 +23,20 @@ ${ew.customSqlSegment} </if> </select> + + <select id="obtainItemParameterList" resultType="java.lang.Object"> + select * from + ( + select l.id, + laboratory_name, + laboratory_number, + phone_number, + head, + l.address, + u1.name create_user_name, + l.create_time + from laboratory l + left join user u1 on l.create_user = u1.id + ) a + </select> </mapper> -- Gitblit v1.9.3