From 33a80f6b0585a320872477f85a50aa10ca1d20b1 Mon Sep 17 00:00:00 2001 From: yanghui <2536613402@qq.com> Date: 星期一, 28 十一月 2022 18:01:51 +0800 Subject: [PATCH] Merge branch 'local_20221104' into huacheng_test --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 101 +++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 91 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 63ac596..80ee2d1 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 @@ -6580,6 +6580,14 @@ R<ConvenientMerchantVO> getUserMerchantInfoByAccount(@RequestParam("account") String account); /** + * 获取用户便民服务商家详情 + * @param account 商家绑定账号 + * @return + */ + @GetMapping("/convenient/getMerchantInfoByAccount") + R<ConvenientMerchantVO> getMerchantInfoByAccount(@RequestParam("account") String account); + + /** * 获取商便民服务商家信息 * @param userId * @return @@ -10758,7 +10766,7 @@ * 收货地址id * @return 删除结果 */ - @PostMapping("/shopFlower/shopDelUserAddress") + @DeleteMapping("/shopFlower/shopDelUserAddress") R shopFlowerDelUserAddress(@RequestParam("addressId") Long addressId); /** @@ -10794,8 +10802,8 @@ * @param orderId 订单id * @return 订单详情 */ - @PostMapping("/shopFlower/orderDetail") - R orderDetailFlower(@RequestParam("orderId") Long orderId); + @GetMapping("/shopFlower/orderDetail") + R orderDetailFlower(@RequestParam("orderId") Long orderId,@RequestParam(value = "phone",required = false) String phone); /** * 根据订单id取消订单 @@ -10812,7 +10820,7 @@ * @param orderId 订单id * @return 删除结果 */ - @PostMapping("/shopFlower/orderDelete") + @DeleteMapping("/shopFlower/orderDelete") R orderDeleteFlower(@RequestParam("orderId") Long orderId); /** @@ -10881,7 +10889,7 @@ * @param pageComShopFlowerEvaluateDTO * @return */ - @PostMapping("/pageEvaluate") + @PostMapping("/shopFlower/pageEvaluate") R pageEvaluate(@RequestBody PageComShopFlowerEvaluateDTO pageComShopFlowerEvaluateDTO); /** @@ -10984,18 +10992,19 @@ /** * 统计查询订单数量 * @param deliveryType + * @param userId * @return */ @GetMapping("/shopFlower/selectCountByDeliveryType") - R selectCountByDeliveryType(Integer deliveryType,Long storeId); + R selectCountByDeliveryType(@RequestParam("deliveryType") Integer deliveryType,@RequestParam("userId") Long userId); /** * 查询我的店铺各类统计数据 - * @param storeId + * @param userId * @return */ - @GetMapping("/shopFlower/selectCountByStoreId") - R selectCountByStoreId(Long storeId); + @GetMapping("/shopFlower/selectCountByUserId") + R selectCountByUserId(@RequestParam("userId") Long userId); /** @@ -11029,5 +11038,77 @@ * @return */ @GetMapping("/shopFlower/selectCountGroupStatus") - R selectCountGroupStatus(Long storeId); + 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); + + /** + * 商家后台经营数据统计-上 + * @param storeId + * @return + */ + @GetMapping("/shopFlower/selectSumOrderAndAmountByStoreId") + R selectSumOrderAndAmountByStoreId(@RequestParam("storeId") Long storeId); + + /** + * 统计时间区域的订单量 15天 30天 一年 + * @param storeId + * @param type + * @return + */ + @GetMapping("/shopFlower/selectOrderLineChart") R selectOrderLineChart(@RequestParam("storeId") Long storeId,@RequestParam("type") Integer type,@RequestParam("tab") Integer tab); + + /** + * 统计上架的上下架商品数量 + * @param userId + * @return + */ + @GetMapping("/shopFlower/countSaleByUserId") + R countSaleByUserId(@RequestParam("userId") Long userId); } -- Gitblit v1.7.1