From 4e8378a810220091e51aef35573fc56768b59a32 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期一, 15 七月 2024 13:13:16 +0800
Subject: [PATCH] 新增发货报表导出客户简称字段
---
north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
index 5758f11..dc997a3 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
@@ -218,7 +218,6 @@
on ogd.order_id = fc.order_id and ogd.order_number = fc.order_number
set ogd.splitting_status=0
where ogd.order_id = #{orderId}
- and ogd.production_id = left(#{processId}, 11)
</update>
@@ -226,7 +225,7 @@
<update id="deleteFlowCardMp">
delete
from flow_card as fc
- where fc.production_id = left(#{processId}, 11)
+ where fc.order_id = left(#{processId}, 10)
</update>
<!-- 鍒嗘灦鏂板鏄庣粏鏌ヨ-->
@@ -447,7 +446,7 @@
<delete id="deleteReportingWork">
delete
from sd.order_process_detail
- where left(process_id, 11) = left(#{processId}, 11)
+ where order_id = left(#{processId}, 10)
</delete>
<select id="selectPrintFlowCardMp">
--
Gitblit v1.8.0