insert yt_platform_banned
(
banned_id,
user_id,
app_id,
agent_id,
channel_id,
banned_time,
banned_reason,
banned_type,
banned_limit,
operator,
operator_name,
risk_code
)
values
(
#{bannedId},
#{userId},
#{appId},
#{agentId},
#{channelId},
#{bannedTime},
#{bannedReason},
#{bannedType},
#{bannedLimit},
#{operator},
#{operatorName},
#{riskCode}
)
update yt_app_user
app_id = {appId},
nick_name = #{nickName},
registry_time = #{registryTime},
last_login_time = #{lastLoginTime},
last_login_ip = #{lastLoginIp},
login_days = #{loginDays},
channel_type = #{channelType},
channel_origin = #{channelOrigin},
user_type = #{userType},
total_video = #{totalVideo},
total_income = #{totalIncome},
red_packet_balance = #{redPacketBalance},
red_packet_amount = #{redPacketAmount},
points_balance = #{pointsBalance},
points_total = #{pointsTotal},
withdraw_total = #{withdrawTotal},
sign_days = #{signDays},
user_status = #{userStatus},
lock_reason = #{lockReason},
where user_id = #{userId}
update yt_app_user set user_status = 3
where user_id in
#{item}
update yt_app_user set user_status = 1
where user_id in
#{item}