|
|
|
@ -20,7 +20,7 @@ import org.dromara.common.excel.utils.ExcelUtil;
|
|
|
|
|
import ${packageName}.domain.vo.${ClassName}Vo;
|
|
|
|
|
import ${packageName}.domain.bo.${ClassName}Bo;
|
|
|
|
|
import ${packageName}.service.I${ClassName}Service;
|
|
|
|
|
#if($table.crud || $table.sub)
|
|
|
|
|
#if($table.crud)
|
|
|
|
|
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
|
|
|
|
#elseif($table.tree)
|
|
|
|
|
#end
|
|
|
|
@ -45,7 +45,7 @@ public class ${ClassName}Controller extends BaseController {
|
|
|
|
|
*/
|
|
|
|
|
@SaCheckPermission("${permissionPrefix}:list")
|
|
|
|
|
@GetMapping("/list")
|
|
|
|
|
#if($table.crud || $table.sub)
|
|
|
|
|
#if($table.crud)
|
|
|
|
|
public TableDataInfo<${ClassName}Vo> list(${ClassName}Bo bo, PageQuery pageQuery) {
|
|
|
|
|
return ${className}Service.queryPageList(bo, pageQuery);
|
|
|
|
|
}
|
|
|
|
|