From e4aeeebfb20b6e6cb1eb527ed19c961ac4f52ace Mon Sep 17 00:00:00 2001
From: yanghui <2536613402@qq.com>
Date: 星期五, 25 十一月 2022 15:49:57 +0800
Subject: [PATCH] #feat 调试问题修改

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java |  102 ++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 97 insertions(+), 5 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 dbaed8f..b5e78e7 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
@@ -10758,7 +10758,7 @@
      *            收货地址id
      * @return 删除结果
      */
-    @PostMapping("/shopFlower/shopDelUserAddress")
+    @DeleteMapping("/shopFlower/shopDelUserAddress")
     R shopFlowerDelUserAddress(@RequestParam("addressId") Long addressId);
 
     /**
@@ -10794,7 +10794,7 @@
      * @param orderId 订单id
      * @return 订单详情
      */
-    @PostMapping("/shopFlower/orderDetail")
+    @GetMapping("/shopFlower/orderDetail")
     R orderDetailFlower(@RequestParam("orderId") Long orderId);
 
     /**
@@ -10812,7 +10812,7 @@
      * @param orderId 订单id
      * @return 删除结果
      */
-    @PostMapping("/shopFlower/orderDelete")
+    @DeleteMapping("/shopFlower/orderDelete")
     R orderDeleteFlower(@RequestParam("orderId") Long orderId);
 
     /**
@@ -10881,7 +10881,7 @@
      * @param pageComShopFlowerEvaluateDTO
      * @return
      */
-    @PostMapping("/pageEvaluate")
+    @PostMapping("/shopFlower/pageEvaluate")
     R pageEvaluate(@RequestBody PageComShopFlowerEvaluateDTO pageComShopFlowerEvaluateDTO);
 
     /**
@@ -10977,8 +10977,100 @@
     /**
      * 统计查询订单数量
      * @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);
+
+    /**
+     * 取消退款
+     * @param id
+     * @return
+     */
+    @GetMapping("/shopFlower/refundOrderCancel")
+    R refundOrderCancel(@RequestParam("id") Long id);
+
+    /**
+     * 退款订单详情
+     * @param id
+     * @return
+     */
+    @GetMapping("/shopFlower/refundOrderDetail")
+    R refundOrderDetail(@RequestParam("id") Long id);
+
+    /**
+     * 清点商品 确认送达详情
+     * @param pageComFlowerOrderListDTO
+     * @return
+     */
+    @PostMapping("/shopFlower/pageOrderByDeliveryNo")
+    R pageOrderByDeliveryNo(@RequestBody PageComFlowerOrderListDTO pageComFlowerOrderListDTO);
+
 }

--
Gitblit v1.7.1