| | |
| | | <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"> |
| | |
| | | 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 |
| | |
| | | select |
| | | c.tagname as tag, |
| | | b.tagid as tagid, |
| | | a.patid, |
| | | a.patid as id, |
| | | a.name, |
| | | a.sex, |
| | | d.deptname, |