class TableEntityDao extends BaseDao {

    public List<TaskTableView> findTableEntityPageList(Paging<TaskTable> paging) throws SQLException {
        String sql = "select t1.id, t1.project_id,t1.dbset_id, t1.table_names,t1.custom_table_name,t1.view_names,t1.prefix,suffix, t1.cud_by_sp,t1.pagination,t1.generated,t1.version,t1.update_user_no,t1.update_time,t1.comment,t1.sql_style,t1.api_list,t1.approved,t1.approveMsg,t1.field_type, t2.name as dbset_name, t3.user_real_name from task_table t1 " +
                " left join databaseset t2 on t1.dbset_id = t2.id " +
                " left join login_users t3 on t1.update_user_no = t3.user_no " + appenCondition(paging);
        return this.queryBySql(sql, TaskTableView.class);
    }

}