From 69123c8bf13ccb27539b0475e626c6c95c0ea6bb Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 17 四月 2024 12:29:01 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml b/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
index 0edb96a..4bf4eaa 100644
--- a/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
@@ -33,6 +33,7 @@
<result property="uploadTime" column="upload_time"/>
<result property="tag" column="tag"/>
<result property="pattype" column="pattype"/>
+ <result property="bedNo" column="bedno"/>
</resultMap>
<sql id="selectPatArchiveVo">
@@ -296,7 +297,8 @@
a.create_time,
a.isupload,
a.upload_time,
- a.pattype
+ a.pattype,
+ d.bedno
from pat_archive a,pat_archivetag b ,base_tag c,pat_med_inhosp d
<where>
a.patid = b.patid and b.tagid = c.tagid and a.patid = d.patid
@@ -405,7 +407,7 @@
select
c.tagname as tag,
b.tagid as tagid,
- a.patid,
+ a.patid as id,
a.name,
a.sex,
d.deptname,
--
Gitblit v1.9.3