Sfoglia il codice sorgente

招商活动商品详情接口
添加店铺ID+名称

zhaoxian 11 mesi fa
parent
commit
cf889e3311

+ 11 - 0
ruixuan-live/src/main/java/com/ruixuan/isc/entity/KuaiShouActivityOpenItemList.java

@@ -71,6 +71,15 @@ public class KuaiShouActivityOpenItemList {
      */
     private Long ccrValue;
     /**
+     * 店铺ID
+     */
+    private Long shopId;
+
+    /**
+     * 	店铺名称
+     */
+    private String shopTitle;
+    /**
      * 新版店铺体验分
      */
     private String storeScore;
@@ -103,6 +112,8 @@ public class KuaiShouActivityOpenItemList {
         this.setBaseOrderStatus(info.getString("baseOrderStatus"));
         this.setCcrValue(info.getLong("ccrValue"));
         this.setStoreScore(info.getString("storeScore"));
+        this.setShopTitle(info.getString("shopTitle"));
+        this.setShopId(info.getLong("shopId"));
     }
 
 }

+ 30 - 12
ruixuan-live/src/main/resources/mapper/isc/SupplyChainMapper.xml

@@ -3740,7 +3740,8 @@
         pre_activity_id,
         item_leaf_category_id,
         item_commission_rate,
-        investment_promotion_rate
+        investment_promotion_rate,
+        shop_id
         )
         values
         <foreach collection="list" item="li" separator=",">
@@ -3751,7 +3752,8 @@
             #{li.preActivityId},
             #{li.itemLeafCategoryId},
             #{li.itemCommissionRate},
-            #{li.investmentPromotionRate}
+            #{li.investmentPromotionRate},
+            #{li.shopId}
             )
         </foreach>
     </insert>
@@ -3764,7 +3766,8 @@
         pre_activity_id,
         item_leaf_category_id,
         item_commission_rate,
-        investment_promotion_rate
+        investment_promotion_rate,
+        shop_id
         )
         values
         <foreach collection="list" item="li" separator=",">
@@ -3775,7 +3778,8 @@
             #{li.preActivityId},
             #{li.itemLeafCategoryId},
             #{li.itemCommissionRate},
-            #{li.investmentPromotionRate}
+            #{li.investmentPromotionRate},
+            #{li.shopId}
             )
         </foreach>
     </insert>
@@ -3789,7 +3793,8 @@
         pre_activity_id,
         item_leaf_category_id,
         item_commission_rate,
-        investment_promotion_rate
+        investment_promotion_rate,
+        shop_id
         )
         values
         <foreach collection="list" item="li" separator=",">
@@ -3800,7 +3805,8 @@
             #{li.preActivityId},
             #{li.itemLeafCategoryId},
             #{li.itemCommissionRate},
-            #{li.investmentPromotionRate}
+            #{li.investmentPromotionRate},
+            #{li.shopId}
             )
         </foreach>
     </insert>
@@ -3814,7 +3820,8 @@
         pre_activity_id,
         item_leaf_category_id,
         item_commission_rate,
-        investment_promotion_rate
+        investment_promotion_rate,
+        shop_id
         )
         values
         <foreach collection="list" item="li" separator=",">
@@ -3825,7 +3832,8 @@
             #{li.preActivityId},
             #{li.itemLeafCategoryId},
             #{li.itemCommissionRate},
-            #{li.investmentPromotionRate}
+            #{li.investmentPromotionRate},
+            #{li.shopId}
             )
         </foreach>
     </insert>
@@ -3838,7 +3846,8 @@
         pre_activity_id,
         item_leaf_category_id,
         item_commission_rate,
-        investment_promotion_rate
+        investment_promotion_rate,
+        shop_id
         )
         values
         <foreach collection="list" item="li" separator=",">
@@ -3849,7 +3858,8 @@
             #{li.preActivityId},
             #{li.itemLeafCategoryId},
             #{li.itemCommissionRate},
-            #{li.investmentPromotionRate}
+            #{li.investmentPromotionRate},
+            #{li.shopId}
             )
         </foreach>
     </insert>
@@ -3862,7 +3872,8 @@
         pre_activity_id,
         item_leaf_category_id,
         item_commission_rate,
-        investment_promotion_rate
+        investment_promotion_rate,
+        shop_id
         )
         values
         <foreach collection="list" item="li" separator=",">
@@ -3873,7 +3884,8 @@
             #{li.preActivityId},
             #{li.itemLeafCategoryId},
             #{li.itemCommissionRate},
-            #{li.investmentPromotionRate}
+            #{li.investmentPromotionRate},
+            #{li.shopId}
             )
         </foreach>
     </insert>
@@ -4073,6 +4085,7 @@
             mall_quality_score   = #{mallQualityScore},
             base_order_status    = #{baseOrderStatus},
             ccr_value            = #{ccrValue},
+            shop_title           = #{shopTitle},
             store_score          = #{storeScore}
         where item_id = #{itemId}
     </update>
@@ -4086,6 +4099,7 @@
             mall_quality_score   = #{mallQualityScore},
             base_order_status    = #{baseOrderStatus},
             ccr_value            = #{ccrValue},
+            shop_title           = #{shopTitle},
             store_score          = #{storeScore}
         where item_id = #{itemId}
     </update>
@@ -4099,6 +4113,7 @@
             mall_quality_score   = #{mallQualityScore},
             base_order_status    = #{baseOrderStatus},
             ccr_value            = #{ccrValue},
+            shop_title           = #{shopTitle},
             store_score          = #{storeScore}
         where item_id = #{itemId}
     </update>
@@ -4112,6 +4127,7 @@
             mall_quality_score   = #{mallQualityScore},
             base_order_status    = #{baseOrderStatus},
             ccr_value            = #{ccrValue},
+            shop_title           = #{shopTitle},
             store_score          = #{storeScore}
         where item_id = #{itemId}
     </update>
@@ -4125,6 +4141,7 @@
             mall_quality_score   = #{mallQualityScore},
             base_order_status    = #{baseOrderStatus},
             ccr_value            = #{ccrValue},
+            shop_title           = #{shopTitle},
             store_score          = #{storeScore}
         where item_id = #{itemId}
     </update>
@@ -4137,6 +4154,7 @@
             mall_quality_score   = #{mallQualityScore},
             base_order_status    = #{baseOrderStatus},
             ccr_value            = #{ccrValue},
+            shop_title           = #{shopTitle},
             store_score          = #{storeScore}
         where item_id = #{itemId}
     </update>