whycrzg
2021-02-23 351b9a53cb9ecebdf8f79db0117f540d9c42c2a4
src/main/java/com/fgkj/controller/ram/rt/Rtstate_rtController.java
@@ -5,22 +5,26 @@
import com.fgkj.dto.ServiceModel;
import com.fgkj.services.rt.Rtstate_rtService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
@RequestMapping("rtStateRt")
@RestController
@Api
@Api(tags = "rtStateRt接口 Deprecated")
@Deprecated
public class Rtstate_rtController{
   @Autowired
   @Resource
   private Rtstate_rtService service;
   //测试数据——实时查询中左下角的充放电统计
   @GetMapping("disOrCharge")
   @ApiOperation(notes = "",value="测试数据——实时查询中左下角的充放电统计")
   public ServiceModel serchDisOrChargr(){
      ServiceModel model= service.serchDisOrChargr();
      return model;
@@ -28,6 +32,7 @@
   
   //电池组实时情况+实时电池续航能力查询
   @GetMapping("battLife")
   @ApiOperation(notes = "",value="电池组实时情况+实时电池续航能力查询")
   public ServiceModel serchBattLife(@RequestBody Batt_Maint_Dealarm bmd){
      // Batt_Maint_Dealarm bmd = getGson().fromJson(json, Batt_Maint_Dealarm.class);
      ServiceModel model = service.serchBattLife(bmd);
@@ -36,6 +41,7 @@
   
   //首页上饼状图电池状态比例
   @GetMapping("battStateRate")
   @ApiOperation(notes = "",value="首页上饼状图电池状态比例")
   public ServiceModel serchBattStateRate(){
      ServiceModel model = service.serchBattStateRate();
      return model;