Skip to content

Commit

Permalink
fix: 查询controller 语法错误
Browse files Browse the repository at this point in the history
  • Loading branch information
lltx authored Jul 14, 2024
1 parent 77d2007 commit eae7900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion multiple/主子Contoller.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public class ${ClassName}Controller {
@GetMapping("/details" )
@PreAuthorize("@pms.hasPermission('${moduleName}_${functionName}_view')" )
public R getDetails(@ParameterObject ${ClassName}Entity ${className}) {
return R.ok(${className}Service.listDeep(Wrappers.query(${className})}));
return R.ok(${className}Service.listDeep(Wrappers.query(${className})));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion single/Controller.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public class ${ClassName}Controller {
@GetMapping("/details" )
@PreAuthorize("@pms.hasPermission('${moduleName}_${functionName}_view')" )
public R getDetails(@ParameterObject ${ClassName}Entity ${className}) {
return R.ok(${className}Service.list(Wrappers.query(${className})}));
return R.ok(${className}Service.list(Wrappers.query(${className})));
}

/**
Expand Down

0 comments on commit eae7900

Please sign in to comment.