|
@@ -412,11 +412,11 @@
|
|
|
<if test="order.customerId!=null">
|
|
<if test="order.customerId!=null">
|
|
|
and o.customer_id = #{order.customerId}
|
|
and o.customer_id = #{order.customerId}
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="order.storageIds!=null">
|
|
|
|
|
|
|
+ <if test="order.storageIds!=null and order.storageIds != ''">
|
|
|
and FIND_IN_SET(o.storage_id , #{order.storageIds})
|
|
and FIND_IN_SET(o.storage_id , #{order.storageIds})
|
|
|
</if>
|
|
</if>
|
|
|
<if test="order.storageId!=null">
|
|
<if test="order.storageId!=null">
|
|
|
- and o.storage_id = #{order.storageIds}
|
|
|
|
|
|
|
+ and o.storage_id = #{order.storageId}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="order.whetherSettlement !=null and order.whetherSettlement == 0">
|
|
<if test="order.whetherSettlement !=null and order.whetherSettlement == 0">
|
|
|
and o.total_money != o.payment_amount_tl
|
|
and o.total_money != o.payment_amount_tl
|
|
@@ -478,11 +478,11 @@
|
|
|
<if test="order.customerId!=null">
|
|
<if test="order.customerId!=null">
|
|
|
and o.customer_id = #{order.customerId}
|
|
and o.customer_id = #{order.customerId}
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="order.storageIds!=null">
|
|
|
|
|
|
|
+ <if test="order.storageIds!=null and order.storageIds != ''">
|
|
|
and FIND_IN_SET(o.storage_id , #{order.storageIds})
|
|
and FIND_IN_SET(o.storage_id , #{order.storageIds})
|
|
|
</if>
|
|
</if>
|
|
|
<if test="order.storageId!=null">
|
|
<if test="order.storageId!=null">
|
|
|
- and o.storage_id = #{order.storageIds}
|
|
|
|
|
|
|
+ and o.storage_id = #{order.storageId}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="order.whetherSettlement !=null and order.whetherSettlement == 0">
|
|
<if test="order.whetherSettlement !=null and order.whetherSettlement == 0">
|
|
|
and o.total_money != o.payment_amount_tl
|
|
and o.total_money != o.payment_amount_tl
|