INSERT INTO account_correlation (date_str, gh_id, account_name, rel_gh_id, rel_account_name, status, correlation) VALUES (#{item.dateStr}, #{item.ghId}, #{item.accountName}, #{item.relGhId}, #{item.relAccountName}, #{item.status}, #{item.correlation}) INSERT INTO account_avg_info_v3 (gh_id, position, update_time, account_name, fans, read_avg, like_avg, status, account_type, account_mode, account_source, account_status, business_type, read_rate_avg) VALUES (#{item.ghId}, #{item.position}, #{item.updateTime}, #{item.accountName}, #{item.fans}, #{item.readAvg}, #{item.likeAvg}, #{item.status}, #{item.accountType}, #{item.accountMode}, #{item.accountSource}, #{item.accountStatus}, #{item.businessType}, #{item.readRateAvg}) delete from account_avg_info_v3 where gh_id = #{ghId} and update_time = #{date} update account_avg_info_v3 set status = 0 where gh_id = #{ghId} and update_time != #{date}