Parcourir la source

达人ID lei xing

zhaoxian il y a 2 ans
Parent
commit
9f2a678433

+ 6 - 6
ruixuan-live/src/main/resources/mapper/isc/KuaishouItemCollectSamplesMapper.xml

@@ -217,7 +217,7 @@
             </foreach>
         </if>
     </select>
-    <select id="check" resultType="java.lang.Integer">
+    <select id="check" resultType="java.lang.String">
         select count(1)
         from kuaishou_item_collect_samples
         where item_id = #{itemId}
@@ -292,7 +292,7 @@
         where item_id = #{itemId}
           and collect_sample_status >= 3
     </select>
-    <select id="promoterInfo" resultType="com.alibaba.fastjson.JSONObject" parameterType="java.lang.Long">
+    <select id="promoterInfo" resultType="com.alibaba.fastjson.JSONObject" parameterType="java.lang.String">
         select total_sale as 'totalSale', fans_number as 'fansNumber'
         from kuaishou_promoter
         where promoter_id = #{promoterId} limit 1
@@ -706,7 +706,7 @@
         </if>
     </select>
 
-    <select id="checkByRelateIdAndPromoterId" resultType="java.lang.Integer">
+    <select id="checkByRelateIdAndPromoterId" resultType="java.lang.String">
         select count(1)
         from kuaishou_item_collect_samples
         where item_id in (
@@ -723,9 +723,9 @@
     <!--    出单量 >= 50 且 状态为5已签收待上传作业 的数据-->
     <select id="getAccordWithOrderQuantityList" resultType="java.lang.Long">
         SELECT t1.id
-        FROM
-            kuaishou_item_collect_samples t1
-            LEFT JOIN promoter_iterm_oerder_amount t2 ON t1.item_id = t2.item_id and t1.promoter_id = t2.promoter_id
+        FROM kuaishou_item_collect_samples t1
+                 LEFT JOIN promoter_iterm_oerder_amount t2
+                           ON t1.item_id = t2.item_id and t1.promoter_id = t2.promoter_id
         WHERE t1.collect_sample_status = 5
           AND t2.valid_order_num >= 50
     </select>

+ 1 - 1
ruixuan-live/src/main/resources/mapper/isc/KuaishouPromoterMapper.xml

@@ -378,7 +378,7 @@
         </foreach>
     </delete>
 
-    <delete id="deletePromoterLabel" parameterType="Long">
+    <delete id="deletePromoterLabel" parameterType="String">
         delete
         from kuaishou_promoter_label_rel
         where promoter_id = #{promoterId}