update groups_relation
set start_time = null,
expiry_time = null,
status = #{entity.status},
renew_status = #{entity.renewStatus},
is_handle = #{entity.isHandle},
user_id = #{entity.userId},
account = null,
customer_service = null,
password = null,
recharge_status = null,
send_time = null,
submit_time = null,
operator = null,
yhs_id = 0,
cmt = 0,
aq_type = 1,
invite_link = null,
contact = null,
is_vip = 0,
recharge_num = null,
recharge_remain_num = null,
card_key = null,
gpt_task_id = null,
recharge_error_info = null,
bp_verify_code = null,
gpt_token = null,
is_frozen = 0,
unfrozen_time = null,
reserved_days = null
where id = #{entity.id}
and expiry_time = #{expireTime}
update groups_relation set expiry_time = DATE_ADD(expiry_time,interval 1 day) where id = #{relationId} and user_id = #{userId}