|
|
|
@ -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})) |
|
|
|
</insert> |
|
|
|
|
|
|
|
<select id="checkRollNo" resultType="com.gaotao.modules.purchasingManagement.entity.CRollInfoData"> |
|
|
|
|