| | |
| | | package com.ruoyi.system.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.common.core.web.page.PageInfo; |
| | | import com.ruoyi.system.api.model.Enterprise; |
| | | import com.ruoyi.system.api.query.GetEnterpriseListReq; |
| | | import com.ruoyi.system.mapper.EnterpriseMapper; |
| | | import com.ruoyi.system.service.IEnterpriseService; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | */ |
| | | @Service |
| | | public class EnterpriseServiceImpl extends ServiceImpl<EnterpriseMapper, Enterprise> implements IEnterpriseService { |
| | | |
| | | |
| | | /** |
| | | * 获取公司列表数据 |
| | | * |
| | | * @param req |
| | | * @return |
| | | */ |
| | | @Override |
| | | public PageInfo<Enterprise> getEnterpriseList(GetEnterpriseListReq req) { |
| | | PageInfo<Enterprise> page = new PageInfo<>(req.getPageCurr(), req.getPageSize()); |
| | | return this.baseMapper.getEnterpriseList(page, req); |
| | | } |
| | | } |