class UserGroupDao extends BaseDao {

    public int deleteUserFromGroup(Long user_id, Long group_id) throws SQLException {
        String sql = "DELETE FROM user_group WHERE user_id=? AND group_id=?";
        return this.updataBysql(sql, Parameter.integerOf(StringUtils.EMPTY, user_id), Parameter.integerOf(StringUtils.EMPTY, group_id));
    }

}