|
@@ -447,7 +447,18 @@ select
|
|
</if>
|
|
</if>
|
|
</foreach>
|
|
</foreach>
|
|
</trim>
|
|
</trim>
|
|
-
|
|
|
|
|
|
+ <trim prefix="order_status =case" suffix="end,">
|
|
|
|
+ <foreach collection="list" item="item" index="index">
|
|
|
|
+ <if test="item.logisticsNo!=null">
|
|
|
|
+ when order_sn=#{item.orderSn}
|
|
|
|
+ then '300'
|
|
|
|
+ </if>
|
|
|
|
+ <if test="item.logisticsNo==null">
|
|
|
|
+ when order_sn=#{item.orderSn}
|
|
|
|
+ then mall_order.order_status
|
|
|
|
+ </if>
|
|
|
|
+ </foreach>
|
|
|
|
+ </trim>
|
|
<trim prefix="shipping_code =case" suffix="end,">
|
|
<trim prefix="shipping_code =case" suffix="end,">
|
|
<foreach collection="list" item="item" index="index">
|
|
<foreach collection="list" item="item" index="index">
|
|
<if test="item.shippingCode!=null">
|
|
<if test="item.shippingCode!=null">
|