From 0b42b65ec1cb58949f1f85718d1ad1d011802bae Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期一, 27 四月 2026 17:28:43 +0800
Subject: [PATCH] feat(productionPrintOrder): 日期 mm 修复为 dd
---
src/main/resources/mapper/production/ProductionProductMainMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mapper/production/ProductionProductMainMapper.xml b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
index 7c1cd0a..7e16334 100644
--- a/src/main/resources/mapper/production/ProductionProductMainMapper.xml
+++ b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
@@ -51,11 +51,11 @@
<if test="c.auditStatus != null">
and ppm.audit_status = #{c.auditStatus}
</if>
- <if test="c.workOrderId != ''">
- and pot.work_order_id = #{c.workOrderId}
+ <if test="c.workOrderId != null">
+ and ppm.work_order_id = #{c.workOrderId}
</if>
</where>
- order by ppm.id
+ order by ppm.id desc
</select>
<select id="getOrderByMainId" resultType="com.ruoyi.production.pojo.ProductOrder">
--
Gitblit v1.9.3