mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
update
This commit is contained in:
@@ -3,6 +3,7 @@ package com.jsowell.api.uniapp.business;
|
||||
import com.alibaba.fastjson2.JSONObject;
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
import com.jsowell.common.core.controller.BaseController;
|
||||
import com.jsowell.common.exception.BusinessException;
|
||||
import com.jsowell.common.response.RestApiResponse;
|
||||
import com.jsowell.pile.dto.StationBusinessAnalyzeInfoDTO;
|
||||
import com.jsowell.pile.dto.StationStatisticsInfoDTO;
|
||||
@@ -82,7 +83,11 @@ public class BusinessStationInfoController extends BaseController {
|
||||
try {
|
||||
StationBusinessAnalyzeInfoVO vo = pileStationInfoService.getStationMonthlyBusinessAnalyzeInfo(dto);
|
||||
response = new RestApiResponse<>(ImmutableMap.of("stationBusinessAnalyzeInfoVO", vo));
|
||||
} catch (Exception e) {
|
||||
}catch (BusinessException e){
|
||||
logger.error("获取站点运营分析信息 error:{}", e);
|
||||
response = new RestApiResponse<>(e.getCode(), e.getMessage());
|
||||
}
|
||||
catch (Exception e) {
|
||||
logger.error("获取站点运营分析信息 error", e);
|
||||
response = new RestApiResponse<>(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user