Changes
parent
7cc809d458
commit
8241f3d4ba
|
@ -85,12 +85,12 @@ public class RuleController {
|
||||||
ExcelUtil<Rule> util = new ExcelUtil<Rule>(Rule.class);
|
ExcelUtil<Rule> util = new ExcelUtil<Rule>(Rule.class);
|
||||||
util.exportExcel(response, list, "规则");
|
util.exportExcel(response, list, "规则");
|
||||||
}
|
}
|
||||||
|
//
|
||||||
@GetMapping("/findById/{id}")
|
// @GetMapping("/findById/{id}")
|
||||||
@Operation(summary = "规则详细", description = "规则详细")
|
// @Operation(summary = "规则详细", description = "规则详细")
|
||||||
public Result findById(@PathVariable("id") Long id) {
|
// public Result findById(@PathVariable("id") Long id) {
|
||||||
return Result.success(ruleService.list(new LambdaQueryWrapper<>() {{
|
// return Result.success(ruleService.list(new LambdaQueryWrapper<>() {{
|
||||||
eq(Rule::getId, id);
|
// eq(Rule::getId, id);
|
||||||
}}));
|
// }}));
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue