代码生成器模板调整
This commit is contained in:
parent
56a1af3ecd
commit
1031098831
|
|
@ -62,9 +62,9 @@ public class ${EntityName}Controller {
|
||||||
@GetMapping("/detail")
|
@GetMapping("/detail")
|
||||||
public Object detail(@Validated @IDMust() @RequestParam("id") Integer id) {
|
public Object detail(@Validated @IDMust() @RequestParam("id") Integer id) {
|
||||||
#if($isEqually)
|
#if($isEqually)
|
||||||
${EntityName}DetailVo detail = i${EntityName}Service.detail(id);
|
|
||||||
#else
|
|
||||||
${EntityName}Vo detail = i${EntityName}Service.detail(id);
|
${EntityName}Vo detail = i${EntityName}Service.detail(id);
|
||||||
|
#else
|
||||||
|
${EntityName}DetailVo detail = i${EntityName}Service.detail(id);
|
||||||
#end
|
#end
|
||||||
return AjaxResult.success(detail);
|
return AjaxResult.success(detail);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue