create_by, create_time, update_by, update_time, id, category_id, title, brief_introduction, carriage, img_pc, img_mobile, brand, price, pc_details, mobile_details, buy_limit, limit_cycle, is_can_comment, mnemonic_code, status, ds_volume, rs_volume, del_flag, attrs_values, is_special_price, marked_price, couponId, is_service, service_time, shop_ids, company_id #{item.createBy}, now(), #{item.updateBy}, now(), #{item.id}, #{item.categoryId}, #{item.title}, #{item.briefIntroduction}, #{item.carriage}, #{item.imgPc}, #{item.imgMobile}, #{item.brand}, #{item.price}, #{item.pcDetails}, #{item.mobileDetails}, #{item.buyLimit}, #{item.limitCycle}, #{item.isCanComment}, #{item.mnemonicCode}, #{item.status}, #{item.dsVolume}, #{item.rsVolume}, #{item.delFlag}, #{item.attrValues}, #{item.isSpecialPrice}, #{item.markedPrice}, #{item.couponId}, #{item.isService}, #{item.serviceTime}, #{item.shopIds}, #{item.companyId} and id = #{record.id} and category_id = #{record.categoryId} and (a.title like concat('%',#{record.title},'%') or a.mnemonic_code like concat('%',#{record.title},'%')) and a.title = #{record.title} and brief_introduction = #{record.briefIntroduction} and carriage = #{record.carriage} and img_pc = #{record.imgPc} and img_mobile = #{record.imgMobile} and brand like concat('%',#{record.brand},'%') and price = #{record.price} and pc_details = #{record.pcDetails} and mobile_details = #{record.mobileDetails} and buy_limit = #{record.buyLimit} and limit_cycle = #{record.limitCycle} and is_can_comment = #{record.isCanComment} and mnemonic_code = #{record.mnemonicCode} and status = #{record.status} and ds_volume = #{record.dsVolume} and rs_volume = #{record.rsVolume} and del_flag = #{record.delFlag} and b.attr_full_path like concat('%/',#{record.attrs},'/%') and marked_price = #{record.markedPrice} and is_service = #{record.isService} and is_special_price = #{record.isSpecialPrice} and service_time = #{record.serviceTime} and shop_ids = #{record.shopIds} and a.company_id = #{record.companyId} and a.category_id = #{record.categoryId} and a.brief_introduction = #{record.briefIntroduction} and a.carriage = #{record.carriage} and a.brand = #{record.brand} and a.company_id = #{record.companyId} and a.buy_limit = #{record.buyLimit} and a.limit_cycle = #{record.limitCycle} and a.is_can_comment = #{record.isCanComment} and a.status = #{record.status} and a.ds_volume = #{record.dsVolume} and a.rs_volume = #{record.rsVolume} and a.price >= #{record.startPrice} and a.price <= #{record.endPrice} and a.del_flag = #{record.delFlag} and (a.title like concat('%',#{record.title},'%') or a.mnemonic_code like concat('%',#{record.title},'%')) and a.is_service = #{record.isService} and a.title = #{record.title} and a.is_special_price = #{record.isSpecialPrice} and a.service_time = #{record.serviceTime} and b.attr_full_path like concat('%/',#{record.attrs},'/%') INSERT INTO shop_product ( ) VALUES ( ) INSERT INTO shop_product ( ) VALUES ( ) UPDATE shop_product category_id = #{categoryId}, title = #{title}, brief_introduction = #{briefIntroduction}, carriage = #{carriage}, img_pc = #{imgPc}, img_mobile = #{imgMobile}, brand = #{brand}, price = #{price}, pc_details = #{pcDetails}, mobile_details = #{mobileDetails}, buy_limit = #{buyLimit}, limit_cycle = #{limitCycle}, is_can_comment = #{isCanComment}, mnemonic_code = #{mnemonicCode}, status = #{status}, ds_volume = #{dsVolume}, rs_volume = #{rsVolume}, del_flag = #{delFlag}, is_service = #{isService}, is_special_price = #{isSpecialPrice}, marked_price = #{markedPrice}, couponId = #{couponId}, service_time = #{serviceTime}, company_id = #{companyId}, WHERE id=#{id} UPDATE shop_product category_id = #{record.categoryId}, title = #{record.title}, brief_introduction = #{record.briefIntroduction}, carriage = #{record.carriage}, service_time = #{record.serviceTime}, img_pc = #{record.imgPc}, img_mobile = #{record.imgMobile}, brand = #{record.brand}, price = #{record.price}, pc_details = #{record.pcDetails}, mobile_details = #{record.mobileDetails}, buy_limit = #{record.buyLimit}, limit_cycle = #{record.limitCycle}, is_can_comment = #{record.isCanComment}, mnemonic_code = #{record.mnemonicCode}, status = #{record.status}, ds_volume = #{record.dsVolume}, rs_volume = #{record.rsVolume}, del_flag = #{record.delFlag}, attrs_values = #{record.attrValues}, marked_price = #{record.markedPrice}, is_service = #{record.isService}, is_special_price = #{record.isSpecialPrice}, couponId = #{record.couponId}, shop_ids = #{record.shopIds}, WHERE id=#{record.id} delete from shop_product where id in #{item} update shop_product del_flag= #{record.delFlag}, status = #{record.status}, where id in #{item} update shop_product del_flag=1 where id = #{id} update shop_product set couponId =NULL where couponId=#{couponId}; DELETE FROM shop_product