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

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

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