he2802 2 gadi atpakaļ
vecāks
revīzija
70eadc2012

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/top/TopOldOrderMapper.xml

@@ -263,7 +263,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             top_old_order too
                 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
+        where too.check_status=1 AND too.order_uncollected >0
         <if test="startTime != null and startTime != ''">
             AND too.buy_time <![CDATA[ >= ]]> #{startTime}
         </if>