whycrzh
2021-01-28 c8332186836b3dfe1fbd32d7bec7cd29a57e1888
src/main/java/com/fgkj/controller/Batt_param_lowController.java
@@ -8,6 +8,7 @@
import com.fgkj.services.Batt_param_lowService;
import com.google.gson.Gson;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@@ -17,7 +18,7 @@
@RequestMapping("battParamLow")
@RestController
@Api
@Api(tags = "battParamLow接口")
public class Batt_param_lowController{
   @Resource
@@ -29,6 +30,7 @@
   // private String blowstr;
   @GetMapping("all")
   @ApiOperation(notes = "",value="查询所有")
   public ServiceModel searchAll(){
      ServiceModel model=service.searchAll();
      //System.out.println(result);
@@ -36,6 +38,7 @@
   }
   @PutMapping("updateAll")
   @ApiOperation(notes = "",value="全部更新")
   public ServiceModel updateAll(@RequestBody List<Batt_param_low> list){
      Gson gson=new Gson();
      UserRole u=new UserRole();