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