|
@@ -3197,20 +3197,20 @@
|
|
|
|
|
|
<update id="updateRuiXuanOrderRegimentalSettleAmount">
|
|
<update id="updateRuiXuanOrderRegimentalSettleAmount">
|
|
UPDATE ruixuan.kuaishou_supply_chain
|
|
UPDATE ruixuan.kuaishou_supply_chain
|
|
- SET order_status = #{cpsOrderStatus},
|
|
|
|
- <choose>
|
|
|
|
- <when test='cpsOrderStatus == 60 '>
|
|
|
|
- total_regimental_settle_amount = regimental_promotion_amount
|
|
|
|
- </when>
|
|
|
|
- <otherwise>
|
|
|
|
- send_status = 1
|
|
|
|
- </otherwise>
|
|
|
|
- </choose>
|
|
|
|
|
|
+ SET order_status = #{cpsOrderStatus},
|
|
|
|
+ <choose>
|
|
|
|
+ <when test='cpsOrderStatus == 60 '>
|
|
|
|
+ total_regimental_settle_amount = regimental_promotion_amount
|
|
|
|
+ </when>
|
|
|
|
+ <otherwise>
|
|
|
|
+ send_status = 1
|
|
|
|
+ </otherwise>
|
|
|
|
+ </choose>
|
|
WHERE oid = #{oid}
|
|
WHERE oid = #{oid}
|
|
</update>
|
|
</update>
|
|
<update id="updateMgsOrderRegimentalSettleAmount">
|
|
<update id="updateMgsOrderRegimentalSettleAmount">
|
|
UPDATE miaogousi.kuaishou_supply_chain
|
|
UPDATE miaogousi.kuaishou_supply_chain
|
|
- SET order_status = #{cpsOrderStatus},
|
|
|
|
|
|
+ SET order_status = #{cpsOrderStatus},
|
|
<choose>
|
|
<choose>
|
|
<when test='cpsOrderStatus == 60 '>
|
|
<when test='cpsOrderStatus == 60 '>
|
|
total_regimental_settle_amount = regimental_promotion_amount
|
|
total_regimental_settle_amount = regimental_promotion_amount
|
|
@@ -3223,7 +3223,21 @@
|
|
</update>
|
|
</update>
|
|
<update id="updateRocketOrderRegimentalSettleAmount">
|
|
<update id="updateRocketOrderRegimentalSettleAmount">
|
|
UPDATE rocket.kuaishou_supply_chain
|
|
UPDATE rocket.kuaishou_supply_chain
|
|
- SET order_status = #{cpsOrderStatus},
|
|
|
|
|
|
+ SET order_status = #{cpsOrderStatus},
|
|
|
|
+ <choose>
|
|
|
|
+ <when test='cpsOrderStatus == 60 '>
|
|
|
|
+ total_regimental_settle_amount = regimental_promotion_amount
|
|
|
|
+ </when>
|
|
|
|
+ <otherwise>
|
|
|
|
+ send_status = 1
|
|
|
|
+ </otherwise>
|
|
|
|
+ </choose>
|
|
|
|
+ WHERE oid = #{oid}
|
|
|
|
+ </update>
|
|
|
|
+
|
|
|
|
+ <update id="updateRocketOrderRegimentalSettleAmountCS">
|
|
|
|
+ UPDATE rocket.kuaishou_supply_chain_ceshi
|
|
|
|
+ SET order_status = #{cpsOrderStatus},
|
|
<choose>
|
|
<choose>
|
|
<when test='cpsOrderStatus == 60 '>
|
|
<when test='cpsOrderStatus == 60 '>
|
|
total_regimental_settle_amount = regimental_promotion_amount
|
|
total_regimental_settle_amount = regimental_promotion_amount
|
|
@@ -3237,7 +3251,7 @@
|
|
|
|
|
|
<update id="updateYufuOrderRegimentalSettleAmount">
|
|
<update id="updateYufuOrderRegimentalSettleAmount">
|
|
UPDATE yufu.kuaishou_supply_chain
|
|
UPDATE yufu.kuaishou_supply_chain
|
|
- SET order_status = #{cpsOrderStatus},
|
|
|
|
|
|
+ SET order_status = #{cpsOrderStatus},
|
|
<choose>
|
|
<choose>
|
|
<when test='cpsOrderStatus == 60 '>
|
|
<when test='cpsOrderStatus == 60 '>
|
|
total_regimental_settle_amount = regimental_promotion_amount
|
|
total_regimental_settle_amount = regimental_promotion_amount
|
|
@@ -3251,7 +3265,7 @@
|
|
|
|
|
|
<update id="updateYuxiuOrderRegimentalSettleAmount">
|
|
<update id="updateYuxiuOrderRegimentalSettleAmount">
|
|
UPDATE yuxiu.kuaishou_supply_chain
|
|
UPDATE yuxiu.kuaishou_supply_chain
|
|
- SET order_status = #{cpsOrderStatus},
|
|
|
|
|
|
+ SET order_status = #{cpsOrderStatus},
|
|
<choose>
|
|
<choose>
|
|
<when test='cpsOrderStatus == 60 '>
|
|
<when test='cpsOrderStatus == 60 '>
|
|
total_regimental_settle_amount = regimental_promotion_amount
|
|
total_regimental_settle_amount = regimental_promotion_amount
|
|
@@ -3265,7 +3279,7 @@
|
|
|
|
|
|
<update id="updateZhishuiOrderRegimentalSettleAmount">
|
|
<update id="updateZhishuiOrderRegimentalSettleAmount">
|
|
UPDATE zhishui.kuaishou_supply_chain
|
|
UPDATE zhishui.kuaishou_supply_chain
|
|
- SET order_status = #{cpsOrderStatus},
|
|
|
|
|
|
+ SET order_status = #{cpsOrderStatus},
|
|
<choose>
|
|
<choose>
|
|
<when test='cpsOrderStatus == 60 '>
|
|
<when test='cpsOrderStatus == 60 '>
|
|
total_regimental_settle_amount = regimental_promotion_amount
|
|
total_regimental_settle_amount = regimental_promotion_amount
|