diff --git a/src/main/resources/mapper/longchuang/ProductionPlanMapper.xml b/src/main/resources/mapper/longchuang/ProductionPlanMapper.xml
index 499e91a..45305eb 100644
--- a/src/main/resources/mapper/longchuang/ProductionPlanMapper.xml
+++ b/src/main/resources/mapper/longchuang/ProductionPlanMapper.xml
@@ -77,7 +77,7 @@
and a.plan_finish_date #{query.planEndDate}
- order by a.create_time desc, a.order_no desc
+ order by isnull(a.plan_delivery_date, a.plan_finish_date) desc, a.create_time desc, a.order_no desc