bug修改
This commit is contained in:
@@ -36,9 +36,9 @@ import java.util.List;
|
|||||||
@Api(tags = "区域概览")
|
@Api(tags = "区域概览")
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
public class AreaStatisticalController extends BaseController {
|
public class AreaStatisticalController extends BaseController {
|
||||||
|
|
||||||
private final AreaStatisticalService areaStatisticalService;
|
private final AreaStatisticalService areaStatisticalService;
|
||||||
|
|
||||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||||
@PostMapping("/getAreaCalculation")
|
@PostMapping("/getAreaCalculation")
|
||||||
@ApiOperation("获取暂降区域电压等级月份统计")
|
@ApiOperation("获取暂降区域电压等级月份统计")
|
||||||
@@ -54,7 +54,7 @@ public class AreaStatisticalController extends BaseController {
|
|||||||
@ApiOperation("获取暂降区域节点图")
|
@ApiOperation("获取暂降区域节点图")
|
||||||
@ApiImplicitParam(name = "deviceInfoParam", value = "暂降事件分析参数", required = true)
|
@ApiImplicitParam(name = "deviceInfoParam", value = "暂降事件分析参数", required = true)
|
||||||
public HttpResult<List<NodeVO>> getCalculation(@RequestBody @Validated DeviceInfoParam.BusinessParam deviceInfoParam) {
|
public HttpResult<List<NodeVO>> getCalculation(@RequestBody @Validated DeviceInfoParam.BusinessParam deviceInfoParam) {
|
||||||
String methodDescribe = getMethodDescribe("getAreaCalculation");
|
String methodDescribe = getMethodDescribe("getCalculation");
|
||||||
List<NodeVO> calculation = areaStatisticalService.getCalculation(deviceInfoParam);
|
List<NodeVO> calculation = areaStatisticalService.getCalculation(deviceInfoParam);
|
||||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, calculation, methodDescribe);
|
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, calculation, methodDescribe);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user