From 599b942446bb8bfc1f6d12c1fcb22a5e95398b37 Mon Sep 17 00:00:00 2001
From: 李林 <z1292839451@163.com>
Date: 星期三, 13 三月 2024 16:12:39 +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