insert into cm_brand_club_user (authUserId, authId, name, mobile, password, addTime, status, delFlag)
values (#{authUserId}, #{authId}, #{name}, #{mobile}, #{password}, #{addTime}, #{status}, 0)
insert into cm_brand_club_feedback(clubUserId, content, commitTime, handleStatus)
values (#{clubUserId}, #{content}, NOW(), 0)
update cm_brand_club_user
set mobile = #{mobile}
where id = #{id}
update cm_brand_club_user set delFlag = 1 where id = #{clubUserId}
update cm_brand_club_user
set password = #{password}
where mobile = #{mobile}
and authUserId = #{authUserId}
update cm_brand_club_user set authId = #{authId}, name = (select DISTINCT authParty from cm_brand_auth where id = #{authId}) where id = #{clubUserId}
update cm_brand_club_user
set status = #{status}
where id = #{clubUserId}
update cm_brand_club_user
set password=#{password}
where id = #{clubUserId}
update cm_brand_club_user
set authId = null, name = null
where id = #{clubUserId}