|
@@ -861,6 +861,101 @@
|
|
|
)
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
+ <insert id="insertYuXiuItem" parameterType="com.ruixuan.isc.entity.KuaishouItemList">
|
|
|
+ insert into yuxiu.kuaishou_item_list
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="itemId != null">item_id,</if>
|
|
|
+ <if test="mediaId != null">media_id,</if>
|
|
|
+ <if test="itemTitle != null">item_title,</if>
|
|
|
+ <if test="itemPrice != null">item_price,</if>
|
|
|
+ <if test="itemDesc != null">item_desc,</if>
|
|
|
+ <if test="zkFinalPrice != null">zk_final_price,</if>
|
|
|
+ <if test="itemImgUrl != null">item_img_url,</if>
|
|
|
+ <if test="itemDescUrls != null">item_desc_urls,</if>
|
|
|
+ <if test="shopStar != null">shop_star,</if>
|
|
|
+ <if test="mallLogisticsScore != null">mall_logistics_score,</if>
|
|
|
+ <if test="activityItemStatus != null">activity_item_status,</if>
|
|
|
+ <if test="shopScore != null">shop_score,</if>
|
|
|
+ <if test="categoryId != null">category_id,</if>
|
|
|
+ <if test="categoryName != null">category_name,</if>
|
|
|
+ <if test="itemGalleryUrls != null">item_gallery_urls,</if>
|
|
|
+ <if test="identity != null">identity,</if>
|
|
|
+ <if test="activityId != null">activity_id,</if>
|
|
|
+ <if test="shopTitle != null">shop_title,</if>
|
|
|
+ <if test="commissionRate != null">commission_rate,</if>
|
|
|
+ <if test="mallServiceScore != null">mall_service_score,</if>
|
|
|
+ <if test="mallQualityScore != null">mall_quality_score,</if>
|
|
|
+ <if test="skuList != null">sku_list,</if>
|
|
|
+ <if test="userId != null">user_id,</if>
|
|
|
+ <if test="userName != null">user_name,</if>
|
|
|
+ <if test="examineId != null">examine_id,</if>
|
|
|
+ <if test="examineName != null">examine_name,</if>
|
|
|
+ <if test="examineStatus != null">examine_status,</if>
|
|
|
+ <if test="refuseDetail != null">refuse_detail,</if>
|
|
|
+ <if test="postArea != null">post_area,</if>
|
|
|
+ <if test="noPostArea != null">no_post_area,</if>
|
|
|
+ <if test="regimentalPromotionRate != null">regimental_promotion_rate,</if>
|
|
|
+ <if test="regimentalPromotion != null">regimental_promotion,</if>
|
|
|
+ <if test="sampleCount != null">sample_count,</if>
|
|
|
+ <if test="sampleRequirement != null">sample_requirement,</if>
|
|
|
+ <if test="deliveryRate != null">delivery_rate,</if>
|
|
|
+ <if test="partnerRecommendText != null">partner_recommend_text,</if>
|
|
|
+ <if test="detailUrl != null">detail_url,</if>
|
|
|
+ <if test="samplesReceived != null">samples_received,</if>
|
|
|
+ <if test="samplesPeoples != null">samples_peoples,</if>
|
|
|
+ <if test="relateId != null">relate_id,</if>
|
|
|
+ <if test="ruleId != null">rule_id,</if>
|
|
|
+ <if test="isPresale != null">is_presale,</if>
|
|
|
+ <if test="createTime != null">create_time,</if>
|
|
|
+ <if test="updateTime != null">update_time,</if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="itemId != null">#{itemId},</if>
|
|
|
+ <if test="mediaId != null">#{mediaId},</if>
|
|
|
+ <if test="itemTitle != null">#{itemTitle},</if>
|
|
|
+ <if test="itemPrice != null">#{itemPrice},</if>
|
|
|
+ <if test="itemDesc != null">#{itemDesc},</if>
|
|
|
+ <if test="zkFinalPrice != null">#{zkFinalPrice},</if>
|
|
|
+ <if test="itemImgUrl != null">#{itemImgUrl},</if>
|
|
|
+ <if test="itemDescUrls != null">#{itemDescUrls},</if>
|
|
|
+ <if test="shopStar != null">#{shopStar},</if>
|
|
|
+ <if test="mallLogisticsScore != null">#{mallLogisticsScore},</if>
|
|
|
+ <if test="activityItemStatus != null">#{activityItemStatus},</if>
|
|
|
+ <if test="shopScore != null">#{shopScore},</if>
|
|
|
+ <if test="categoryId != null">#{categoryId},</if>
|
|
|
+ <if test="categoryName != null">#{categoryName},</if>
|
|
|
+ <if test="itemGalleryUrls != null">#{itemGalleryUrls},</if>
|
|
|
+ <if test="identity != null">#{identity},</if>
|
|
|
+ <if test="activityId != null">#{activityId},</if>
|
|
|
+ <if test="shopTitle != null">#{shopTitle},</if>
|
|
|
+ <if test="commissionRate != null">#{commissionRate},</if>
|
|
|
+ <if test="mallServiceScore != null">#{mallServiceScore},</if>
|
|
|
+ <if test="mallQualityScore != null">#{mallQualityScore},</if>
|
|
|
+ <if test="skuList != null">#{skuList},</if>
|
|
|
+ <if test="userId != null">#{userId},</if>
|
|
|
+ <if test="userName != null">#{userName},</if>
|
|
|
+ <if test="examineId != null">#{examineId},</if>
|
|
|
+ <if test="examineName != null">#{examineName},</if>
|
|
|
+ <if test="examineStatus != null">#{examineStatus},</if>
|
|
|
+ <if test="refuseDetail != null">#{refuseDetail},</if>
|
|
|
+ <if test="postArea != null">#{postArea},</if>
|
|
|
+ <if test="noPostArea != null">#{noPostArea},</if>
|
|
|
+ <if test="regimentalPromotionRate != null">#{regimentalPromotionRate},</if>
|
|
|
+ <if test="regimentalPromotion != null">#{regimentalPromotion},</if>
|
|
|
+ <if test="sampleCount != null">#{sampleCount},</if>
|
|
|
+ <if test="sampleRequirement != null">#{sampleRequirement},</if>
|
|
|
+ <if test="deliveryRate != null">#{deliveryRate},</if>
|
|
|
+ <if test="partnerRecommendText != null">#{partnerRecommendText},</if>
|
|
|
+ <if test="detailUrl != null">#{detailUrl},</if>
|
|
|
+ <if test="samplesReceived != null">#{samplesReceived},</if>
|
|
|
+ <if test="samplesPeoples != null">#{samplesPeoples},</if>
|
|
|
+ <if test="relateId != null">#{relateId},</if>
|
|
|
+ <if test="ruleId != null">#{ruleId},</if>
|
|
|
+ <if test="isPresale != null">#{isPresale},</if>
|
|
|
+ <if test="createTime != null">#{createTime},</if>
|
|
|
+ <if test="updateTime != null">#{updateTime},</if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
|
|
|
|
|
|
<update id="updateKuaishouItemList" parameterType="com.ruixuan.isc.entity.KuaishouItemList">
|