master
wufan 2 months ago
parent 92b3982d70
commit 0add6a4248

@ -33,6 +33,7 @@ using Newtonsoft.Json.Serialization;
using NPOI.HSSF.Record.Formula.Functions;
using static NPOI.HSSF.Util.HSSFColor;
using System.Linq.Expressions;
using LinqToDB;
using Match = System.Text.RegularExpressions.Match;
using TradeManageNew.APIClients.FedexApi.Tests;
using TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes;
@ -28725,6 +28726,21 @@ namespace TradeManageNew
return result;
}
[WebMethod(EnableSession = true)]
public int OrderUsedSalePlatformPrint(int Id)
{
// PagesNew.Login(base.Session);
using (var db = new TradeUsedSale.Repositories.ErpDbContext())
{
var orderUsedSalePlatform = db.DT_OrderUsedSalePlatform
.Where(x => x.Id == Id)
.Set(x => x.IsPrinted, true)
.Update();
return orderUsedSalePlatform;
}
}
#endregion

Loading…
Cancel
Save