Explorar el Código

人工添加的规则排在前面

zhoutg hace 5 años
padre
commit
7ab6156a6a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/main/resources/mapper/BehospitalInfoMapper.xml

+ 1 - 1
src/main/resources/mapper/BehospitalInfoMapper.xml

@@ -102,7 +102,7 @@
         and c.hospital_id = d.hospital_id
         and c.hospital_id = #{hospitalId}
         and c.behospital_code = #{behospitalCode}
-        order by b.order_no, a.order_no
+        order by b.order_no, c.grade_type desc, a.order_no
     </select>
 
     <select id="getMsgByEntryCode" resultType="com.diagbot.dto.MsgDTO">