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

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

public interface JyZdTubeChargeMapper {
    /**根据容易规格查询容器收费编码和收费次数
     * @param code
     * @return
     */
    @Select("select rtrim(code) code,rtrim(charge_code) charge_code,amount from jy_zd_tube_charge where code=#{code,jdbcType=CHAR} and charge_code <> '' and charge_code is not null ")
    JyZdTubeCharge selectJyZdTubeChargeByCode(@Param("code") String code);
}
