whycrzh
2021-01-28 c8332186836b3dfe1fbd32d7bec7cd29a57e1888
src/main/java/com/fgkj/controller/Ld9/Ld9testdataController.java
@@ -4,6 +4,7 @@
import com.fgkj.dto.ServiceModel;
import com.fgkj.services.Ld9.Ld9testdataService;
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;
@@ -13,7 +14,7 @@
@RequestMapping("ld9TestData")
@RestController
@Api
@Api(tags = "ld9TestData接口")
public class Ld9testdataController{
   @Resource
@@ -21,6 +22,7 @@
   
   //历史数据查询
   @GetMapping("byCondition")
   @ApiOperation(notes = "Table 'db_ld9_testdata.tb_ld9testdata_0' doesn't exist",value="历史数据查询")
   public ServiceModel serchByCondition(@RequestBody Ld9testdata ld9) {
      // Ld9testdata ld9=ActionUtil.getGson().fromJson(json, Ld9testdata.class);
      ServiceModel model=service.serchByCondition(ld9);
@@ -29,6 +31,7 @@
   }
   //查询某次测试下电池组节数放电情况
   @GetMapping("byInfo")
   @ApiOperation(notes = "",value="查询某次测试下电池组节数放电情况")
   public ServiceModel serchByInfo(@RequestBody Ld9testdata ld9) {
      // Ld9testdata ld9=ActionUtil.getGson().fromJson(json, Ld9testdata.class);
      ServiceModel model=service.serchByInfo(ld9);