|
|
@ -52,13 +52,13 @@ public class ${ClassName}Controller extends BaseController |
|
|
|
public TableDataInfo list(${ClassName} ${ClassName}) |
|
|
|
{ |
|
|
|
startPage(); |
|
|
|
List< ${ClassName}> list = ${className}Service.select ${ClassName}List(${ClassName}); |
|
|
|
List< ${ClassName}> list = ${className}Service.select${ClassName}List(${ClassName}); |
|
|
|
return getDataTable(list); |
|
|
|
} |
|
|
|
#elseif($table.tree) |
|
|
|
public AjaxResult list(${ClassName} ${ClassName}) |
|
|
|
{ |
|
|
|
List< ${ClassName}> list = ${className}Service.select ${ClassName}List(${ClassName}); |
|
|
|
List< ${ClassName}> list = ${className}Service.select${ClassName}List(${ClassName}); |
|
|
|
return success(list); |
|
|
|
} |
|
|
|
#end |
|
|
|