whycrzg
2021-02-23 351b9a53cb9ecebdf8f79db0117f540d9c42c2a4
src/main/java/com/fgkj/controller/Batttestdata_infController.java
@@ -1,7 +1,5 @@
package com.fgkj.controller;
import com.fgkj.util.*;
import com.fgkj.dto.BattInf;
import com.fgkj.dto.Batt_Maint_Dealarm;
import com.fgkj.dto.Batttestdata_inf;
@@ -9,19 +7,18 @@
import com.fgkj.services.Batttestdata_infService;
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;
import org.springframework.web.bind.annotation.RestController;
import java.text.ParseException;
import javax.annotation.Resource;
import java.text.ParseException;
@RequestMapping("battTestDataInf")
@RestController
@Api(tags = "battTestDataInf接口")
//Perry TODO
public class Batttestdata_infController{
   
   ServiceModel model = new ServiceModel();
@@ -110,7 +107,7 @@
    /* 根据电池组id查询电池组的inf表中的放电信息    <!------    跨域访问     --------->
    */
    @GetMapping("battTestInfDataById_ky")
   @ApiOperation(notes = "跨域访问",value="根据电池组id查询电池组的inf表中的放电信息")
   @ApiOperation(tags = "跨域", notes = "",value="根据电池组id查询电池组的inf表中的放电信息 跨域专用")
   public ServiceModel searchBattTestInfDataById_ky(@RequestBody Batttestdata_inf bti){
      // Batttestdata_inf bti = ActionUtil.getGson().fromJson(json, Batttestdata_inf.class);
      model=service.serchByCondition_ky(bti);