|
|
@@ -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}")
|