增加根据id查询决策信息接口
This commit is contained in:
parent
248fcdfa17
commit
1dcd9682a5
@ -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 = "报警提示信息分页")
|
||||
|
Loading…
Reference in New Issue
Block a user