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