diff --git a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapper.xml b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapper.xml
index 0b44f6b027..49553621d1 100644
--- a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapper.xml
+++ b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapper.xml
@@ -122,8 +122,8 @@
and instance.name like concat('%', #{searchVal}, '%')
-
- and instance.start_time > #{startTime} and instance.start_time #{endTime}
+
+ and instance.start_time = ]]> #{startTime} and instance.start_time #{endTime}
and instance.state in