|
@@ -301,10 +301,11 @@ public class AppGameBettingController extends BaseController{
|
|
|
@PostMapping(value = "/listByGameId")
|
|
|
@ApiOperation(value = "游戏输赢统计(详情)", notes = "游戏输赢统计(详情)")
|
|
|
public HttpRetPageArr<AppGameBettingVO> getListByGameId(@RequestParam(name = "gameId") Long gameId, @RequestParam(name = "userId") Long userId,
|
|
|
- @RequestParam(name = "isWinning") Integer isWinning, @RequestParam(name = "strDate", required = false) String strDate)
|
|
|
+ @RequestParam(name = "isWinning") Integer isWinning, @RequestParam(name = "strDate", required = false) String strDate
|
|
|
+ ,@RequestParam(name = "bettingType", required = false) Integer bettingType)
|
|
|
{
|
|
|
startPage();
|
|
|
- List<AppGameBetting> list = appGameBettingService.selectListByGameId(gameId, userId, isWinning, strDate);
|
|
|
+ List<AppGameBetting> list = appGameBettingService.selectListByGameId(gameId, userId, isWinning, strDate, bettingType);
|
|
|
List<AppGameBettingVO> resultList = new ArrayList<>();
|
|
|
if(list != null && !list.isEmpty()){
|
|
|
AppGameItem appGameItem = new AppGameItem();
|