package com.friday.custody.dao;

import com.friday.custody.dto.DataDictionaryTypeDto;
import com.friday.custody.entity.DataDictionarySellerEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 数据字典：销售商
 * 
 * @author lyb
 * @email k0051582@gmail.com
 * @date 2022-03-04 10:25:27
 */
@Mapper
public interface DataDictionarySellerDao extends BaseMapper<DataDictionarySellerEntity> {
	List<DataDictionaryTypeDto> selectDictionaryByTrustNo(String trustNo);

    String selectAgencyName(@Param("originValue") String originValue, @Param("agencyNo") String agencyNo);

    String selectKey(String originValue, String value);

    String selectAgencyNo(String originValue, String agencyName);
}
