@@ -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 >= #{startTime}
</if>