mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update 查询feedlist
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
package com.jsowell.web.controller.pile;
|
||||
|
||||
import com.alibaba.fastjson2.JSON;
|
||||
import com.google.common.collect.Lists;
|
||||
import com.jsowell.common.annotation.Log;
|
||||
import com.jsowell.common.core.controller.BaseController;
|
||||
import com.jsowell.common.core.domain.AjaxResult;
|
||||
import com.jsowell.common.core.page.PageResponse;
|
||||
import com.jsowell.common.core.page.TableDataInfo;
|
||||
import com.jsowell.common.enums.BusinessType;
|
||||
import com.jsowell.common.exception.BusinessException;
|
||||
@@ -187,7 +189,13 @@ public class PileBasicInfoController extends BaseController {
|
||||
if (StringUtils.isBlank(dto.getPileSn())) {
|
||||
return AjaxResult.error("充电桩Sn不能为空");
|
||||
}
|
||||
return AjaxResult.success(pileMsgRecordService.getPileFeedList(dto));
|
||||
PageResponse pileFeedList = null;
|
||||
try {
|
||||
pileFeedList = pileMsgRecordService.getPileFeedList(dto);
|
||||
} catch (Exception e) {
|
||||
logger.error("查询充电桩通讯日志error", e);
|
||||
}
|
||||
return AjaxResult.success(pileFeedList);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user