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

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

public interface MzOrderFrequencyMapper {

    /**
     * 根据用药频率编码查询频率信息
     * @param code
     * @return
     */
    @Select("select code,rtrim(comm)comm,donot_modify,del_flag,print_name,sort_code,times,special_flag,py_code,d_code from mz_order_frequency where code = #{code}")
    MzOrderFrequency selectMzOrderFrequencyByCode(@Param("code") String code);
}
