package com.ruoyi.other.service.impl;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.ruoyi.account.api.model.AppUser;
|
import com.ruoyi.common.core.web.page.PageInfo;
|
import com.ruoyi.other.api.domain.IntegralPay;
|
import com.ruoyi.other.api.domain.ServicePay;
|
import com.ruoyi.other.mapper.IntegralPayMapper;
|
import com.ruoyi.other.mapper.ServicePayMapper;
|
import com.ruoyi.other.query.ServiceListQuery;
|
import com.ruoyi.other.service.TIntegralPayService;
|
import com.ruoyi.other.service.TServicePayService;
|
import com.ruoyi.other.vo.IntegralListVO;
|
import com.ruoyi.other.vo.ServiceListVO;
|
import org.springframework.stereotype.Service;
|
|
import java.util.List;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2024/11/21 10:48
|
*/
|
@Service
|
public class ServicePayServiceImpl extends ServiceImpl<ServicePayMapper, ServicePay> implements TServicePayService {
|
|
@Override
|
public PageInfo<ServiceListVO> servicePageList(ServiceListQuery query) {
|
PageInfo<ServiceListVO> pageInfo = new PageInfo<>(query.getPageCurr(), query.getPageSize());
|
List<ServiceListVO> list = this.baseMapper.servicePageList(query,pageInfo);
|
pageInfo.setRecords(list);
|
return pageInfo;
|
}
|
}
|