|
|
@@ -192,7 +192,8 @@ public interface TriageDao {
|
|
|
|
|
|
@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}")
|
|
|
+ "update mzfz_patient_order set status_flag=(case when status_flag<3 then 3 else status_flag end) " +
|
|
|
+ "where serial_no=#{serialNo}")
|
|
|
void updateNotifyDatetime(@Param("serialNo") int serialNo);
|
|
|
|
|
|
@Delete("delete from t_triage_notify_relation where serial_no=#{serialNo}")
|