代码生成器模板调整

This commit is contained in:
TinyAnts 2022-07-13 17:43:59 +08:00
parent 56a1af3ecd
commit 1031098831
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}