From 6ca23797c5221b37b18247c7a610da70a05913a9 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期二, 23 四月 2024 01:35:28 +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