package cn.hnthyy.thmz.mapper.his;

import cn.hnthyy.thmz.entity.his.ZyLedgerFile;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface zyLedgerFileMapper {
    /**
     * 根据病人的住院号和住院次数查询账页信息
     *
     * @param inpatientNo
     * @param admissTimes
     * @return
     */
    @Select("select * from zy_ledger_file where inpatient_no=#{inpatientNo} and admiss_times = #{admissTimes}  ")
    List<ZyLedgerFile> selectZyLedgerFileByInpatientNoAndTimes(@Param("inpatientNo") String inpatientNo, @Param("admissTimes") Integer admissTimes);
}
