package com.ruoyi.account.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.ruoyi.account.api.model.AppUser;
|
import com.ruoyi.account.vo.NearbyReferrer;
|
import com.ruoyi.account.vo.NearbyReferrerVo;
|
import com.ruoyi.account.vo.UserStatistics;
|
import com.ruoyi.account.vo.UserStatisticsDetail;
|
import com.ruoyi.common.core.web.page.PageInfo;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
import java.util.Set;
|
|
/**
|
* <p>
|
* Mapper 接口
|
* </p>
|
*
|
* @author luodangjia
|
* @since 2024-11-21
|
*/
|
public interface AppUserMapper extends BaseMapper<AppUser> {
|
|
|
/**
|
* 获取附件推广人
|
* @param cityCode
|
* @return
|
*/
|
List<NearbyReferrerVo> getNearbyReferrer(PageInfo<NearbyReferrerVo> pageInfo, @Param("cityCode") String cityCode, @Param("nearbyReferrer") NearbyReferrer nearbyReferrer);
|
|
IPage<AppUser> getAppuserPage(@Param("page") IPage<AppUser> page, @Param("appUser") AppUser appUser, @Param("shopId") Integer shopId, @Param("userId") Set<Long> userIds);
|
|
|
|
IPage<AppUser> getAppuserPage1(@Param("page") IPage<AppUser> page, @Param("appUser") AppUser appUser,@Param("userIds")List<Long> userIds);
|
|
UserStatistics getUserStatistics(@Param("shopId") Integer shopId, @Param("userId") Set<Long> userId);
|
|
UserStatisticsDetail getUserStatisticsDetail(@Param("shopId") Integer shopId, @Param("userId") Set<Long> userIds);
|
|
List<AppUser> getAppUserByPhoneNoFilter(@Param("phone") String phone);
|
|
|
|
}
|