package cn.hnthyy.thmz.mapper.his.zy;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

public interface ZyOweFileMapper {
    /**
     * 删除欠费病人信息  无用
     * @param inpatientNo
     * @param admissTimes
     * @param ledgerSn
     * @return
     */
    @Delete("delete from zy_owe_file WHERE inpatient_no =#{inpatientNo} AND admiss_times =#{admissTimes} AND ledger_sn =#{ledgerSn}  and owe_type <> '0' ")
    int deleteZyOweFile(@Param("inpatientNo") String inpatientNo, @Param("admissTimes") Integer admissTimes, @Param("ledgerSn") Integer ledgerSn);
}
