package cn.hnthyy.thmz.mapper.his;

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

public interface MzChargeDetailYbMapper {
    /**
     * 查询特门处方单张数
     * @param mzChargeDetailYb
     * @return
     */
    @Select("select count(yb_type) count from mz_charge_detail_yb where patient_id=#{patientId} and  times = #{times} and receipt_no=#{receiptNo} and yb_type =13 ")
    int selectTmCount(MzChargeDetailYb mzChargeDetailYb);
}
