class ServerGroupDao extends BaseDao {

    public List<ServerGroupView> findServerGroupPageList(Paging<ServerGroup> paging) throws SQLException {
        String sql = "SELECT t1.id, t1.name, t1.comment, t1.insert_time, t1.update_time, t2.user_real_name FROM server_group t1 " +
                "left join login_users t2 on t1.update_user_no = t2.user_no " + appenCondition(paging);
        return this.queryBySql(sql, ServerGroupView.class);
    }

}