Parcourir la source

会诊中会诊类别显示错误

xiaochan il y a 2 ans
Parent
commit
7424873c03

+ 2 - 0
src/main/java/thyyxxk/webserver/dao/his/casefrontsheet/JieShouHuiZhenDao.java

@@ -69,6 +69,8 @@ public interface JieShouHuiZhenDao {
             "        where code = hz_doctor2)                                                                            hz_doctor2_name, " +
             "       hz_doctor2, " +
             "       hz_date," +
+            "       hz_level," +
+            "       hz_level_name = (select rtrim(name) from ysh_zd_hz_level where code = hz_level)," +
             "       cast(act_order_no AS decimal)  as act_order_no " +
             "from ysh_hz_record a with(nolock) inner join zy_actpatient b with(nolock) on   " +
             "(b.inpatient_no = a.inpatient_no) where a.admiss_times = #{admissTimes} and a.inpatient_no = #{inpatientNo} and a.req_times = #{reqTimes}")

+ 6 - 0
src/main/java/thyyxxk/webserver/entity/casefrontsheet/JieShouHuiZhenPojo.java

@@ -35,6 +35,12 @@ public class JieShouHuiZhenPojo {
     private String reqDoctor;
     private String hzType;
     private String hzDoctor2;
+
+    /**
+     * 会诊类别
+     */
+    private String hzLevel;
+    private String hzLevelName;
     /**
      * 会诊医生名字
      */