From 7e7f901b2172281dc294dfbc67e6ad00625f09f4 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 04 三月 2024 10:11:21 +0800
Subject: [PATCH] 合并代码

---
 cloud-server-management/src/main/java/com/dsh/course/feignClient/other/BallClient.java |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 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 411ff7c..528b5ab 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,15 +3,14 @@
 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.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;
 import io.swagger.models.auth.In;
 import org.springframework.cloud.openfeign.FeignClient;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.*;
 
 import java.util.ArrayList;
 import java.util.List;
@@ -20,6 +19,12 @@
 @FeignClient(value = "mb-cloud-other")
 public interface BallClient {
 
+    // 数据统计
+    @PostMapping("/student/getData")
+    List<TGameRecord> getData(@RequestBody GameDataQuery query);
+    // 根据门店ids 获取游戏记录
+    @PostMapping("/game/getGameByStoreIds")
+    List<Integer> getGameByStoreIds(@RequestBody List<Integer> storeIds);
     @PostMapping("/student/webStudentList")
     List<Game> list(@RequestBody BallQueryDto ballQueryDto);
     @PostMapping("/save")

--
Gitblit v1.7.1