From f2a40738c6c2cb1e780a3f1bff5961a9bd6c229c Mon Sep 17 00:00:00 2001 From: ruanqi Date: Fri, 29 Apr 2022 18:11:44 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/purchasingManagement/MaterialSplitMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/purchasingManagement/MaterialSplitMapper.xml b/src/main/resources/mapper/purchasingManagement/MaterialSplitMapper.xml index 7ff65d7..c55ab06 100644 --- a/src/main/resources/mapper/purchasingManagement/MaterialSplitMapper.xml +++ b/src/main/resources/mapper/purchasingManagement/MaterialSplitMapper.xml @@ -155,11 +155,11 @@ insert into C_RollInfo(Site,RollNo,RollQty,PartNo,SupplierID,OrderRef1,OrderRef2,OrderRef3,OrderRef4, SuppDeliveryNote,RollDate,CreatedDate,CreatedBy,Status_DB,Status,SuppRollNo,RollSeqNo,SuppRollNoFlag, SourceType,OriginalRollNo,OrderRef5,rolltype,rolltype_db,firstlevelrollno,remark,parttype_flag, - CustomerID,FGPartNo,Ref_SupplierID,Ref_PartDesc,warehouseid) values + CustomerID,FGPartNo,Ref_SupplierID,Ref_PartDesc,warehouseid,ExpiredDate) values (#{site},#{rollNo},#{rollQty},#{partNo},#{supplierID},#{orderRef1},#{orderRef2},#{orderRef3},#{orderRef4}, #{suppDeliveryNote},#{rollDate},#{createdDate},#{createdBy},#{statusDb},#{status},'',#{rollSeqNo},#{suppRollNoFlag}, #{sourceType},#{originalRollNo},#{orderRef5},#{rolltype},#{rolltypeDb},#{firstlevelrollno},#{remark},#{parttypeFlag}, - #{customerID},#{fGPartNo},#{refSupplierID},#{refPartDesc},#{warehouseid}) + #{customerID},#{fGPartNo},#{refSupplierID},#{refPartDesc},#{warehouseid}, DATEADD(day,dbo.Get_toExpireDays(#{site},#{partNo}), #{rollDate}))