增加根据id查询决策信息接口

This commit is contained in:
joylink_zhangsai 2023-07-17 16:16:48 +08:00
parent 248fcdfa17
commit 1dcd9682a5

View File

@ -54,6 +54,13 @@ public class AlertTipController {
alertTipService.saveOrUpdate(saveDTO);
}
@SecurityRequirement(name = "jwt")
@Operation(summary = "根据id查询数据")
@GetMapping("/id/{id}")
public AlertTip getById(@PathVariable int id) {
return alertTipRepository.getById(id);
}
@SecurityRequirement(name = "jwt")
@Operation(summary = "分页查询报警提示信息")
@ApiResponse(description = "报警提示信息分页")