添加治理波形图后台绘制功能
This commit is contained in:
@@ -6,6 +6,7 @@ import com.njcn.common.pojo.enums.response.CommonResponseEnum;
|
||||
import com.njcn.common.pojo.response.HttpResult;
|
||||
import com.njcn.common.utils.HttpResultUtil;
|
||||
import com.njcn.csharmonic.param.CsEventUserQueryParam;
|
||||
import com.njcn.csharmonic.pojo.vo.CsEventVO;
|
||||
import com.njcn.csharmonic.pojo.vo.EventDetailVO;
|
||||
import com.njcn.csharmonic.service.CsEventPOService;
|
||||
import com.njcn.event.file.pojo.dto.WaveDataDTO;
|
||||
@@ -51,10 +52,20 @@ public class EventController extends BaseController {
|
||||
@ApiImplicitParam(name = "eventId", value = "暂态事件索引", required = true)
|
||||
public HttpResult<WaveDataDTO> analyseWave(String eventId) {
|
||||
String methodDescribe = getMethodDescribe("analyseWave");
|
||||
WaveDataDTO wave = csEventPOService.analyseWave(eventId);
|
||||
WaveDataDTO wave = csEventPOService.analyseWave(eventId,1);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, wave, methodDescribe);
|
||||
}
|
||||
|
||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||
@GetMapping("/getWavePics")
|
||||
@ApiOperation("获取事件波形图")
|
||||
@ApiImplicitParam(name = "eventId", value = "暂态事件索引", required = true)
|
||||
public HttpResult<CsEventVO> getWavePics(String eventId) {
|
||||
String methodDescribe = getMethodDescribe("getWavePics");
|
||||
CsEventVO eventVO = csEventPOService.getWavePics(eventId,2);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, eventVO, methodDescribe);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user