Commit 6f80fb86103aa7d722c2ab56d7aa16215eafa8e5
1 parent
3fdab5951c
Exists in
master
修改末次高危sql
Showing 1 changed file with 1 additions and 1 deletions
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/diagnose/DiagnoseInfoMapper.xml
View file @
6f80fb8
| ... | ... | @@ -93,7 +93,7 @@ |
| 93 | 93 | |
| 94 | 94 | |
| 95 | 95 | <select id="getLastHighrisk" resultType="HighriskConf"> |
| 96 | - select c.* from ( | |
| 96 | + select c.id,c.SOURCE_ID,c.VERSION_ID,c.NAME,c.colorcode,c.colortext,c.grouporder,c.itemorder,c.grade,c.ENABLE from ( | |
| 97 | 97 | select m.* from HIGHRISK_MAPS m where m.DIAGNOSE_ID in ( |
| 98 | 98 | select id from ( |
| 99 | 99 | select * from DIAGNOSE_INFO d where d.person_id = #{personId} and d.HAS_HIGHRISK = 1 ORDER BY d.DIAGNOSE_TIME desc limit 0,1 |