|
|
@@ -11,4 +11,8 @@ public interface ScheduledDao {
|
|
|
@Select("select pat_no,times,ledger_sn,setl_id,mdtrt_id,psn_no from t_si_setlinfo where setl_type=11 " +
|
|
|
"and mz_saved=0 and revoked=0 and datediff(hour, endtime, getdate()) between 12 and 72 ")
|
|
|
List<SiSetlinfo> selectSetlinfos();
|
|
|
+
|
|
|
+ @Select("select count(1) from mz_deposit_file WITH(NOLOCK) where " +
|
|
|
+ "patient_id=#{patNo} and times=#{times} and pay_mark=0")
|
|
|
+ int alreadyPayed(String patNo, int times);
|
|
|
}
|