package com.cool.store.mapper;

import com.cool.store.entity.OperationsConsultantAssignDO;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface OperationsConsultantAssignMapper extends Mapper<OperationsConsultantAssignDO> {

    /**
     * 根据门店查询运营顾问分配信息
     * @param shopId
     * @return
     */
    OperationsConsultantAssignDO selectByShopId(Long shopId);


    /**
     * 获取待分配
     * @param keyword
     * @return
     */
    List<OperationsConsultantAssignDO> getNoAssign(@Param("keyword") String keyword, @Param("regionIds") List<String> regionIds);



}