|
@@ -1,21 +1,20 @@
|
|
|
package com.gyee.consumer.controller.peranalysis;
|
|
|
|
|
|
import com.gyee.common.domain.AjaxResult;
|
|
|
-import com.gyee.consumer.service.peranalysis.EBApersisService;
|
|
|
+import com.gyee.consumer.service.peranalysis.EbapersisService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
-import org.springframework.stereotype.Controller;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
-import javax.annotation.Resource;
|
|
|
|
|
|
@RestController
|
|
|
@RequestMapping("/ebapersis")
|
|
|
@Api(value = "EBA能效分析", tags = "EBA能效分析")
|
|
|
-public class EBAPerSisController {
|
|
|
+public class EbapersisController {
|
|
|
|
|
|
- @Resource
|
|
|
- private EBApersisService ebApersisService;
|
|
|
+ @Autowired
|
|
|
+ private EbapersisService ebapersisService;
|
|
|
|
|
|
|
|
|
/**
|
|
@@ -33,7 +32,7 @@ public class EBAPerSisController {
|
|
|
@RequestParam(value = "year") String year,
|
|
|
@RequestParam(value = "month") String month) {
|
|
|
|
|
|
- AjaxResult ajax = ebApersisService.getEBAPerSisList(companyid,regionid,station,year,month);
|
|
|
+ AjaxResult ajax = ebapersisService.getEBAPerSisList(companyid,regionid,station,year,month);
|
|
|
|
|
|
return ajax;
|
|
|
}
|