|
|
@@ -325,7 +325,7 @@
|
|
|
<if test="auditSTime != null "> and DATE(so.audit_time) >= DATE(#{auditSTime})</if>
|
|
|
<if test="auditETime != null "> and DATE(so.audit_time) <= DATE(#{auditETime})</if>
|
|
|
<if test="auditTime != null "> and so.audit_time = #{auditTime}</if>
|
|
|
- <if test="orderCode != null "> and fso.order_code = #{orderCode}</if>
|
|
|
+ <if test="orderCode != null and orderCode != ''"> and fso.order_code = #{orderCode}</if>
|
|
|
<if test="orderStatus != null "> and fso.`status` = #{orderStatus}</if>
|
|
|
<if test="storeId != null "> and so.store_id = #{storeId}</if>
|
|
|
</where>
|