幸运数字-后台字段返回

This commit is contained in:
2025-06-18 16:04:25 +08:00
parent 96a35d8c19
commit 9b6f3a58a8
2 changed files with 5 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ public class LuckyNumberActInputRecordAdminVo extends SimpleUserVo {
private BigDecimal input;
@ApiModelProperty("当期幸运数字")
private Integer luckyNumber;
@ApiModelProperty("瓜分记录数字")
private Integer luckyPlayerNumber;
@ApiModelProperty("瓜分金币")
private BigDecimal output;
@ApiModelProperty("奖池累计金币")

View File

@@ -98,7 +98,10 @@ public class LuckyNumberActAdminService {
if (nowDate.equals(inputRecord.getDate()) && statusFlag) {
jackpot = jackpot.add(config.getConfigAddJackpot());
}
Integer luckyPlayerNumber = luckyNumberActRound.getLuckyPlayerNumber();
luckyNumberActInputRecordAdminVo.setLuckyPlayerNumber(luckyPlayerNumber == null ? 0 : luckyPlayerNumber);
luckyNumberActInputRecordAdminVo.setJackpot(jackpot);
luckyNumberActInputRecordAdminVo.setInput(inputRecord.getInput());
luckyNumberActInputRecordAdminVo.setPartitionId(partitionId);
luckyNumberActInputRecordAdminVo.setPartitionDesc(partitionEnum.getDesc());
luckyNumberActInputRecordAdminVo.setDate(inputRecord.getDate());