create_by, create_time, update_by, update_time, search_id, user_id, search_content, search_brand, search_price_start, search_price_end, search_attrs, search_type, search_del #{item.createBy}, now(), #{item.updateBy}, now(), #{item.searchId}, #{item.userId}, #{item.searchContent}, #{item.searchBrand}, #{item.searchPriceStart}, #{item.searchPriceEnd}, #{item.searchAttrs}, #{item.searchType}, #{item.searchDel} and search_id = #{record.searchId} and user_id = #{record.userId} and search_content = #{record.searchContent} and search_brand = #{record.searchBrand} and search_price_start = #{record.searchPriceStart} and search_price_end = #{record.searchPriceEnd} and search_attrs = #{record.searchAttrs} and search_type = #{record.searchType} and search_del = #{record.searchDel} INSERT INTO shop_search_record ( ) VALUES ( ) INSERT INTO shop_search_record ( ) VALUES ( ) UPDATE shop_search_record user_id = #{userId}, search_content = #{searchContent}, search_brand = #{searchBrand}, search_price_start = #{searchPriceStart}, search_price_end = #{searchPriceEnd}, search_attrs = #{searchAttrs}, search_type = #{searchType}, search_del = #{searchDel}, WHERE search_id=#{searchId} UPDATE shop_search_record user_id = #{record.userId}, search_content = #{record.searchContent}, search_brand = #{record.searchBrand}, search_price_start = #{record.searchPriceStart}, search_price_end = #{record.searchPriceEnd}, search_attrs = #{record.searchAttrs}, search_type = #{record.searchType}, search_del = #{record.searchDel}, WHERE search_id=#{record.searchId} delete from shop_search_record where search_id in #{item} DELETE FROM shop_search_record where search_id=#{searchId} DELETE FROM shop_search_record UPDATE shop_search_record set search_del = 1 where user_id = #{userId}