| | |
| | | package com.ruoyi.account.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.account.api.model.AgentApplication; |
| | | import com.ruoyi.account.dto.UserCancelQuery; |
| | | import com.ruoyi.account.mapper.UserCancellationLogMapper; |
| | | import com.ruoyi.account.api.model.UserCancellationLog; |
| | | import com.ruoyi.account.service.UserCancellationLogService; |
| | | import com.ruoyi.other.api.domain.Shop; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | |
| | | @Service |
| | | public class UserCancellationLogServiceImpl extends ServiceImpl<UserCancellationLogMapper, UserCancellationLog> implements UserCancellationLogService { |
| | | |
| | | @Override |
| | | public IPage<UserCancellationLog> pageList(UserCancelQuery agentQuery) { |
| | | Page<Shop> page = new Page<>(); |
| | | page.setCurrent(agentQuery.getPageNum()); |
| | | page.setSize(agentQuery.getPageSize()); |
| | | IPage<UserCancellationLog> shopIPage = this.baseMapper.pageList(page, agentQuery); |
| | | return shopIPage; |
| | | } |
| | | } |