| | |
| | | import com.dsh.course.dto.StudentSearch; |
| | | import com.dsh.course.dto.TStudentDto; |
| | | import com.dsh.course.feignClient.other.model.Banner; |
| | | import com.dsh.guns.modular.system.model.AdvertisementChangeStateDTO; |
| | | import com.dsh.guns.modular.system.model.AdvertisementQuery; |
| | | import com.dsh.guns.modular.system.model.Game; |
| | | 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; |
| | | 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.*; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @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); |
| | | @PostMapping("/student/webStudentList") |
| | | List<Game> list(@RequestBody BallQueryDto ballQueryDto); |
| | | @PostMapping("/save") |
| | | void save(@RequestBody Game game); |
| | | Integer save(@RequestBody Game game); |
| | | @PostMapping("/saveConfig") |
| | | 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); |
| | | } |