|
@@ -168,7 +168,7 @@ public class DeviceChargingHistoryServiceImpl extends ServiceImpl<DeviceCharging
|
|
|
Beans.copy(moonCountVos).target(() -> mercService.list(new MercDto.SelectList().setMercIds(moonCountVos.getProperty(DeviceChargingHistoryDto.MoonCountVo::getMercId).comparing())).getData(),
|
|
|
DeviceChargingHistoryDto.MoonCountVo::getMercId, DeviceChargingHistoryDto.MoonCountVo::getMercName, MercDto.Vo::getId, MercDto.Vo::getName)
|
|
|
.builder();
|
|
|
- return R.ok(moonCountVos.asc(DeviceChargingHistoryDto.MoonCountVo::getDate));
|
|
|
+ return R.ok(moonCountVos.desc(DeviceChargingHistoryDto.MoonCountVo::getDate));
|
|
|
}
|
|
|
|
|
|
@SneakyThrows
|