Selaa lähdekoodia

叫号后更新状态

lighter 1 vuosi sitten
vanhempi
commit
928bbff799

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

@@ -190,7 +190,9 @@ public interface TriageDao {
             "from mzfz_patient_order where serial_no=#{serialNo}")
     MessageForPush selectMessageForPush(@Param("serialNo") int serialNo);
 
-    @Update("update t_triage_notify_relation set notify_datetime=getdate() where serial_no=#{serialNo}")
+    @Update("update t_triage_notify_relation set notify_datetime=getdate() " +
+            "where serial_no=#{serialNo}; " +
+            "update mzfz_patient_order set status_flag='3' where serial_no=#{serialNo}")
     void updateNotifyDatetime(@Param("serialNo") int serialNo);
 
     @Delete("delete from t_triage_notify_relation where serial_no=#{serialNo}")