class UserGroupDao extends BaseDao {

    public Long getMemberTotalCount(Paging<UserGroup> paging) throws SQLException {
        String sql = "SELECT count(1) FROM user_group t1 LEFT JOIN login_users t2 ON t1.user_id = t2.id " + appenMenberWhere(paging);
        return this.getCount(sql);
    }

}