Procházet zdrojové kódy

拦截判断修改

hurugang před 2 roky
rodič
revize
40e9738550

+ 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);
 }