|
@@ -10,11 +10,10 @@ import java.util.List;
|
|
|
@Mapper
|
|
|
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 ")
|
|
|
+ "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")
|
|
|
+ @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);
|
|
|
|
|
|
@Update("update t_si_setlinfo set mz_saved=1 where setl_id=#{setlId}")
|