From 43d9975c99cb947b4602f05bc2e513a20de92c38 Mon Sep 17 00:00:00 2001
From: jiangqs <jiangqs>
Date: 星期六, 06 五月 2023 20:30:42 +0800
Subject: [PATCH] 商户端主流程

---
 ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/service/order/ConsumerGoodsService.java |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/service/order/ConsumerGoodsService.java b/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/service/order/ConsumerGoodsService.java
index aeddbc3..cb663a8 100644
--- a/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/service/order/ConsumerGoodsService.java
+++ b/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/service/order/ConsumerGoodsService.java
@@ -1,7 +1,15 @@
 package com.ruoyi.order.service.order;
 
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.ruoyi.order.domain.dto.AppConsumerPageDto;
+import com.ruoyi.order.domain.dto.MerConsumerGoodsDto;
+import com.ruoyi.order.domain.dto.MerSureConsumerGoodsDto;
 import com.ruoyi.order.domain.pojo.order.ConsumerGoods;
 import com.baomidou.mybatisplus.extension.service.IService;
+import com.ruoyi.order.domain.vo.AppConsumerPageVo;
+import com.ruoyi.order.domain.vo.MerConsumerGoodsVo;
+
+import java.util.List;
 
 /**
  * <p>
@@ -13,4 +21,30 @@
  */
 public interface ConsumerGoodsService extends IService<ConsumerGoods> {
 
+    /**
+     * 分页获取用户服务
+     * @param page
+     * @param appConsumerPageDto
+     * @return
+     */
+    List<AppConsumerPageVo> pageUserConsumerGoods(Page page, AppConsumerPageDto appConsumerPageDto);
+
+    /**
+     * 获取会员服务商品
+     * @param merConsumerGoodsDto
+     * @return
+     */
+    MerConsumerGoodsVo listMerConsumerGoods(MerConsumerGoodsDto merConsumerGoodsDto);
+
+    /**
+     * 确认商品次数
+     * @param merSureConsumerGoodsDto
+     */
+    void sureMerConsumerGoods(MerSureConsumerGoodsDto merSureConsumerGoodsDto);
+
+    /**
+     * 确认商品次数
+     * @param merSureConsumerGoodsDto
+     */
+    void useMerConsumerGoods(MerSureConsumerGoodsDto merSureConsumerGoodsDto);
 }

--
Gitblit v1.7.1