|
@@ -428,6 +428,9 @@
|
|
|
LEFT JOIN sys_tenant st ON too.tenant_id = st.tenant_id
|
|
|
LEFT JOIN top_order_rec_note rn ON too.tenant_id = rn.tenant_id and too.order_sn = rn.order_sn
|
|
|
where too.check_status=1 AND too.order_uncollected >0
|
|
|
+ <if test="operationType != null and operationType != ''">
|
|
|
+ AND too.operation_type = #{operationType}
|
|
|
+ </if>
|
|
|
<if test="tenantId != null and tenantId != ''">
|
|
|
AND too.tenant_id = #{tenantId}
|
|
|
</if>
|