whyclxw
2022-01-04 ff102f4cb1ae1c4d56625a402c1bed0c87bbbb53
src/main/java/com/whyc/controller/Fbs9100SetparamController.java
@@ -1,14 +1,12 @@
package com.whyc.controller;
import com.whyc.dto.Response;
import com.whyc.pojo.Fbs9100Setparam;
import com.whyc.service.Fbs9100SetparamService;
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.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
@Api(tags = "作业管理-放电计划管理")
@RestController
@@ -28,4 +26,10 @@
    private Response serchbyDev_id(@RequestParam int num,@RequestParam int testCmd,@RequestParam int devId){
        return service.serchbyDev_id(num,testCmd,devId);
    }
    @ApiOperation("在线监测-实时监控-重启设备")
    @PostMapping("updateMaintain")
    private Response updateMaintain(@RequestBody Fbs9100Setparam fbs9100Setparam){
        return service.updateMaintain(fbs9100Setparam);
    }
}