mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-17 06:31:34 +08:00
代码生成器模板调整
This commit is contained in:
@@ -62,9 +62,9 @@ public class ${EntityName}Controller {
|
||||
@GetMapping("/detail")
|
||||
public Object detail(@Validated @IDMust() @RequestParam("id") Integer id) {
|
||||
#if($isEqually)
|
||||
${EntityName}DetailVo detail = i${EntityName}Service.detail(id);
|
||||
#else
|
||||
${EntityName}Vo detail = i${EntityName}Service.detail(id);
|
||||
#else
|
||||
${EntityName}DetailVo detail = i${EntityName}Service.detail(id);
|
||||
#end
|
||||
return AjaxResult.success(detail);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user