package com.jeequan.jeepay.service.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jeequan.jeepay.db.entity.SysUserTeam;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 人员团队表 Mapper 接口
 * </p>
 *
 * @author [mybatis plus generator]
 * @since 2022-03-12
 */
public interface SysUserTeamMapper extends BaseMapper<SysUserTeam> {

    long selectUserCount(Map<String, Object> genQueryParams);

    List<JSONObject> selectUserPage(@Param("teamIdList") List<Long> teamIdList, @Param("createdStart") String createdStart, @Param("createdEnd") String createdEnd);
}
