whyclxw
2025-05-28 e16302f9d475c7cc4dd18c5abf1a23cb5502e362
src/main/java/com/whyc/controller/PwrappAcinfController.java
@@ -11,7 +11,7 @@
@Api(tags = "在线监测-实时监控")
@RestController
@RequestMapping("PwrappAcinfAction")
public class PwrappAcinfController {
public class PwrappAcinfController extends BaseController{
    @Autowired
    private PwrappAcinfService service;
@@ -20,4 +20,9 @@
    public Response updatePowerACConfigById(@RequestBody PwrappAcinf acinf){
        return  service.updatePowerACConfigById(acinf);
    }
    @ApiOperation(value = "读取电源ac设备设置",notes = "PowerConfigAction_power_getPowerACConfigById")
    @GetMapping("getPowerACConfigById")
    public Response getPowerACConfigById(@RequestParam int powerDeviceId){
        return  service.getPowerACConfigById(powerDeviceId);
    }
}