From 0f9771f826d82b6a3bcd47011495be0915ebad0e Mon Sep 17 00:00:00 2001
From: zhanghl <253316343@qq.com>
Date: 星期日, 27 四月 2025 13:24:56 +0800
Subject: [PATCH] 钣金计划数据同步
---
aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateProcessStatMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateProcessStatMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateProcessStatMapper.xml
index aadf427..19bbd76 100644
--- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateProcessStatMapper.xml
+++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateProcessStatMapper.xml
@@ -48,6 +48,7 @@
<if test="designTimes != null "> and design_times = #{designTimes}</if>
<if test="batchNumber != null and batchNumber != ''"> and batch_number = #{batchNumber}</if>
</where>
+ order by work_order_no asc,num desc
</select>
<select id="selectApsPlateProcessStatById" parameterType="String" resultMap="ApsPlateProcessStatResult">
@@ -144,8 +145,7 @@
pl.plan_end_day as order_plan_end_day
from aps_plate_plan as pl
left join aps_process_route as rt on pl.document_number = rt.work_order_no
- where pl.del_flag = '0' and rt.del_flag = '0'
- and (pl.document_status is not null and (pl.document_status != '3'))
+ where pl.document_status in (0,1,2,4)
order by rt.work_order_no asc , rt.process_number desc
</select>
<update id="removeOtherStat" parameterType="String">
--
Gitblit v1.9.3