From 99184878caf9f772093f80a093c9be1fe65ee027 Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期一, 26 八月 2024 15:42:41 +0800 Subject: [PATCH] 店铺模块 --- ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TShopServiceImpl.java | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TShopServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TShopServiceImpl.java index ff9c8dc..ef10c0c 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TShopServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TShopServiceImpl.java @@ -1,10 +1,16 @@ package com.ruoyi.system.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ruoyi.common.basic.PageInfo; import com.ruoyi.system.domain.TShop; import com.ruoyi.system.mapper.TShopMapper; +import com.ruoyi.system.query.TShopQuery; import com.ruoyi.system.service.TShopService; +import com.ruoyi.system.vo.TGoodsVO; +import com.ruoyi.system.vo.TShopVO; import org.springframework.stereotype.Service; + +import java.util.List; /** * <p> @@ -17,4 +23,11 @@ @Service public class TShopServiceImpl extends ServiceImpl<TShopMapper, TShop> implements TShopService { + @Override + public PageInfo<TShopVO> pageList(TShopQuery query) { + PageInfo<TShopVO> pageInfo = new PageInfo<>(query.getPageNum(),query.getPageSize()); + List<TShopVO> list = this.baseMapper.pageList(query,pageInfo); + pageInfo.setRecords(list); + return pageInfo; + } } -- Gitblit v1.7.1