whycrzg
2021-02-23 351b9a53cb9ecebdf8f79db0117f540d9c42c2a4
src/main/java/com/fgkj/controller/BatttestdatastopController.java
@@ -4,25 +4,28 @@
import com.fgkj.dto.Batttestdatastop;
import com.fgkj.dto.ServiceModel;
import com.fgkj.services.BatttestdatastopService;
import com.opensymphony.xwork2.ActionSupport;
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("battTestDataStop")
@RestController
@Api
@Api(tags = "battTestDataStop接口")
//Perry TODO
public class BatttestdatastopController{
   @Autowired
   @Resource
   private BatttestdatastopService service;
   // private Batttestdatastop btds;
   @GetMapping("byInfo")
   @ApiOperation(notes = "",value="历史监测单体电压折线图")
   public ServiceModel findByInfo(@RequestBody Batttestdatastop btds){
      //System.out.println(btds);
      ServiceModel model=service.serchByCondition(btds);
@@ -31,6 +34,7 @@
   
   //7.1电池放电落后单体筛选,并将电容告警的电池组加到告警表中
   @GetMapping("badBatt")
   @ApiOperation(notes = "",value="电池放电落后单体筛选,并将电容告警的电池组加到告警表中")
   public ServiceModel serchBadBatt(@RequestBody Batt_Maint_Dealarm bmd){
      // Batt_Maint_Dealarm bmd = ActionUtil.getGson("yyyy-MM-dd").fromJson(result, Batt_Maint_Dealarm.class);
      //System.out.println(bmd);