44323
2023-09-26 6676f28a5a6ca65015a2b2c26e804fa998d625c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package com.dsh.account.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dsh.account.dto.SelectDto;
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 org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;
 
import java.util.List;
 
 
/**
 * <p>
 * 用户信息 Mapper 接口
 * </p>
 *
 * @author administrator
 * @since 2023-06-14
 */
@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);
}