From e60572581d3a8b97bb8cc35536daaa7b3f2c0a14 Mon Sep 17 00:00:00 2001
From: yanghui <2536613402@qq.com>
Date: 星期二, 22 十一月 2022 13:57:33 +0800
Subject: [PATCH] #feat 调试修改问题

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java |   87 ++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 77 insertions(+), 10 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
index 7bab635..768a72d 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
@@ -2974,11 +2974,11 @@
     /**
      * 删除商品
      *
-     * @param id
+     * @param goodsId
      * @return
      */
-    @PostMapping("/shopFlower/deleteShopGoods")
-    R deleteFlowerShopGoods(@RequestBody Long[] id);
+    @DeleteMapping("/shopFlower/deleteShopGoods")
+    R deleteFlowerShopGoods(@RequestParam("goodsId") Long goodsId);
 
     /**
      * 修改商品状态
@@ -2990,12 +2990,12 @@
     R changeFlowerStatus(@RequestParam("id") Long id, @RequestParam("status") Integer status);
 
     /**
-     * 修改商品状态
+     * 商品详情
      *
      * @param goodsId
      * @return
      */
-    @PostMapping("/shopFlower/shopGoodsDetail")
+    @GetMapping("/shopFlower/shopGoodsDetail")
     R shopFlowerGoodsDetail(@RequestParam("goodsId") Long goodsId);
 
 
@@ -10667,7 +10667,7 @@
      * @param convenientGoodsCategoryDTO
      * @return
      */
-    @PostMapping("/goodsCategory/add")
+    @PostMapping("/convenient/goodsCategory/add")
     R addGoodsCategory(@RequestBody ConvenientGoodsCategoryDTO convenientGoodsCategoryDTO);
 
     /**
@@ -10675,7 +10675,7 @@
      * @param convenientGoodsCategoryDTO
      * @return
      */
-    @PutMapping("/goodsCategory/put")
+    @PutMapping("/convenient/goodsCategory/put")
     R putGoodsCategory(@RequestBody ConvenientGoodsCategoryDTO convenientGoodsCategoryDTO);
 
     /**
@@ -10683,7 +10683,7 @@
      * @param categoryId
      * @return
      */
-    @DeleteMapping("/goodsCategory/delete")
+    @DeleteMapping("/convenient/goodsCategory/delete")
     R deleteGoodsCategory(@RequestParam("categoryId") Long categoryId, @RequestParam("operator") Long operator);
 
     /**
@@ -10691,7 +10691,7 @@
      * @param categoryId
      * @return
      */
-    @GetMapping("/goodsCategory/get")
+    @GetMapping("/convenient/goodsCategory/get")
     R getGoodsCategory(@RequestParam("categoryId") Long categoryId);
 
     /**
@@ -10977,8 +10977,75 @@
     /**
      * 统计查询订单数量
      * @param deliveryType
+     * @param userId
      * @return
      */
     @GetMapping("/shopFlower/selectCountByDeliveryType")
-    R selectCountByDeliveryType(Integer deliveryType);
+    R selectCountByDeliveryType(@RequestParam("deliveryType") Integer deliveryType,@RequestParam("userId")  Long userId);
+
+    /**
+     * 查询我的店铺各类统计数据
+     * @param userId
+     * @return
+     */
+    @GetMapping("/shopFlower/selectCountByUserId")
+    R selectCountByUserId(@RequestParam("userId") Long userId);
+
+
+    /**
+     * 创建退款订单
+     * @param comShopFlowerRefundOrderDTO
+     * @return
+     */
+    @PostMapping("/shopFlower/createRefundOrder")
+    R createRefundOrder(@RequestBody ComShopFlowerRefundOrderDTO comShopFlowerRefundOrderDTO);
+
+    /**
+     * 分页查询
+     * @param pageComOrderRefundDTO
+     * @return
+     */
+    @PostMapping("/shopFlower/pageRefundOrder")
+    R pageRefundOrder(@RequestBody PageComOrderRefundDTO pageComOrderRefundDTO);
+
+    /**
+     * 修改退款订单
+     * @param comShopFlowerRefundOrderDTO
+     * @return
+     */
+    @PostMapping("/shopFlower/updateRefundOrder")
+    R updateRefundOrder(@RequestBody ComShopFlowerRefundOrderDTO comShopFlowerRefundOrderDTO);
+
+
+    /**
+     * 商家后台-退款申请统计
+     * @param storeId
+     * @return
+     */
+    @GetMapping("/shopFlower/selectCountGroupStatus")
+    R selectCountGroupStatus(@RequestParam("storeId") Long storeId);
+
+    /**
+     * 新增商品浏览量
+     * @param goodsId
+     * @return
+     */
+    @GetMapping("/shopFlower/incrGoodsView")
+    R incrGoodsView(@RequestParam("goodsId") Long goodsId);
+
+    /**
+     * 出入账分页
+     * @param pageComShopFlowerOrderPayDTO
+     * @return
+     */
+    @PostMapping("/shopFlower/pageOrderPay")
+    R pageOrderPay(@RequestBody PageComShopFlowerOrderPayDTO pageComShopFlowerOrderPayDTO);
+
+    /**
+     * 获取商家的营业额和可结算金额
+     * @param storeId
+     * @return
+     */
+    @GetMapping("/shopFlower/getQuota")
+    R getQuota(@RequestParam("storeId") Long storeId);
 }

--
Gitblit v1.7.1