|
@@ -85,7 +85,7 @@ public class ActivityController extends BaseController {
|
|
|
order.setScale(order.getMoney().multiply(new BigDecimal(100)).divide(order.getMaxAmount(), 2, BigDecimal.ROUND_HALF_UP));
|
|
|
}
|
|
|
}
|
|
|
- orders.sort(Comparator.comparing(OrderStatisDto::getMoney).reversed());
|
|
|
+ orders.sort(Comparator.comparing(OrderStatisDto::getScale).reversed());
|
|
|
|
|
|
LuckStatisDto luckStatisDto = new LuckStatisDto();
|
|
|
luckStatisDto.setOrderStatisDtoList(orders);
|