|
|
@ -1,9 +1,11 @@ |
|
|
|
package com.hnac.hzims.bigmodel.api.feign; |
|
|
|
package com.hnac.hzims.bigmodel.api.feign; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
|
import com.hnac.hzims.bigmodel.business.dto.RunReportAnalyseRequest; |
|
|
|
import com.hnac.hzims.bigmodel.business.dto.RunReportAnalyseRequest; |
|
|
|
import com.hnac.hzims.bigmodel.business.dto.RunReportDataAnalyseDTO; |
|
|
|
import com.hnac.hzims.bigmodel.business.dto.RunReportDataAnalyseDTO; |
|
|
|
import com.hnac.hzims.bigmodel.interactive.service.IHznlmInvokeService; |
|
|
|
import com.hnac.hzims.bigmodel.interactive.service.IHznlmInvokeService; |
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
|
|
|
@ -15,12 +17,14 @@ import java.util.List; |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@RestController |
|
|
|
@RestController |
|
|
|
@AllArgsConstructor |
|
|
|
@AllArgsConstructor |
|
|
|
|
|
|
|
@Slf4j |
|
|
|
public class DataAnalyseClient implements IDataAnalyseClient { |
|
|
|
public class DataAnalyseClient implements IDataAnalyseClient { |
|
|
|
|
|
|
|
|
|
|
|
private final IHznlmInvokeService invokeService; |
|
|
|
private final IHznlmInvokeService invokeService; |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public R smartReportGeneratePower(RunReportAnalyseRequest req) { |
|
|
|
public R smartReportGeneratePower(RunReportAnalyseRequest req) { |
|
|
|
|
|
|
|
log.info("获取运行月报告传参详情为:{}", JSON.toJSONString(req)); |
|
|
|
invokeService.smartReportGeneratePower(req); |
|
|
|
invokeService.smartReportGeneratePower(req); |
|
|
|
return R.success("发起问答成功"); |
|
|
|
return R.success("发起问答成功"); |
|
|
|
} |
|
|
|
} |
|
|
|