|  |  |  | 
|---|
|  |  |  | package com.dsh.account.mapper; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
|---|
|  |  |  | import com.dsh.account.dto.SelectDto; | 
|---|
|  |  |  | import com.dsh.account.dto.UserInfoQueryDTO; | 
|---|
|  |  |  | import com.dsh.account.entity.TAppUser; | 
|---|
|  |  |  | import com.dsh.account.model.AppUserByNameAndPhoneDTO; | 
|---|
|  |  |  | import com.dsh.account.model.query.appUserQuery.QueryAppUser; | 
|---|
|  |  |  | import com.dsh.account.model.vo.QueryAppUserVO; | 
|---|
|  |  |  | import com.dsh.account.vo.GroupCityInfoVO; | 
|---|
|  |  |  | import com.dsh.account.vo.entity.DayData; | 
|---|
|  |  |  | import com.dsh.account.vo.entity.MonthData; | 
|---|
|  |  |  | import com.dsh.account.vo.entity.WeekData; | 
|---|
|  |  |  | import com.dsh.account.vo.entity.YearData; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Mapper; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Param; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.PathVariable; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | @Mapper | 
|---|
|  |  |  | public interface TAppUserMapper extends BaseMapper<TAppUser> { | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 定时任务修改到期会员的状态 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void membershipEnd(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<QueryAppUserVO> listAll(@Param("query") QueryAppUser query); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<SelectDto> getSelects(@Param("studentIds") List<Integer> studentIds); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int changeState(@Param("ids") List<Integer> ids,@Param("state") Integer state); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<TAppUser> queryAPPUserByNameAndPhone(@Param("query") AppUserByNameAndPhoneDTO dto); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<YearData> getYearUserCount(@Param("dto") UserInfoQueryDTO dto); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<MonthData> getMonthUserCount(@Param("dto")UserInfoQueryDTO dto); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | WeekData getWeekUserCount4(@Param("dto")UserInfoQueryDTO dto); | 
|---|
|  |  |  | WeekData getWeekUserCount3(@Param("dto")UserInfoQueryDTO dto); | 
|---|
|  |  |  | WeekData getWeekUserCount2(@Param("dto")UserInfoQueryDTO dto); | 
|---|
|  |  |  | WeekData getWeekUserCount1(@Param("dto")UserInfoQueryDTO dto); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<DayData> getDayUserCount(@Param("dto")UserInfoQueryDTO dto); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<GroupCityInfoVO> groupCityInfo(@Param("dto")UserInfoQueryDTO dto); | 
|---|
|  |  |  | } | 
|---|