Kaynağa Gözat

病案首页手术按序号排序

lighter 6 ay önce
ebeveyn
işleme
4dcb130344

+ 1 - 1
src/main/java/thyyxxk/webserver/dao/his/inpatient/casefrontsheet/CaseFrontSheetDao.java

@@ -273,7 +273,7 @@ public interface CaseFrontSheetDao extends BaseMapper<CaseFrontsheetMain> {
             "assistantTwoName=(select rtrim(name) from a_employee_mi with(nolock) where code=sszs2)," +
             "cut=rtrim(qkjb),heal=rtrim(yhqk),anaesthesia=rtrim(mzff)," +
             "anaesthesiaorName=(select rtrim(name) from a_employee_mi with(nolock) where code=mzys) " +
-            "from batj_ba4 with(nolock) where bah=#{bah} and zycs=#{times}")
+            "from batj_ba4 with(nolock) where bah=#{bah} and zycs=#{times} order by ssxh")
     List<CaseFrontsheetSurgery> getSurgeries(String bah, int times);
 
     @Select("select top 1 rtrim(yb_code) as code,rtrim(yb_name) as name from zd_icd9_cm3 where code=#{code}")