DESKTOP-0GD05B0\Administrator 2 rokov pred
rodič
commit
89c1e6c082

+ 5 - 3
src/main/java/thyyxxk/webserver/dao/his/casefrontsheet/JieShouHuiZhenDao.java

@@ -48,8 +48,9 @@ public interface JieShouHuiZhenDao {
             "       bed_no, " +
             "       a.admiss_times, " +
             "       sex, " +
-            "       req_date, " +
-            "       (select rtrim(name) name from zd_unit_code with (nolock) where code = req_dept1)                     req_dept1, " +
+            "       req_date," +
+            "       req_dept1, " +
+            "       (select rtrim(name) name from zd_unit_code with (nolock) where code = req_dept1)                     req_dept1_name, " +
             "       (select birth_date from a_patient_mi with (nolock) where a.inpatient_no = a_patient_mi.inpatient_no) birth_date, " +
             "       (select rtrim(name) name from zd_unit_code with (nolock) where code = req_dept2)                     req_dept2, " +
             "       req_times, " +
@@ -61,7 +62,8 @@ public interface JieShouHuiZhenDao {
             "       req_comment, " +
             "       hz_zd, " +
             "       hz_md, " +
-            "       hz_comment, " +
+            "       hz_comment," +
+            "       hz_doctor2, " +
             "       (select rtrim(name) name " +
             "        from a_employee_mi with (nolock) " +
             "        where code = hz_doctor2)                                                                            hz_doctor2_name, " +