|
@@ -136,7 +136,8 @@ public class UserTicketController extends BaseApiController {
|
|
|
queryWrapper.eq("box_id",ticketBox.getBoxId());
|
|
|
Integer num = ticketAwardsService.groupSumQuantityByQueryWrapper(queryWrapper);
|
|
|
if (Objects.isNull(num) || num == 0) {
|
|
|
- ticketAwardsLabelVO.setHitRate(new BigDecimal(0));
|
|
|
+ continue;
|
|
|
+// ticketAwardsLabelVO.setHitRate(new BigDecimal(0));
|
|
|
}else {
|
|
|
ticketAwardsLabelVO.setHitRate(new BigDecimal(num).divide(new BigDecimal(quantity), 1, RoundingMode.HALF_UP));
|
|
|
}
|