|
@@ -1,26 +1,26 @@
|
|
|
package com.gyee.consumer.service.peranalysis;
|
|
|
|
|
|
+import com.gyee.common.domain.AjaxResult;
|
|
|
import com.gyee.consumer.config.FeignConfiguration;
|
|
|
import com.gyee.consumer.fallback.peranalysis.ElePerAnalysisServiceFallbackFactory;
|
|
|
-import com.gyee.frame.common.domain.AjaxResult;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
|
-@FeignClient(name = "powercompare", url = "${provider.peranalyurl}",
|
|
|
+@FeignClient(name = "eleperanalysis", url = "${provider.peranalyurl}",
|
|
|
fallbackFactory = ElePerAnalysisServiceFallbackFactory.class,
|
|
|
configuration = FeignConfiguration.class)
|
|
|
public interface ElePerAnalysisService {
|
|
|
|
|
|
- @GetMapping("/powercompare/geteleperanalysislist")
|
|
|
+ @GetMapping("/eleperanalysis/geteleperanalysislist")
|
|
|
@ApiOperation(value = "月电量分析", notes = "月电量分析")
|
|
|
public AjaxResult getElePerAnalysisList(
|
|
|
- @RequestParam(value = "companyid", required = false) String companyid,
|
|
|
- @RequestParam(value = "regionid", required = false) String regionid,
|
|
|
- @RequestParam(value = "station", required = false) String station,
|
|
|
- @RequestParam(value = "year", required = false) String year,
|
|
|
- @RequestParam(value = "month", required = false) String month
|
|
|
+ @RequestParam(value = "companyid") String companyid,
|
|
|
+ @RequestParam(value = "regionid") String regionid,
|
|
|
+ @RequestParam(value = "station") String station,
|
|
|
+ @RequestParam(value = "year") String year,
|
|
|
+ @RequestParam(value = "month") String month
|
|
|
);
|
|
|
|
|
|
}
|