| | |
| | | package com.ruoyi.system.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.common.basic.PageInfo; |
| | | import com.ruoyi.system.export.TInsuranceOrderExport; |
| | | import com.ruoyi.system.export.TInsuranceOrderRefundExport; |
| | | import com.ruoyi.system.mapper.TInsuranceOrderMapper; |
| | | import com.ruoyi.system.model.TAdvertisement; |
| | | import com.ruoyi.system.model.TInsuranceOrder; |
| | | import com.ruoyi.system.query.TInsuranceOrderQuery; |
| | | import com.ruoyi.system.service.TInsuranceOrderService; |
| | | import com.ruoyi.system.vo.TInsuranceOrderVO; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @Service |
| | | public class TInsuranceOrderServiceImpl extends ServiceImpl<TInsuranceOrderMapper, TInsuranceOrder> implements TInsuranceOrderService { |
| | | |
| | | @Override |
| | | public PageInfo<TInsuranceOrderVO> pageList(TInsuranceOrderQuery query) { |
| | | PageInfo<TInsuranceOrderVO> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize()); |
| | | List<TInsuranceOrderVO> list = this.baseMapper.pageList(query,pageInfo); |
| | | pageInfo.setRecords(list); |
| | | return pageInfo; |
| | | } |
| | | |
| | | @Override |
| | | public PageInfo<TInsuranceOrderVO> refundPageList(TInsuranceOrderQuery query) { |
| | | PageInfo<TInsuranceOrderVO> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize()); |
| | | List<TInsuranceOrderVO> list = this.baseMapper.refundPageList(query,pageInfo); |
| | | pageInfo.setRecords(list); |
| | | return pageInfo; |
| | | } |
| | | |
| | | @Override |
| | | public List<TInsuranceOrderExport> exportInsuranceOrder(TInsuranceOrderQuery query) { |
| | | List<TInsuranceOrderExport> list = this.baseMapper.exportInsuranceOrder(query); |
| | | return list; |
| | | } |
| | | |
| | | @Override |
| | | public List<TInsuranceOrderRefundExport> exportRefundOrder(TInsuranceOrderQuery query) { |
| | | List<TInsuranceOrderRefundExport> list = this.baseMapper.exportRefundOrder(query); |
| | | return list; |
| | | } |
| | | } |