From c5f9d214b2d63506cfbab5cc977610da3b133ec4 Mon Sep 17 00:00:00 2001
From: yanghui <2536613402@qq.com>
Date: 星期一, 21 十一月 2022 10:11:33 +0800
Subject: [PATCH] Merge branch 'local_20221104' into huacheng_test

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java |   68 +++++++++++++++++++++++++++------
 1 files changed, 55 insertions(+), 13 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 4956269..63ac596 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);
 
 
@@ -10975,17 +10975,59 @@
     R wxPayFlower(@RequestBody OrderPayDTO orderPayDTO);
 
     /**
-     * 统计查询订单数量
-     * @param deliveryType
-     * @return
-     */
-    @GetMapping("/shopFlower/selectCountByDeliveryType")
-    R selectCountByDeliveryType(Integer deliveryType);
-
-    /**
      * 获取社区动态置顶banner
      * @param communityId  社区id
      * */
     @PostMapping("/easyphoto/getUserRewardsNew")
     R getUserRewardsNew(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId);
+
+    /**
+     * 统计查询订单数量
+     * @param deliveryType
+     * @return
+     */
+    @GetMapping("/shopFlower/selectCountByDeliveryType")
+    R selectCountByDeliveryType(Integer deliveryType,Long storeId);
+
+    /**
+     * 查询我的店铺各类统计数据
+     * @param storeId
+     * @return
+     */
+    @GetMapping("/shopFlower/selectCountByStoreId")
+    R selectCountByStoreId(Long storeId);
+
+
+    /**
+     * 创建退款订单
+     * @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(Long storeId);
 }

--
Gitblit v1.7.1