From 8f2abbbda6c87c59d0c2c5da9979e78ea38e74db Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期二, 21 一月 2025 18:15:00 +0800
Subject: [PATCH] 合并代码

---
 cloud-server-management/src/main/java/com/dsh/course/feignClient/other/BallClient.java |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/cloud-server-management/src/main/java/com/dsh/course/feignClient/other/BallClient.java b/cloud-server-management/src/main/java/com/dsh/course/feignClient/other/BallClient.java
index d62b570..998ea21 100644
--- a/cloud-server-management/src/main/java/com/dsh/course/feignClient/other/BallClient.java
+++ b/cloud-server-management/src/main/java/com/dsh/course/feignClient/other/BallClient.java
@@ -3,6 +3,9 @@
 import com.dsh.course.dto.StudentSearch;
 import com.dsh.course.dto.TStudentDto;
 import com.dsh.course.feignClient.other.model.Banner;
+import com.dsh.course.feignClient.other.model.GameDataQuery;
+import com.dsh.course.feignClient.other.model.Site;
+import com.dsh.course.feignClient.other.model.TGameRecord;
 import com.dsh.guns.modular.system.model.*;
 import com.dsh.guns.modular.system.model.dto.BallQueryDto;
 import com.dsh.guns.modular.system.model.dto.BookingQuery;
@@ -16,6 +19,11 @@
 
 @FeignClient(value = "mb-cloud-other")
 public interface BallClient {
+
+    // 数据统计
+    @PostMapping("/student/getData")
+    @ResponseBody
+    List<TGameRecord> getData(@RequestBody GameDataQuery query);
     // 根据门店ids 获取游戏记录
     @PostMapping("/game/getGameByStoreIds")
     List<Integer> getGameByStoreIds(@RequestBody List<Integer> storeIds);
@@ -27,6 +35,13 @@
     void saveConfig(@RequestBody List<TGameConfig> gameConfigList);
     @PostMapping("/queryGame")
     Game queryGame(@RequestParam("id") Integer id);
+    // 查询未配置智慧球场的场地 智慧球场添加使用
+    @PostMapping("/getSiteList")
+    List<Site> getSiteList(@RequestParam("storeId") Integer storeId);
+    // 查询未配置智慧球场的场地 包含当前配置的场地 智慧球场编辑使用
+    @PostMapping("/getSiteList1")
+    List<Site> getSiteList1(@RequestParam("id") Integer id);
+
     @PostMapping("/listorder")
     List<Map<String, Object>> listorder(@RequestBody BookingQuery bookingQuery);
 }

--
Gitblit v1.7.1