diff --git a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestPlanCaseMapper.xml b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestPlanCaseMapper.xml
index 5bf02efd..4428c746 100644
--- a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestPlanCaseMapper.xml
+++ b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestPlanCaseMapper.xml
@@ -92,9 +92,12 @@
and p.pbranch_id=#{pbranchId}
+
+ and res.exec_date between #{startExecDate} and #{endExecDate}
+
group by res.exec_date
- order by res.exec_date desc
+ order by res.exec_date asc