瀏覽代碼

no message

xiaochan 2 年之前
父節點
當前提交
c38b569d8c
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      src/main/java/thyyxxk/webserver/dao/his/zhuyuanyisheng/YiZhuLuRuDao.java

+ 1 - 4
src/main/java/thyyxxk/webserver/dao/his/zhuyuanyisheng/YiZhuLuRuDao.java

@@ -502,9 +502,7 @@ public interface YiZhuLuRuDao {
             "where inpatient_no = #{patNo} " +
             "  and admiss_times = #{times} " +
             "  and status_flag in ('1', '2') " +
-            "  and act_order_no <> #{orderNo} " +
-            "  and act_order_no < #{orderNo}" +
-            "  AND (end_time IS NULL ) ")
+            "  and act_order_no <> #{orderNo} ")
     void stopNotConfirmedOrder(String patNo, Integer times, Date date, String userCode, BigDecimal orderNo);
 
     @Update("update yz_act_order " +
@@ -516,7 +514,6 @@ public interface YiZhuLuRuDao {
             "  and status_flag in ('3', '4') " +
             "  and frequ_code != 'ONCE' " +
             "  and act_order_no <> #{orderNo} " +
-            "  and act_order_no < #{orderNo} " +
             "  AND (end_time IS NULL or end_time < #{date}) ")
     void stopOrder(String patNo, Integer times, Date date, String userCode, BigDecimal orderNo);