算法提交

This commit is contained in:
hzj
2023-12-13 15:40:48 +08:00
parent e1f697f180
commit e5ca1cbd05
39 changed files with 1834 additions and 135 deletions

View File

@@ -1,41 +0,0 @@
package com.njcn.harmonic.controller.majornetwork;
import com.njcn.common.pojo.annotation.OperateInfo;
import com.njcn.common.pojo.enums.common.LogEnum;
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.common.utils.HttpResultUtil;
import com.njcn.harmonic.service.majornetwork.StationDataQualityService;
import com.njcn.web.controller.BaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* Description:
* Date: 2023/12/6 15:50【需求编号】
*
* @author clam
* @version V1.0.0
*/
@RestController
@Api(tags = "上报电能质量换流站指标统计明细及统计数据接口")
@RequiredArgsConstructor
@RequestMapping("/StationDataQuality")
public class StationDataQualitySendController extends BaseController {
private final StationDataQualityService stationDataQualityService;
@PostMapping("/report")
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
@ApiOperation("上报电能质量换流站指标统计明细及统计数据接口")
public HttpResult<Boolean> report() {
String methodDescribe = getMethodDescribe("report");
boolean flag = stationDataQualityService.report();
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, flag, methodDescribe);
}
}

View File

@@ -0,0 +1,27 @@
package com.njcn.harmonic.controller.send;
import com.njcn.web.controller.BaseController;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* Description:河北国网上送接口
* * 2.4.1.17接收电能质量主配网监测点统计数据接口
* Date: 2023/12/13 14:52【需求编号】
*
* @author clam
* @version V1.0.0
*/
@Slf4j
@RestController
@RequestMapping("/Converterdetail")
@Api(tags = "电能质量主配网监测点统计数据")
@RequiredArgsConstructor
public class ConverterdetailstatisticsController extends BaseController {
}

View File

@@ -0,0 +1,24 @@
package com.njcn.harmonic.controller.send;
import com.njcn.web.controller.BaseController;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* Description:2.4.1.9 接收电能质量典型源荷指标统计数据接口
* Date: 2023/12/13 14:52【需求编号】
*
* @author clam
* @version V1.0.0
*/
@Slf4j
@RestController
@RequestMapping("/pqTypicalSourceCreate")
@Api(tags = "能质量典型源荷指标统计数据")
@RequiredArgsConstructor
public class PqTypicalSourceCreateController extends BaseController {
}

View File

@@ -0,0 +1,29 @@
package com.njcn.harmonic.controller.send;
import com.njcn.web.controller.BaseController;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
*需求:
* * FWJK-PMS3.0-TC0013-电能质量管理两级贯通接口V1.10
* * 2.4.1.19 接收电能质量换流站指标统计明细数据接口
*
* @author clam
* @version V1.0.0
*/
@Slf4j
@RestController
@RequestMapping("/substationQuality")
@Api(tags = "接收电能质量换流站指标统计明细数据")
@RequiredArgsConstructor
public class SubstationQualityStatisticsController extends BaseController {
}