Forráskód Böngészése

急诊登记填写完成后,标记已登记

lighter 5 hónapja
szülő
commit
398ffe3d89

+ 1 - 0
src/main/java/thyyxxk/webserver/dao/his/outpatient/triage/TriageDao.java

@@ -165,6 +165,7 @@ public interface TriageDao {
             "phone=rtrim(isnull(b.phone_no,'-')),rtrim(b.social_no) as socialNo, " +
             "address=rtrim(isnull(b.adress,'-')), " +
             "gender=case when b.sex='1' then N'男' when b.sex='2' then N'女' else N'未知' end, " +
+            "regCount=(select count(1) from t_emergency_reg_info d where d.patient_id=a.patient_id and d.times=a.times), " +
             "room_status=(select status_flag from mzfz_zd_dept_room where room_code=a.room_code), " +
             "doctor_code,doctor_name=(select name from a_employee_mi where code=doctor_code), " +
             "serial_no,gh_no,req_type,reqName=(select rtrim(name) from mzy_zd_charge_type where code=a.req_type), " +

+ 1 - 0
src/main/java/thyyxxk/webserver/entity/outpatient/triage/MzfzPatientOrder.java

@@ -169,4 +169,5 @@ public class MzfzPatientOrder  implements Serializable {
 	private String phone;
 	private String phoneNo;
 	private String address;
+	private Integer regCount;
 }