|
@@ -85,6 +85,9 @@ public class DeviceAlgorithmChargingHisController {
|
|
|
page.getPage().setSize(-1);
|
|
|
page.setCurMercId(MercAuthUtils.getMercId());
|
|
|
PageBean<DeviceAlgorithmChargingHistoryDto.PageByTopMercVO> pageVoPageBean = R.feignCheckData(deviceAlgorithmChargingHistoryService.pageByTopMerc(page));
|
|
|
+ if (pageVoPageBean == null) {
|
|
|
+ return R.ok(0);
|
|
|
+ }
|
|
|
List<DeviceAlgorithmChargingHistoryDto.PageByTopMercVO> records = pageVoPageBean.getRecords();
|
|
|
int totalAgentMoney = 0;
|
|
|
if (CollUtil.isNotEmpty(records)) {
|