whycrzh
2021-01-28 c8332186836b3dfe1fbd32d7bec7cd29a57e1888
src/main/java/com/fgkj/controller/ram/rt/Rtstate_rtController.java
@@ -5,6 +5,7 @@
import com.fgkj.dto.ServiceModel;
import com.fgkj.services.rt.Rtstate_rtService;
import io.swagger.annotations.Api;
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;
@@ -14,7 +15,7 @@
@RequestMapping("rtStateRt")
@RestController
@Api
@Api(tags = "rtStateRt接口 Deprecated")
@Deprecated
public class Rtstate_rtController{
@@ -23,6 +24,7 @@
   //测试数据——实时查询中左下角的充放电统计
   @GetMapping("disOrCharge")
   @ApiOperation(notes = "",value="测试数据——实时查询中左下角的充放电统计")
   public ServiceModel serchDisOrChargr(){
      ServiceModel model= service.serchDisOrChargr();
      return model;
@@ -30,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);
@@ -38,6 +41,7 @@
   
   //首页上饼状图电池状态比例
   @GetMapping("battStateRate")
   @ApiOperation(notes = "",value="首页上饼状图电池状态比例")
   public ServiceModel serchBattStateRate(){
      ServiceModel model = service.serchBattStateRate();
      return model;