diff --git a/BBWY.Client/APIServices/QiKu/PackTaskService.cs b/BBWY.Client/APIServices/QiKu/PackTaskService.cs index e5166d69..fb11dc82 100644 --- a/BBWY.Client/APIServices/QiKu/PackTaskService.cs +++ b/BBWY.Client/APIServices/QiKu/PackTaskService.cs @@ -36,12 +36,8 @@ namespace BBWY.Client.APIServices ) { - if (taskId != null && !string.IsNullOrEmpty(taskId.Trim())) + return SendRequest(globalContext.QKApiHost, "api/PackTask/SearchTaskList", new { - return SendRequest(globalContext.QKApiHost, "api/PackTask/SearchTaskList", new - { - TaskId = taskId, - ShopId = globalContext.User.Shop.ShopId.ToString() }, null, HttpMethod.Post); } @@ -58,7 +54,7 @@ namespace BBWY.Client.APIServices }, null, HttpMethod.Post); } - public ApiResponse GetWareHouseList(string WayBillNo = null, string SourceExpressName = null, string departmentName = null, string skuId = null, string taskId = null, + public ApiResponse SearchTaskList(string WayBillNo = null, string SourceExpressName = null, string departmentName = null, string skuId = null, string taskId = null, TaskState? TaskState = null, string ShopName = null, @@ -66,14 +62,7 @@ namespace BBWY.Client.APIServices int pageSize = 10 ) { - if (taskId != null && !string.IsNullOrEmpty(taskId.Trim())) - { - return SendRequest(globalContext.QKApiHost, "api/PackTask/SearchTaskList", new - { - TaskId = taskId - }, null, HttpMethod.Post); - } return SendRequest(globalContext.QKApiHost, "api/PackTask/SearchTaskList", new { DepartmentName = departmentName, @@ -98,7 +87,7 @@ namespace BBWY.Client.APIServices } - public ApiResponse GetProductSku(string skuId) + public ApiResponse SearchProduct(string skuId) { HttpClientHelper helper = new HttpClientHelper(globalContext.QKApiHost); diff --git a/BBWY.Client/GlobalContext.cs b/BBWY.Client/GlobalContext.cs index 280cc5c6..930f2138 100644 --- a/BBWY.Client/GlobalContext.cs +++ b/BBWY.Client/GlobalContext.cs @@ -13,7 +13,7 @@ namespace BBWY.Client { ShopServiceGroupList = new List(); ShopServiceGroupLowerList = new List(); - ClientVersion = "10144"; + ClientVersion = "10145"; } private User user; diff --git a/BBWY.Client/Helpers/MyPrintHelper.cs b/BBWY.Client/Helpers/MyPrintHelper.cs index 59a6e039..06117333 100644 --- a/BBWY.Client/Helpers/MyPrintHelper.cs +++ b/BBWY.Client/Helpers/MyPrintHelper.cs @@ -79,8 +79,8 @@ namespace BBWY.Client.Helpers - args.Graphics.DrawString($"品名: {barCode.BrandName}", font, System.Drawing.Brushes.Black, new PointF(10, topHeigth)); - topHeigth += (heightSpace + sizeHeight); + //args.Graphics.DrawString($"品名: {barCode.BrandName}", font, System.Drawing.Brushes.Black, new PointF(10, topHeigth)); + //topHeigth += (heightSpace + sizeHeight); switch (barCode.LabelModel) @@ -99,6 +99,10 @@ namespace BBWY.Client.Helpers // g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias; size = args.Graphics.MeasureString(barcodeSku, font); topHeigth += (heightSpace + sizeHeight); + + args.Graphics.DrawString($"店铺: {barCode.ShopName}", font, System.Drawing.Brushes.Black, new PointF(10, topHeigth)); + topHeigth += (heightSpace + sizeHeight); + args.Graphics.DrawImage(img, 1, topHeigth, 234, 50); topHeigth += (50 + 5); args.Graphics.DrawString(barcodeSku, font, System.Drawing.Brushes.Black, new PointF((236 - size.Width) / 2, topHeigth)); @@ -145,8 +149,12 @@ namespace BBWY.Client.Helpers string barcodeSku = $"POP{barCode.SkuId}"; Barcode barcode = new Barcode(); System.Drawing.Image img = barcode.Encode(TYPE.CODE128, barcodeSku, 500, 60); - args.Graphics.DrawString($"品名: {barCode.BrandName}", font, System.Drawing.Brushes.Black, new PointF(10, 10)); - args.Graphics.DrawString($"规格: {barCode.SkuName}", font, System.Drawing.Brushes.Black, new PointF(10, 40)); + //args.Graphics.DrawString($"品名: {barCode.BrandName}", font, System.Drawing.Brushes.Black, new PointF(10, 10)); + //args.Graphics.DrawString($"规格: {barCode.SkuName}", font, System.Drawing.Brushes.Black, new PointF(10, 40)); + + + args.Graphics.DrawString($"规格: {barCode.SkuName}", font, System.Drawing.Brushes.Black, new PointF(10, 10)); + args.Graphics.DrawString($"店铺: {barCode.ShopName}", font, System.Drawing.Brushes.Black, new PointF(10, 40)); // g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias; SizeF size = args.Graphics.MeasureString(barcodeSku, font); args.Graphics.DrawString(barcodeSku, font, System.Drawing.Brushes.Black, new PointF((236 - size.Width) / 2, 130)); diff --git a/BBWY.Client/Models/APIModel/Request/BarCodeRequest.cs b/BBWY.Client/Models/APIModel/Request/BarCodeRequest.cs index 42e69d2d..5ff03e71 100644 --- a/BBWY.Client/Models/APIModel/Request/BarCodeRequest.cs +++ b/BBWY.Client/Models/APIModel/Request/BarCodeRequest.cs @@ -43,9 +43,9 @@ namespace BBWY.Client.Models.APIModel.Request /// public BarcodeLabelModel LabelModel { get; set; } - ///// - ///// 型号 - ///// - //public string ModelNo { get; set; } + /// + /// 店铺名 + /// + public string ShopName { get; set; } } } diff --git a/BBWY.Client/Models/BatchPurchase/BatchPublishTask.cs b/BBWY.Client/Models/BatchPurchase/BatchPublishTask.cs index 3c510c21..39369161 100644 --- a/BBWY.Client/Models/BatchPurchase/BatchPublishTask.cs +++ b/BBWY.Client/Models/BatchPurchase/BatchPublishTask.cs @@ -419,7 +419,7 @@ namespace BBWY.Client.Models Brand = productApiResponse.Data.Items[0].BrandName; } - var productSku = packTaskService.GetProductSku(skuid); + var productSku = packTaskService.SearchProduct(skuid); if (productSku == null || !productSku.Success) { @@ -452,6 +452,10 @@ namespace BBWY.Client.Models BarCodeModel = new BarCodeModel(); IsSetBarCode = true; } + if (BarCodeModel.LabelModel== BarcodeLabelModel.无型号模板) + { + BarCodeModel.LabelModel = BarcodeLabelModel.精简模板; + } BarCodeModel.Brand = Brand; if (!string.IsNullOrEmpty(BrandName)) BarCodeModel.BrandName = BrandName; diff --git a/BBWY.Client/Models/PackTask/BarCodeModel.cs b/BBWY.Client/Models/PackTask/BarCodeModel.cs index 9131979a..b3f46ea4 100644 --- a/BBWY.Client/Models/PackTask/BarCodeModel.cs +++ b/BBWY.Client/Models/PackTask/BarCodeModel.cs @@ -49,23 +49,16 @@ namespace BBWY.Client.Models public string SkuId { get => skuId; set { Set(ref skuId, value); } } - private string modelNo; - /// - /// 型号 - /// - public string ModelNo { get => modelNo; set { Set(ref modelNo, value); } } - - - - private BarcodeLabelModel labelModel= BarcodeLabelModel.精简模板; /// /// 模板标签 /// public BarcodeLabelModel LabelModel { get => labelModel; set { Set(ref labelModel, value); } } + /// + /// 店铺名 + /// + public string ShopName { get; set; } - - } } diff --git a/BBWY.Client/Models/PackTask/PackTaskModel.cs b/BBWY.Client/Models/PackTask/PackTaskModel.cs index f4937a90..9d64d4e9 100644 --- a/BBWY.Client/Models/PackTask/PackTaskModel.cs +++ b/BBWY.Client/Models/PackTask/PackTaskModel.cs @@ -6,6 +6,7 @@ using BBWY.Client.ViewModels.PackTask; using BBWY.Client.Views.PackTask; using BBWY.Client.Views.QualityTask; using GalaSoft.MvvmLight.Command; +using NPOI.Util; using System; using System.Collections.Generic; @@ -101,7 +102,7 @@ namespace BBWY.Client.Models return; } LookCerWindow lookCerWindow = new LookCerWindow(CertificateModel); - lookCerWindow.Show(); + lookCerWindow.ShowDialog(); } @@ -117,15 +118,7 @@ namespace BBWY.Client.Models return; } LookBarCodeWindow look = new LookBarCodeWindow(); - look.SetData(new BarCodeModel - { - Brand = BarCodeModel.Brand, - BrandName = BarCodeModel.BrandName, - LabelModel = BarCodeModel.LabelModel, - ProductNo = BarCodeModel.ProductNo, - SkuId = BarCodeModel.SkuId, - SkuName = BarCodeModel.SkuName - }); + look.SetData(BarCodeModel.Copy()); look.Show(); } @@ -141,7 +134,7 @@ namespace BBWY.Client.Models printWindow.CertificateModel = certificateModel; printWindow.LoadData(); //printWindow.Datas = LoadCerLabelModels(); - printWindow.Show(); + printWindow.ShowDialog(); } /// @@ -163,11 +156,12 @@ namespace BBWY.Client.Models LabelModel = BarCodeModel.LabelModel, ProductNo = BarCodeModel.ProductNo, SkuId = BarCodeModel.SkuId, - SkuName = BarCodeModel.SkuName + SkuName = BarCodeModel.SkuName, + ShopName = BarCodeModel.ShopName }; printWindow.LoadData(); //printWindow.Datas = LoadBarLabelModels(); - printWindow.Show(); + printWindow.ShowDialog(); } diff --git a/BBWY.Client/ViewModels/PackTask/CreatePackTaskViewModel.cs b/BBWY.Client/ViewModels/PackTask/CreatePackTaskViewModel.cs index 09233cd7..702a2460 100644 --- a/BBWY.Client/ViewModels/PackTask/CreatePackTaskViewModel.cs +++ b/BBWY.Client/ViewModels/PackTask/CreatePackTaskViewModel.cs @@ -871,7 +871,7 @@ namespace BBWY.Client.ViewModels.PackTask Brand = productApiResponse.Data.Items[0].BrandName; } - var productSku = packTaskService.GetProductSku(searchSkuId); + var productSku = packTaskService.SearchProduct(searchSkuId); if (productSku == null || !productSku.Success) { IsLoading = false; @@ -942,6 +942,10 @@ namespace BBWY.Client.ViewModels.PackTask BarCodeModel = new BarCodeModel(); IsSetBarCode = true; } + if (BarCodeModel.LabelModel == BarcodeLabelModel.无型号模板) + { + BarCodeModel.LabelModel = BarcodeLabelModel.精简模板; + } BarCodeModel.Brand = Brand; if (!string.IsNullOrEmpty(BrandName)) BarCodeModel.BrandName = BrandName; diff --git a/BBWY.Client/ViewModels/PackTask/PublishTaskViewModel.cs b/BBWY.Client/ViewModels/PackTask/PublishTaskViewModel.cs index 273219cb..36bd0562 100644 --- a/BBWY.Client/ViewModels/PackTask/PublishTaskViewModel.cs +++ b/BBWY.Client/ViewModels/PackTask/PublishTaskViewModel.cs @@ -384,6 +384,7 @@ namespace BBWY.Client.ViewModels.PackTask BarCodeModel.Brand = Brand; BarCodeModel.SkuId = SkuId; BarCodeModel.SkuName = SkuName; + BarCodeModel.ShopName = globalContext.User.Shop.ShopName; } if (!string.IsNullOrEmpty(BrandName)) BarCodeModel.BrandName = BrandName; @@ -491,7 +492,7 @@ namespace BBWY.Client.ViewModels.PackTask Brand = productApiResponse.Data.Items[0].BrandName; } - var productSku = packTaskService.GetProductSku(skuid); + var productSku = packTaskService.SearchProduct(skuid); if (productSku == null || !productSku.Success || productSku.Data == null) return; if (TaskId <= 0) @@ -521,6 +522,9 @@ namespace BBWY.Client.ViewModels.PackTask { BarCodeModel = new BarCodeModel(); } + if (BarCodeModel.LabelModel == BarcodeLabelModel.无型号模板) + BarCodeModel.LabelModel = BarcodeLabelModel.精简模板; + BarCodeModel.Brand = Brand; if (!string.IsNullOrEmpty(BrandName)) BarCodeModel.BrandName = BrandName; diff --git a/BBWY.Client/ViewModels/PackTask/TaskListViewModel.cs b/BBWY.Client/ViewModels/PackTask/TaskListViewModel.cs index e6333181..30b3a946 100644 --- a/BBWY.Client/ViewModels/PackTask/TaskListViewModel.cs +++ b/BBWY.Client/ViewModels/PackTask/TaskListViewModel.cs @@ -283,7 +283,7 @@ namespace BBWY.Client.ViewModels.PackTask var id = (long)paramList[0]; var markMsg = paramList[1].ToString(); SubmitOverTimeMarkMsgWindow submitOverTimeMarkMsgWindow = new SubmitOverTimeMarkMsgWindow(OverTimeTaskType.待落仓, id, markMsg, packTaskService, ReflashTask) ; - submitOverTimeMarkMsgWindow.Show(); + submitOverTimeMarkMsgWindow.ShowDialog(); } private void SetFallWareConfigured(object obj) @@ -338,7 +338,7 @@ namespace BBWY.Client.ViewModels.PackTask SealBoxConfigureWindow sealBoxConfigureWindow = new SealBoxConfigureWindow(updateSealBoxConfig.Data.UpdateSealBoxConfiguredTaskDatas, ReflashTask, sealBoxId); - sealBoxConfigureWindow.Show(); + sealBoxConfigureWindow.ShowDialog(); } private void ConfiguredSealBox() @@ -374,7 +374,7 @@ namespace BBWY.Client.ViewModels.PackTask return; } SealBoxConfigureWindow sealBoxConfigureWindow = new SealBoxConfigureWindow(updateSealBoxConfig.Data.UpdateSealBoxConfiguredTaskDatas, ReflashTask, 0); - sealBoxConfigureWindow.Show(); + sealBoxConfigureWindow.ShowDialog(); } @@ -536,7 +536,7 @@ namespace BBWY.Client.ViewModels.PackTask try { PackTaskList = new ObservableCollection();//初始化数据 - var datas = packTaskService.GetTaskList(SearchSkuId, SearchTaskId,SearchSpuId,SearchOrderSn, this.TaskState, + var datas = packTaskService.SearchTaskList(SearchSkuId, SearchTaskId, this.TaskState, PageIndex, PageSize); if (datas != null && datas.Data != null && datas.Success) { @@ -596,6 +596,8 @@ namespace BBWY.Client.ViewModels.PackTask if (item.BarCodeDTO != null && item.BarCodeDTO.Id > 0) { data.BarCodeModel = item.BarCodeDTO; + if (data.BarCodeModel.LabelModel == BarcodeLabelModel.无型号模板) + data.BarCodeModel.LabelModel = BarcodeLabelModel.精简模板; } if (item.Cers != null) { @@ -1032,7 +1034,7 @@ namespace BBWY.Client.ViewModels.PackTask public void CreateTask() { PublishTaskWindow publish = new PublishTaskWindow(ReflashTask); - publish.Show(); + publish.ShowDialog(); } /// diff --git a/BBWY.Client/ViewModels/PackTask/WareHouseListViewModel.cs b/BBWY.Client/ViewModels/PackTask/WareHouseListViewModel.cs index 61834c6b..f800f5f0 100644 --- a/BBWY.Client/ViewModels/PackTask/WareHouseListViewModel.cs +++ b/BBWY.Client/ViewModels/PackTask/WareHouseListViewModel.cs @@ -435,7 +435,7 @@ namespace BBWY.Client.ViewModels.PackTask } SubmitOverTimeMarkMsgWindow submitOverTimeMarkMsgWindow = new SubmitOverTimeMarkMsgWindow(overTimeTaskType, id, markMsg, packTaskService, ReflashTask); - submitOverTimeMarkMsgWindow.Show(); + submitOverTimeMarkMsgWindow.ShowDialog(); } private void LookLSOrderConfigure(object obj) @@ -487,7 +487,7 @@ namespace BBWY.Client.ViewModels.PackTask var totalPageIndex = data.GetWareLSOrderPurchases.Count() % 10 == 0 ? data.GetWareLSOrderPurchases.Count() / 10 : data.GetWareLSOrderPurchases.Count() / 10 + 1; WareLSAcceptOrderWindow wareLSAcceptOrderWindow = new WareLSAcceptOrderWindow(lsdTaskMsg, lookData, 1, totalPageIndex, model.BoxConfigureData.PrewOrder); - wareLSAcceptOrderWindow.Show(); + wareLSAcceptOrderWindow.ShowDialog(); } private void PrintLSOrderConfigure(object obj) @@ -691,14 +691,14 @@ namespace BBWY.Client.ViewModels.PackTask if (fallware.WareType == WareType.京仓) { SetJDWareBoxWindow window = new SetJDWareBoxWindow(model); - window.Show(); + window.ShowDialog(); //var w = new SetJDWareBoxWindow2(model, sealBoxService, fallware.WareType, ReflashTask, false); //w.ShowDialog(); } if (fallware.WareType == WareType.云仓 || fallware.WareType == WareType.聚水潭齐越仓) { SetCloudWareBoxWindow window = new SetCloudWareBoxWindow(model, fallware.WareType); - window.Show(); + window.ShowDialog(); } } @@ -1343,7 +1343,7 @@ namespace BBWY.Client.ViewModels.PackTask PackTaskList = new ObservableCollection();//初始化数据 - var datas = packTaskService.GetWareHouseList(SearchWayBillNo, SearchExpressName, SearchDepartment, SearchSkuId, SearchTaskId, this.TaskState, SearchShopName, + var datas = packTaskService.SearchTaskList(SearchWayBillNo, SearchExpressName, SearchDepartment, SearchSkuId, SearchTaskId, this.TaskState, SearchShopName, PageIndex, PageSize); if (datas != null && datas.Data != null && datas.Success) { @@ -1409,8 +1409,10 @@ namespace BBWY.Client.ViewModels.PackTask if (item.BarCodeDTO != null && item.BarCodeDTO.Id > 0) { - + data.BarCodeModel = item.BarCodeDTO; + if (data.BarCodeModel.LabelModel == BarcodeLabelModel.无型号模板) + data.BarCodeModel.LabelModel = BarcodeLabelModel.精简模板; } if (item.Cers != null) diff --git a/BBWY.Client/ViewModels/QualityTask/QualityViewModel.cs b/BBWY.Client/ViewModels/QualityTask/QualityViewModel.cs index 0ad78e82..92f80a19 100644 --- a/BBWY.Client/ViewModels/QualityTask/QualityViewModel.cs +++ b/BBWY.Client/ViewModels/QualityTask/QualityViewModel.cs @@ -482,6 +482,11 @@ namespace BBWY.Client.ViewModels } BatchPrintWindow batchPrint = new BatchPrintWindow(); + + //if (BarCodeModel!=null) + //{ + // BarCodeModel.ShopName = OriginShopName; + //} batchPrint.SetData(GoodProductQuantity, PurchaseSkuList.Where(p => p.IsNeedCer && p.CerDTO.Id > 0).Select(p => p.CerDTO).ToArray() , BarCodeModel); diff --git a/BBWY.Client/Views/PackTask/BarcodeControl.xaml b/BBWY.Client/Views/PackTask/BarcodeControl.xaml index eaf5ef5f..a34df80e 100644 --- a/BBWY.Client/Views/PackTask/BarcodeControl.xaml +++ b/BBWY.Client/Views/PackTask/BarcodeControl.xaml @@ -9,28 +9,27 @@ - - + + - + - + - + - + + + + + - + - - - - - @@ -43,6 +42,10 @@ + + + + @@ -51,10 +54,7 @@ - - - - + @@ -63,6 +63,10 @@ + + + + diff --git a/BBWY.Client/Views/PackTask/MinBarcodeControl.xaml b/BBWY.Client/Views/PackTask/MinBarcodeControl.xaml index 7dc25ac8..222338cb 100644 --- a/BBWY.Client/Views/PackTask/MinBarcodeControl.xaml +++ b/BBWY.Client/Views/PackTask/MinBarcodeControl.xaml @@ -10,14 +10,15 @@ - - - - + + + + + @@ -31,10 +32,7 @@ - - - - + @@ -43,6 +41,10 @@ + + + + @@ -55,14 +57,15 @@ - - - - + + + + + diff --git a/BBWY.Client/Views/PackTask/ServiceWindow.xaml b/BBWY.Client/Views/PackTask/ServiceWindow.xaml index d61023d7..7cea7a55 100644 --- a/BBWY.Client/Views/PackTask/ServiceWindow.xaml +++ b/BBWY.Client/Views/PackTask/ServiceWindow.xaml @@ -709,6 +709,7 @@ + diff --git a/BBWY.Client/Views/PackTask/ServiceWindow.xaml.cs b/BBWY.Client/Views/PackTask/ServiceWindow.xaml.cs index 8881d92b..004a0bcc 100644 --- a/BBWY.Client/Views/PackTask/ServiceWindow.xaml.cs +++ b/BBWY.Client/Views/PackTask/ServiceWindow.xaml.cs @@ -39,6 +39,12 @@ namespace BBWY.Client.Views.PackTask var serviceViewModel= this.DataContext as PackServiceViewModel; //加载数据 + + if (model.BarCodeModel!=null) + { + model.BarCodeModel.ShopName= model.ShopName; + } + serviceViewModel.PackTaskModel = model; serviceViewModel.PackTaskList = new System.Collections.ObjectModel.ObservableCollection { model }; serviceViewModel.FloorDragNumber = model.FloorDragNumber; diff --git a/BBWY.Client/Views/PackTask/SetBarCode.xaml b/BBWY.Client/Views/PackTask/SetBarCode.xaml index 8dc050ee..48cc8274 100644 --- a/BBWY.Client/Views/PackTask/SetBarCode.xaml +++ b/BBWY.Client/Views/PackTask/SetBarCode.xaml @@ -8,7 +8,7 @@ mc:Ignorable="d" Style="{StaticResource bwstyle}" xmlns:c="clr-namespace:BBWY.Controls;assembly=BBWY.Controls" - Height="651" Width="577" + Height="380" Width="577" xmlns:b="http://schemas.microsoft.com/xaml/behaviors" xmlns:ctr="clr-namespace:BBWY.Client.Converters" xmlns:cmodel="clr-namespace:BBWY.Client.Models" @@ -31,49 +31,44 @@ - - - - + - - + + - + + + - + - + - + - + + + + + - + - - - - - - - - - + @@ -86,6 +81,10 @@ + + + + @@ -99,15 +98,12 @@ - - + diff --git a/BBWY.Client/Views/PackTask/SetBarCode.xaml.cs b/BBWY.Client/Views/PackTask/SetBarCode.xaml.cs index cea59e15..323d1b2d 100644 --- a/BBWY.Client/Views/PackTask/SetBarCode.xaml.cs +++ b/BBWY.Client/Views/PackTask/SetBarCode.xaml.cs @@ -60,7 +60,8 @@ namespace BBWY.Client.Views.PackTask ProductNo = BarCodeModel.ProductNo, SkuId = BarCodeModel.SkuId, SkuName = BarCodeModel.SkuName, - LabelModel = BarCodeModel.LabelModel + LabelModel = BarCodeModel.LabelModel, + ShopName = BarCodeModel.ShopName, }); if (resData == null) diff --git a/BBWY.Client/Views/QualityTask/BatchPrintWindow.xaml.cs b/BBWY.Client/Views/QualityTask/BatchPrintWindow.xaml.cs index 8f7a5be7..a27123b4 100644 --- a/BBWY.Client/Views/QualityTask/BatchPrintWindow.xaml.cs +++ b/BBWY.Client/Views/QualityTask/BatchPrintWindow.xaml.cs @@ -41,7 +41,7 @@ namespace BBWY.Client.Views.QualityTask this.DataContext = this; } - + public CertificateModel[] CertificateModel { get; set; } diff --git a/BBWY.Server.Business/PurchaseOrderV2/BatchPurchase/BatchPurchaseBusiness.cs b/BBWY.Server.Business/PurchaseOrderV2/BatchPurchase/BatchPurchaseBusiness.cs index 867e9144..b058e95d 100644 --- a/BBWY.Server.Business/PurchaseOrderV2/BatchPurchase/BatchPurchaseBusiness.cs +++ b/BBWY.Server.Business/PurchaseOrderV2/BatchPurchase/BatchPurchaseBusiness.cs @@ -973,7 +973,6 @@ namespace BBWY.Server.Business if (payOrderResponse.Success) { var order = fsql.Select().Where(p => p.Id == request.OrderId).ToOne(); - fsql.Update(order) .Set(a => a.OrderState, payOrderResponse.PurchaseOrderState) .ExecuteAffrows();