@@ -389,6 +389,6 @@ public interface MzYjReqMapper {
* @param orderCode
* @param orderCode
* @return
* @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);
int select24HourReqByCode(@Param("patientId") String patientId,@Param("orderCode") String orderCode);