智慧保安后台管理-外网
钟日健
2022-02-21 536a94fb285c41958ed9a315f9909a157f908ec8
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
 
package org.springblade.modules.vip.service.impl;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springblade.modules.vip.entity.UserVip;
import org.springblade.modules.vip.mapper.UserVipMapper;
import org.springblade.modules.vip.service.UserVipService;
import org.springblade.modules.vip.vo.UserVipVO;
import org.springframework.stereotype.Service;
 
/**
 *  用户会员服务实现类
 *
 * @author zhongrj
 * @since 2022-02-21
 */
@Service
public class UserVipServiceImpl extends ServiceImpl<UserVipMapper, UserVip> implements UserVipService {
 
 
    /**
     * 自定义分页查询用户会员数据
     * @param page
     * @param userVip
     * @return
     */
    @Override
    public IPage<UserVipVO> selectUserVipPage(IPage<UserVipVO> page, UserVipVO userVip) {
        return page.setRecords(baseMapper.selectUserVipPage(page, userVip));
    }
}