he2802 преди 1 година
родител
ревизия
e3f4993b64
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      zhongzheng-system/src/main/resources/mapper/modules/top/TopOldOrderMapper.xml

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

@@ -2073,6 +2073,7 @@
         WHERE
         too.`status` = 1
         AND too.check_status = 1
+        AND too.old_customer_id IS NOT NULL
         <if test="startTime != null and startTime != ''">
             AND too.check_time &gt;= #{startTime}
         </if>