package com.hzs.sale.postage.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.sale.postage.BdPostageDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 邮费详情设置 Mapper 接口
 * </p>
 *
 * @author hzs
 * @since 2022-08-29
 */
public interface BdPostageDetailMapper extends BaseMapper<BdPostageDetail> {

    /**
     * 根据运费类型查询对应的模板
     * @param tranType 运费类型
     * @param pkPostage 邮费主键
     * @return: List<BdPostageDetail>
     * @Author: sui q
     * @Date: 2022/9/19 17:02
     */
    List<BdPostageDetail> queryPostageDetail(@Param("tranType") Integer tranType, @Param("pkPostage") Integer pkPostage);
}
