| | |
| | | package com.ruoyi.other.service.impl; |
| | | |
| | | import com.ruoyi.common.core.dto.AppGoodQuery; |
| | | import com.ruoyi.common.core.web.page.BasePage; |
| | | import com.ruoyi.common.core.web.page.PageInfo; |
| | | import com.ruoyi.order.api.feignClient.OrderClient; |
| | |
| | | return pageInfo; |
| | | } |
| | | @Override |
| | | public PageInfo<TGoods> pageList1(BasePage basePage) { |
| | | public PageInfo<TGoods> pageList1(AppGoodQuery basePage) { |
| | | GoodsDTO dto = new GoodsDTO(); |
| | | dto.setType(2); |
| | | dto.setStatus(1); |
| | | dto.setPageCurr(basePage.getPageCurr()); |
| | | dto.setPageSize(basePage.getPageSize()); |
| | | PageInfo<TGoods> pageInfo = new PageInfo<>(dto.getPageCurr(),dto.getPageSize()); |
| | | List<TGoods> list = this.baseMapper.pageList1(pageInfo); |
| | | List<TGoods> list = this.baseMapper.pageList1(pageInfo,basePage); |
| | | |
| | | StringBuilder stringBuilder = new StringBuilder(); |
| | | for (TGoods temp : list) { |