|
|
@ -269,7 +269,7 @@ namespace BWP.Web.Pages.B3YunKen.Bill |
|
|
|
|
|
|
|
|
priceSum = price1 + price2 + price3 +price4; |
|
|
priceSum = price1 + price2 + price3 +price4; |
|
|
|
|
|
|
|
|
Goods_PackagePrice gp = new Goods_PackagePrice { Goods_ID = savePrice.Goods_ID, Price = priceSum, AccountingUnit_ID = savePrice.AccountingUnit_ID, User_ID = DomainContext.Current.DomainUser.User_ID }; |
|
|
|
|
|
|
|
|
Goods_PackagePrice gp = new Goods_PackagePrice { Goods_ID = savePrice.Goods_ID, Price = priceSum, AccountingUnit_ID = savePrice.AccountingUnit_ID }; |
|
|
|
|
|
|
|
|
Goods_PackagePriceList.Add(gp); |
|
|
Goods_PackagePriceList.Add(gp); |
|
|
|
|
|
|
|
|
@ -280,7 +280,7 @@ namespace BWP.Web.Pages.B3YunKen.Bill |
|
|
|
|
|
|
|
|
using (var context = new TransactionContext()) |
|
|
using (var context = new TransactionContext()) |
|
|
{ |
|
|
{ |
|
|
string sql = "delete from B3_YunKen_Goods_PackagePrice where User_ID=" + DomainContext.Current.DomainUser.User_ID; |
|
|
|
|
|
|
|
|
string sql = "delete from B3_YunKen_Goods_PackagePrice"; |
|
|
context.Session.ExecuteSqlNonQuery(sql); |
|
|
context.Session.ExecuteSqlNonQuery(sql); |
|
|
context.Session.Commit(); |
|
|
context.Session.Commit(); |
|
|
} |
|
|
} |
|
|
|