代码生成器模板调整
This commit is contained in:
parent
56a1af3ecd
commit
1031098831
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue