package cn.pluss.platform.business.impl;

import cn.pluss.platform.business.BusinessInfoService;
import cn.pluss.platform.mapper.BusinessInfoMapper;
import cn.pluss.platform.vo.BusinessInfoVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@RequiredArgsConstructor
@Service
public class BusinessInfoServiceImpl implements BusinessInfoService {

    @Autowired
    private BusinessInfoMapper businessInfoMapper;

    @Override
    public Page<BusinessInfoVo> pageData(Page<BusinessInfoVo> page, BusinessInfoVo businessInfoVo) {
        return businessInfoMapper.selectPage(page, businessInfoVo);
    }
}
