From c30ac5918122426ea7a33dbe411aa39b3c7aa2ca Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期一, 27 四月 2026 13:17:36 +0800
Subject: [PATCH] feat(productionPrintOrderExcel) excel导出
---
src/main/resources/mapper/production/ProductionProductMainMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/production/ProductionProductMainMapper.xml b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
index 7c1cd0a..72f848f 100644
--- a/src/main/resources/mapper/production/ProductionProductMainMapper.xml
+++ b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
@@ -52,10 +52,10 @@
and ppm.audit_status = #{c.auditStatus}
</if>
<if test="c.workOrderId != ''">
- and pot.work_order_id = #{c.workOrderId}
+ and ppm.work_order_id = #{c.workOrderId}
</if>
</where>
- order by ppm.id
+ order by pwo.id desc, ppm.id asc
</select>
<select id="getOrderByMainId" resultType="com.ruoyi.production.pojo.ProductOrder">
--
Gitblit v1.9.3