模板调整
This commit is contained in:
@@ -53,6 +53,7 @@ public class ${table.controllerName} {
|
||||
@GetMapping(value = "/list")
|
||||
public CommonResult.Pagination<${table.entityName}> list(Page<${table.entityName}> page) {
|
||||
CommonResult.Pagination<${table.entityName}> pagination = CommonResult.Pagination.init();
|
||||
page.transferOrderField(${table.entityName}.class);
|
||||
${serviceInstanceName}.page(page);
|
||||
return pagination.ofPage(page).message("查询成功");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user