package cn.stylefeng.roses.kernel.customer.modular.mapper;
|
|
import cn.stylefeng.roses.kernel.customer.api.pojo.UserManagePageResponseDTO;
|
import cn.stylefeng.roses.kernel.customer.modular.entity.Customer;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* C端用户表 Mapper 接口
|
*
|
* @author fengshuonan
|
* @date 2021/06/07 11:40
|
*/
|
public interface CustomerMapper extends BaseMapper<Customer> {
|
|
List<Long> getWorkerIdByLineStatusAndPostType(
|
@Param("lineStatus") String lineStatus,
|
@Param("postType") Integer postType,
|
@Param("postId") Integer postId,
|
@Param("workStatus") Integer workStatus
|
);
|
List<Long> randomWorkerByLineStatusAndPostNeWorkerId(
|
@Param("lineStatus") String lineStatus,
|
@Param("postType") Integer postType,
|
@Param("postId") Integer postId,
|
@Param("workStatus") Integer workStatus,
|
@Param("mentalAnalysisStatus") Integer mentalAnalysisStatus,
|
@Param("eqWorkerIdList") List<Long> eqWorkerIdList,
|
@Param("neWorkerIdList") List<Long> neWorkerIdList
|
);
|
|
List<Customer> getWorkerListByLineStatusAndPostType(
|
@Param("lineStatus") String lineStatus,
|
@Param("postType") Integer postType,
|
@Param("postId") Integer postId,
|
@Param("workStatus") Integer workStatus
|
);
|
|
Page<UserManagePageResponseDTO> getCustomerPage(
|
@Param("page") Page<Object> page,
|
@Param("userType") Integer userType,
|
@Param("id") Long id,
|
@Param("name") String name,
|
@Param("telephone") String telephone,
|
@Param("statusFlag") Integer statusFlag
|
);
|
|
}
|