|
@@ -1325,7 +1325,7 @@
|
|
|
</select>
|
|
|
<select id="getCookie" resultType="java.lang.String">
|
|
|
select cookie
|
|
|
- from ruixuan.kuaishou_supply_chain_cookie
|
|
|
+ from kuaishou_supply_chain_cookie
|
|
|
where id = #{regId} limit 1
|
|
|
</select>
|
|
|
|
|
@@ -1770,7 +1770,7 @@
|
|
|
sum(total_regimental_settle_amount) as 'totalRegimentalSettleAmount',
|
|
|
IFNULL(SUM(CASE WHEN sample_voucher_status = 2 THEN total_regimental_settle_amount ELSE 0 END), 0) AS
|
|
|
'voucherTotalRegimentalSettleAmount'
|
|
|
- from ruixuan.promoter_item_order_count
|
|
|
+ from promoter_item_order_count
|
|
|
where 1 = 1
|
|
|
<if test="start != null and start != ''">
|
|
|
and stat_date >= #{start}
|
|
@@ -1845,7 +1845,7 @@
|
|
|
sum(order_amount) as 'orderAmount',
|
|
|
sum(regimental_promotion_amount) as 'regimentalPromotionAmount',
|
|
|
sum(total_regimental_settle_amount) as 'totalRegimentalSettleAmount'
|
|
|
- from ruixuan.promoter_item_order_count
|
|
|
+ from promoter_item_order_count
|
|
|
where 1 = 1
|
|
|
<if test="start != null and start != ''">
|
|
|
and stat_date >= #{start}
|
|
@@ -1886,7 +1886,7 @@
|
|
|
sum(order_amount) as 'orderAmount',
|
|
|
sum(regimental_promotion_amount) as 'regimentalPromotionAmount',
|
|
|
sum(total_regimental_settle_amount) as 'totalRegimentalSettleAmount'
|
|
|
- from ruixuan.promoter_item_order_count
|
|
|
+ from promoter_item_order_count
|
|
|
where 1 = 1
|
|
|
<if test="start != null and start != ''">
|
|
|
and stat_date >= #{start}
|
|
@@ -1931,7 +1931,7 @@
|
|
|
sum(order_amount) as 'orderAmount',
|
|
|
sum(regimental_promotion_amount) as 'regimentalPromotionAmount',
|
|
|
sum(total_regimental_settle_amount) as 'totalRegimentalSettleAmount'
|
|
|
- from ruixuan.promoter_item_order_count
|
|
|
+ from promoter_item_order_count
|
|
|
where 1 = 1
|
|
|
<if test="start != null and start != ''">
|
|
|
and stat_date >= #{start}
|
|
@@ -2007,7 +2007,7 @@
|
|
|
sum(total_regimental_settle_amount) as 'totalRegimentalSettleAmount',
|
|
|
IFNULL(SUM(CASE WHEN sample_voucher_status = 2 THEN total_regimental_settle_amount ELSE 0 END), 0) AS
|
|
|
'voucherTotalRegimentalSettleAmount'
|
|
|
- from ruixuan.promoter_item_order_count
|
|
|
+ from promoter_item_order_count
|
|
|
where 1 = 1
|
|
|
<if test="start != null and start != ''">
|
|
|
and stat_date >= #{start}
|
|
@@ -2525,7 +2525,7 @@
|
|
|
</insert>
|
|
|
|
|
|
<insert id="replaceKuaishouActivityInfo">
|
|
|
- replace into ruixuan.kuaishou_activity_info(
|
|
|
+ replace into kuaishou_activity_info(
|
|
|
activity_id,
|
|
|
regimental_id,
|
|
|
activity_title,
|