package com.ydd.module.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.ydd.module.domain.Merchant; import com.ydd.module.dto.*; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 客户商家Mapper接口 * * @author douya * @date 2021-02-01 */ public interface MerchantMapper extends BaseMapper { List findIdsByAgentId(@Param("agentId") Integer agentId); List findIdsByAgentIds(@Param("agentIds") List agentIds); Integer getMerchantNum(@Param("agentIds") List agentIds,@Param("startDate") String startDate); Merchant findByMobile(@Param("mobile") String mobile); List listMerchan(Integer id); List selectExportList(@Param("params")MerchantExportDto merchant, @Param("agentIds")List agentIds); List findIdsByAgentIdLists(@Param("agentIds") List agentIds); List selectMerchantList(@Param("params") SystemMerchantDto merchantDto, @Param("agentIds")List agentIds, @Param("agentList")List agentList); List listMerchantIds(@Param("agentIds") List agentIds); void updatePersonnelId(@Param("id") Long id); List getIdListByFreightPackageId(@Param("freightPackageId") Long freightPackageId); Page queryListByDadaDspId(@Param("params") DadaDspMerchantListQuery dadaDspMerchantListQuery, IPage pageArt); DadaDspMerchantInfoDto queryDadaMerchantInfo(@Param("merchantId") Long merchantId); List selectIdByName(@Param("merchantName") String merchantName); List findMerchantIdByAgentId(@Param("agentIds") List agentIds); List selectListByDadaDspId(@Param("dadaDspId") Long dadaDspId); List selectCustomerList(@Param("cityName") String cityName, @Param("businessName") String businessName, @Param("contactName") String contactName); }