调整,添加故障查询功能
All checks were successful
local-test分支构建docker并发布运行 / Docker-Build (push) Successful in 1m14s

This commit is contained in:
tiger_zhou 2024-11-07 09:42:47 +08:00
parent eb06bcf1c9
commit 38c2005d82

View File

@ -96,7 +96,7 @@ public class FaultQueryController {
@SecurityRequirement(name = "jwt") @SecurityRequirement(name = "jwt")
@Operation(summary = "根据id删除数据") @Operation(summary = "根据id删除数据")
@ApiResponse(description = "是否确实删除掉了一条数据") @ApiResponse(description = "是否确实删除掉了一条数据")
@DeleteMapping("/id/{id}") @DeleteMapping("/{id}")
// @CommonLogAnno(name = "决策信息-删除", logType = CommonLogTypeEnum.OPERATE, subLogType = SubEventType.DELETE) // @CommonLogAnno(name = "决策信息-删除", logType = CommonLogTypeEnum.OPERATE, subLogType = SubEventType.DELETE)
public boolean deleteById(@PathVariable int id) { public boolean deleteById(@PathVariable int id) {
return this.faultQueryRepository.removeById(id); return this.faultQueryRepository.removeById(id);