mirror of
https://gitee.com/smallc/blade-tool.git
synced 2026-07-20 14:12:09 +08:00
🎉 优化代码生成
This commit is contained in:
parent
c80d129953
commit
3508d42e5e
|
|
@ -67,7 +67,7 @@ public class $!{table.controllerName} {
|
||||||
*/
|
*/
|
||||||
@GetMapping("/detail")
|
@GetMapping("/detail")
|
||||||
@ApiOperationSupport(order = 1)
|
@ApiOperationSupport(order = 1)
|
||||||
@ApiOperation(value = "详情", notes = "传入$!{table.entityPath}", position = 1)
|
@ApiOperation(value = "详情", notes = "传入$!{table.entityPath}")
|
||||||
public R<$!{entity}VO> detail($!{entity} $!{table.entityPath}) {
|
public R<$!{entity}VO> detail($!{entity} $!{table.entityPath}) {
|
||||||
$!{entity} detail = $!{table.entityPath}Service.getOne(Condition.getQueryWrapper($!{table.entityPath}));
|
$!{entity} detail = $!{table.entityPath}Service.getOne(Condition.getQueryWrapper($!{table.entityPath}));
|
||||||
return R.data($!{entity}Wrapper.build().entityVO(detail));
|
return R.data($!{entity}Wrapper.build().entityVO(detail));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user