From cbf2486983b77a27af9968bbb362cb8d43789115 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期三, 26 三月 2025 15:30:53 +0800
Subject: [PATCH] 修改统计bug和部分功能修改

---
 ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/ShopClient.java |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/ShopClient.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/ShopClient.java
index ff0a740..d561b63 100644
--- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/ShopClient.java
+++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/ShopClient.java
@@ -12,7 +12,9 @@
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestParam;
 
+import java.math.BigDecimal;
 import java.util.List;
+import java.util.Map;
 import java.util.Set;
 
 /**
@@ -48,6 +50,9 @@
 	@PostMapping("/shop/getShopIdByName")
     R<Set<Integer>> getShopIdByName(@RequestParam("shopName") String shopName);
 
+	@PostMapping("/shop/getManagerByManagerName")
+	R<Set<Long>> getManagerByManagerName(@RequestParam("managerName") String managerName);
+
 	@PostMapping("/shop-balance-statement/getList")
 	R<List<ShopBalanceStatement>> getShopBalanceStatementList(@RequestBody ShopBalanceStatement shopBalanceStatement);
 	
@@ -65,4 +70,22 @@
 	 */
 	@PostMapping("/shop/getAllShop")
 	R<List<Shop>> getAllShop();
+
+
+	@GetMapping("/shop/getShopStatistics")
+	public R<Map<String, BigDecimal>> getShopStatistics(@RequestParam("shopId") Integer shopId);
+
+	/**
+	 * 获取指定用户的服务商
+	 */
+	@GetMapping("/shop/getServiceProvider")
+	R<Shop> getServiceProvider(@RequestParam("appUserId") Long appUserId);
+
+	/**
+	 * 获取指定用户的高级服务商
+	 */
+	@GetMapping("/shop/getSuperiorServiceProvider")
+	public R<Shop> getSuperiorServiceProvider(@RequestParam("appUserId") Long appUserId);
+
+
 }

--
Gitblit v1.7.1