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