Blame view

MemberServiceImpl.java 1.01 KB
涂亚平 committed
1 2
package com.subsidy.service.impl;

涂亚平 committed
3 4 5
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.subsidy.dto.member.AcademyMembersDTO;
涂亚平 committed
6 7 8 9
import com.subsidy.model.MemberDO;
import com.subsidy.mapper.MemberMapper;
import com.subsidy.service.MemberService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
涂亚平 committed
10
import com.subsidy.vo.member.AcademyMembersVO;
涂亚平 committed
11 12 13 14 15 16 17 18 19 20 21 22 23
import org.springframework.stereotype.Service;

/**
 * <p>
 * 学生表 服务实现类
 * </p>
 *
 * @author Tuyp
 * @since 2024-01-11
 */
@Service
public class MemberServiceImpl extends ServiceImpl<MemberMapper, MemberDO> implements MemberService {

涂亚平 committed
24 25 26 27 28
    public IPage<AcademyMembersVO> academyMembers(AcademyMembersDTO academyMembersDTO) {
        Page pager = new Page(academyMembersDTO.getPageNum(), academyMembersDTO.getPageSize());
        return this.baseMapper.academyMembers(pager,academyMembersDTO.getUserName(),academyMembersDTO.getPracticeStatus(),academyMembersDTO.getAcademyId());
    }

涂亚平 committed
29
}