update 代码生成器修改为MP分页(完成)

This commit is contained in:
疯狂的狮子li
2021-05-14 10:44:04 +08:00
parent 81b50b9b3c
commit 0c7e52d9c3
4 changed files with 42 additions and 25 deletions

View File

@ -56,7 +56,7 @@ public class ${ClassName}Controller extends BaseController {
return i${ClassName}Service.queryPageList(bo);
}
#elseif($table.tree)
public AjaxResult<${ClassName}Vo> list(${ClassName}QueryBo bo) {
public AjaxResult<List<${ClassName}Vo>> list(${ClassName}QueryBo bo) {
List<${ClassName}Vo> list = i${ClassName}Service.queryList(bo);
return AjaxResult.success(list);
}