whycrzg
2021-02-23 351b9a53cb9ecebdf8f79db0117f540d9c42c2a4
src/main/java/com/fgkj/controller/BatttestdataController.java
@@ -1,13 +1,10 @@
package com.fgkj.controller;
import com.fgkj.util.*;
import com.fgkj.dto.Batttestdata;
import com.fgkj.dto.ServiceModel;
import com.fgkj.services.BatttestdataService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -18,6 +15,7 @@
@RequestMapping("battTestData")
@RestController
@Api(tags = "battTestData接口")
//Perry TODO
public class BatttestdataController{
   @Resource
@@ -53,7 +51,7 @@
    * @return
    */
   @GetMapping("history_ky")
   @ApiOperation(notes = "跨域访问",value="历史数据查询")
   @ApiOperation(tags = "跨域", notes = "",value="历史数据查询 跨域专用")
   public ServiceModel findhistory_ky(@RequestBody Batttestdata btd){
      // btd = ActionUtil.getGson().fromJson(json, Batttestdata.class);
      ServiceModel model = service.serchByCondition_ky(btd);