From a540a342416302805adfb1599599bbbbaa191030 Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期五, 08 八月 2025 23:42:13 +0800
Subject: [PATCH] 赛事模块

---
 cloud-server-management/src/main/java/com/dsh/course/feignClient/communityWorldCup/WorldCupClient.java |   40 +++++++++++++++++++++++++++++++++++++++-
 1 files changed, 39 insertions(+), 1 deletions(-)

diff --git a/cloud-server-management/src/main/java/com/dsh/course/feignClient/communityWorldCup/WorldCupClient.java b/cloud-server-management/src/main/java/com/dsh/course/feignClient/communityWorldCup/WorldCupClient.java
index 583623b..8ad7be5 100644
--- a/cloud-server-management/src/main/java/com/dsh/course/feignClient/communityWorldCup/WorldCupClient.java
+++ b/cloud-server-management/src/main/java/com/dsh/course/feignClient/communityWorldCup/WorldCupClient.java
@@ -1,9 +1,15 @@
 package com.dsh.course.feignClient.communityWorldCup;
 
 import com.dsh.course.feignClient.communityWorldCup.Model.*;
+import com.dsh.course.model.dto.UserDetailsOfSearch;
+import com.dsh.course.model.vo.WorldCupUserListVo;
+import com.dsh.guns.modular.system.model.WorldCupQuery;
 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.ResponseBody;
 
+import java.util.List;
 import java.util.Map;
 
 /**
@@ -12,7 +18,23 @@
  */
 @FeignClient("mb-cloud-communityWorldCup")
 public interface WorldCupClient {
+    @PostMapping("/worldCup/getWorldCupIncome")
+    List<WorldCupIncomeVO> getWorldCupIncome( WorldCupQuery query);
 
+    /**
+     * 门店角色:查询属于门店的学员
+     * @param storeIds
+     * @return
+     */
+    @PostMapping("/worldCup/getStudentIds")
+    List<Integer> getStudentIds(StoreIds storeIds);
+    /**
+     * 门店角色:查询属于门店的会员
+     * @param storeIds
+     * @return
+     */
+    @PostMapping("/worldCup/getUserIds")
+    List<Integer> getUserIds(StoreIds storeIds);
     /**
      * 获取比赛管理列表页数据
      * @param worldCupListAll
@@ -38,7 +60,7 @@
      * @return  数据id
      */
     @PostMapping("/worldCup/editWorldCup")
-    void editWorldCup(WorldCup worldCup);
+    void editWorldCup(@RequestBody String worldCup);
 
 
     /**
@@ -110,6 +132,10 @@
     void changeScore(ChangeScore changeScore);
 
 
+    @PostMapping("/worldCup/getUserGameRecordList")
+    Map<String, Object> getUserGameRecordList(WorldCupGameStatisticsInfoList worldCupGameStatisticsInfoList);
+
+
     /**
      * 获取用户比赛记录
      * @param userGameRecordList
@@ -117,4 +143,16 @@
      */
     @PostMapping("/worldCup/userGameRecordList")
     Map<String, Object> userGameRecordList(UserGameRecordList userGameRecordList);
+    
+    /**
+     * 获取已报名人数
+     * @param id
+     * @return
+     */
+    @PostMapping("/worldCup/getRegisteredNumber")
+    int getRegisteredNumber(Integer worldCupId);
+
+    @PostMapping("/worldCup/userDetailsOfSearch")
+    List<WorldCupUserListVo> userDetailsOfSearch(UserDetailsOfSearch search);
+
 }

--
Gitblit v1.7.1