From 905077448a20fe1f06c9303152e83a6c9463541c Mon Sep 17 00:00:00 2001 From: huliguo <2023611923@qq.com> Date: 星期四, 10 四月 2025 19:21:54 +0800 Subject: [PATCH] 商家端 --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/ShopService.java | 28 +++++++++++++++++++++++++--- 1 files changed, 25 insertions(+), 3 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/ShopService.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/ShopService.java index 2626f14..cdb4e86 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/ShopService.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/ShopService.java @@ -2,12 +2,15 @@ import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.IService; + +import com.ruoyi.common.core.web.page.PageInfo; import com.ruoyi.other.api.domain.Shop; -import com.ruoyi.other.vo.NearbyShopVO; -import com.ruoyi.other.vo.SaveWithdrawalAccount; -import com.ruoyi.other.vo.ShopDetailVO; +import com.ruoyi.other.api.domain.ShopBalanceStatement; +import com.ruoyi.other.dto.AddGoodsDTO; +import com.ruoyi.other.vo.*; import java.math.BigDecimal; +import java.time.LocalDateTime; import java.util.List; /** @@ -36,4 +39,23 @@ void saveWithdrawalAccount(SaveWithdrawalAccount saveWithdrawalAccount); + /** + * 店铺余额统计 + */ + ShopBalanceVO getShopBalance(Integer shopId); + + /** + * 店铺余额变更明细 + */ + PageInfo<ShopBalanceStatementVO> getShopBalanceStatementList(Integer shopId, LocalDateTime startTime, LocalDateTime endTime, Integer type, Integer pageCurr, Integer pageSize); + + /** + * 店铺内商品列表 门店后台 + */ + + List<GoodsVO> getGoodsListByShopId(PageInfo<GoodsVO> pageInfo, Integer shopId); + + GoodsVO goodsDetail(Long goodsId); + + void addGoodsByShop(AddGoodsDTO addGoodsDTO); } -- Gitblit v1.7.1