SVN r439
SVN-Revision: r439
This commit is contained in:
@@ -523,7 +523,7 @@ namespace Lskj.PubBomImport
|
||||
frmBillInfo.AddOrUpdateBill(masterRow, detailTable);
|
||||
SetProcessBar(60, 0);
|
||||
//备份Bom清单明细
|
||||
string bakBomListSql = @"delete bom_BillListlogTab where parentProduct = '{0}';insert into bom_BillListlogTab select * from bom_BillListTab where parentProduct = '{0}';";
|
||||
string bakBomListSql = @"delete bom_BillListlogTab where parentProduct = '{0}' and historyVer = (select top 1 historyVer from bom_BillListTab where parentProduct = '{0}');insert into bom_BillListlogTab select * from bom_BillListTab where parentProduct = '{0}';";
|
||||
SqlHelper.ExecuteNonQuery(string.Format(bakBomListSql, productCode));
|
||||
string billNo = "";
|
||||
frmBillInfo.BillSave(ref billNo);
|
||||
|
||||
Reference in New Issue
Block a user