فهرست منبع

拦截判断修改

hurugang 2 سال پیش
والد
کامیت
40e9738550
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/main/java/cn/hnthyy/thmz/mapper/his/mz/MzYjReqMapper.java

+ 1 - 1
src/main/java/cn/hnthyy/thmz/mapper/his/mz/MzYjReqMapper.java

@@ -389,6 +389,6 @@ public interface MzYjReqMapper {
      * @param orderCode
      * @return
      */
-    @Select("select * from  mz_yj_req where patient_id=#{patientId} and order_code =#{orderCode} and pay_mark = 0 and DateDiff(hh,req_date,getDate()) <=24 ")
+    @Select("select count(1) from  mz_yj_req where patient_id=#{patientId} and order_code =#{orderCode} and pay_mark = 0 and DateDiff(hh,req_date,getDate()) <=24 ")
     int select24HourReqByCode(@Param("patientId") String patientId,@Param("orderCode") String orderCode);
 }