INSERT INTO xfsg_shop_account ( shop_id, system_name, account, bound_phone, password_salt, password, status, entry_status, last_sync_time, secondary_password, remark ) VALUES ( #{item.shopId}, #{item.systemName}, #{item.account}, #{item.boundPhone}, #{item.passwordSalt}, #{item.password}, #{item.status}, #{item.entryStatus}, #{item.lastSyncTime}, #{item.secondaryPassword}, #{item.remark} ) UPDATE xfsg_shop_account status = #{status}, last_sync_time = #{syncTime}, account = #{ylsCode}, WHERE shop_id = #{shopId} and system_name in #{systemName} UPDATE xfsg_shop_account SET entry_status = #{entryStatus,jdbcType=BIT} WHERE shop_id = #{shopId} and system_name in #{systemName} UPDATE xfsg_shop_account SET account = #{account}, password = #{password}, status = #{status} WHERE shop_id = #{shopId} AND system_name = #{systemName} UPDATE xfsg_shop_account SET password = #{password}, secondary_password = #{secondaryPassword}, password_salt = #{passwordSalt}, last_sync_time = #{lastSyncTime,jdbcType=TIMESTAMP} WHERE system_name in ('火码POS','云流水','新掌柜') and shop_id IN #{shopId} update xfsg_shop_account password_salt = #{item.passwordSalt}, password = #{item.password}, secondary_password = #{item.secondaryPassword}, where id = #{item.id} update xfsg_shop_account status = 5 where shop_id in #{shopId} and system_name in ('火码POS','云流水','新掌柜')