彩票猪手精推版

This commit is contained in:
lihanqi
2026-03-18 20:55:49 +08:00
parent ec597ffe2e
commit cfd7226f95
4 changed files with 4 additions and 4 deletions

View File

@@ -25,6 +25,6 @@ public class GlobalExceptionHandler {
@ExceptionHandler(RuntimeException.class) @ExceptionHandler(RuntimeException.class)
public ApiResponse<?> runtimeExceptionHandler(RuntimeException e) { public ApiResponse<?> runtimeExceptionHandler(RuntimeException e) {
log.error("runtimeException", e); log.error("runtimeException", e);
return ResultUtils.error(ErrorCode.SYSTEM_ERROR, e.getMessage()); return ResultUtils.error(ErrorCode.SYSTEM_ERROR);
} }
} }

View File

@@ -5611,7 +5611,7 @@ public class BallAnalysisService {
Map<String, BigDecimal> totalBonusByPrizeLevel = new HashMap<>(); Map<String, BigDecimal> totalBonusByPrizeLevel = new HashMap<>();
// 初始化所有等级 // 初始化所有等级
String[] prizeLevels = {"一等奖", "二等奖", "三等奖", "四等奖", "五等奖", "六等奖", "未中奖"}; String[] prizeLevels = {"一等奖", "二等奖", "三等奖", "四等奖", "五等奖", "六等奖", "福运奖", "未中奖"};
for (String level : prizeLevels) { for (String level : prizeLevels) {
countByPrizeLevel.put(level, 0); countByPrizeLevel.put(level, 0);
totalBonusByPrizeLevel.put(level, BigDecimal.ZERO); totalBonusByPrizeLevel.put(level, BigDecimal.ZERO);

View File

@@ -233,7 +233,7 @@ public class DltCombinationAnalysisServiceImpl implements DltCombinationAnalysis
*/ */
private Long getLatestDrawId() { private Long getLatestDrawId() {
String latestDrawId = dltDrawRecordService.lambdaQuery() String latestDrawId = dltDrawRecordService.lambdaQuery()
.orderByDesc(DltDrawRecord::getDrawId) .orderByDesc(DltDrawRecord::getDrawDate)
.last("LIMIT 1") .last("LIMIT 1")
.oneOpt() .oneOpt()
.map(DltDrawRecord::getDrawId) .map(DltDrawRecord::getDrawId)

View File

@@ -687,7 +687,7 @@ public class ExcelDataImporter {
try { try {
BigDecimal bd = new BigDecimal(Double.toString(value)); BigDecimal bd = new BigDecimal(Double.toString(value));
return bd.setScale(2, RoundingMode.HALF_UP).doubleValue(); return bd.setScale(3, RoundingMode.HALF_UP).doubleValue();
} catch (Exception e) { } catch (Exception e) {
log.warn("数值格式化失败:{}", value); log.warn("数值格式化失败:{}", value);
return value; return value;