修复生成树结构报错

feature/model
疯狂的狮子li 4 years ago
parent cddaf4b088
commit cb92e41b76

@ -138,6 +138,7 @@ public class ${ClassName}Controller extends BaseController {
}
#elseif($table.tree)
public AjaxResult list(${ClassName} ${className}) {
LambdaQueryWrapper<${ClassName}> lqw = new LambdaQueryWrapper<${ClassName}>();
List<${ClassName}> list = i${ClassName}Service.list(lqw);
return AjaxResult.success(list);
}

Loading…
Cancel
Save