From 0b09ed4a6f84dddabf3628a27c551ebbdb5501ad Mon Sep 17 00:00:00 2001 From: shanj <18996038927@163.com> Date: Tue, 16 May 2023 22:21:05 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E7=BB=84=E4=BB=B6null=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PurchaseScheme/PurchaseProductAPIService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/BBWYB.Server.Business/PurchaseScheme/PurchaseProductAPIService.cs b/BBWYB.Server.Business/PurchaseScheme/PurchaseProductAPIService.cs index 4cf950c..a4616f7 100644 --- a/BBWYB.Server.Business/PurchaseScheme/PurchaseProductAPIService.cs +++ b/BBWYB.Server.Business/PurchaseScheme/PurchaseProductAPIService.cs @@ -29,6 +29,7 @@ namespace BBWYB.Server.Business public PurchaseProductAPIService(RestApiService restApiService, IMemoryCache memoryCache) { + this.memoryCache = memoryCache; this.restApiService = restApiService; _1688ProductDetailRequestHeader = new Dictionary() { From 2bcc0d93d6854cabc0ee8ac7e13a5b517d128314 Mon Sep 17 00:00:00 2001 From: shanj <18996038927@163.com> Date: Wed, 17 May 2023 16:03:35 +0800 Subject: [PATCH 2/5] =?UTF-8?q?B=E7=AB=AF=20=E8=AE=A2=E5=8D=95Sku=E5=B1=82?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E6=9D=A5=E6=BA=90Sku?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../APIModel/Response/Order/OrderResponse.cs | 4 ---- .../Response/Order/OrderSkuResponse.cs | 5 ++++ BBWYB.Client/Views/MainWindow.xaml | 2 +- BBWYB.Client/Views/Order/OrderList.xaml | 24 ++++++++++++++++++- BBWYB.Server.Business/Order/OrderBusiness.cs | 10 ++++---- .../Sync/OrderSyncBusiness.cs | 9 +++++-- BBWYB.Server.Model/Db/Order/Order.cs | 10 ++++---- BBWYB.Server.Model/Db/Order/OrderSku.cs | 6 +++++ 8 files changed, 52 insertions(+), 18 deletions(-) diff --git a/BBWYB.Client/Models/APIModel/Response/Order/OrderResponse.cs b/BBWYB.Client/Models/APIModel/Response/Order/OrderResponse.cs index 0547981..e6b59b3 100644 --- a/BBWYB.Client/Models/APIModel/Response/Order/OrderResponse.cs +++ b/BBWYB.Client/Models/APIModel/Response/Order/OrderResponse.cs @@ -102,10 +102,6 @@ namespace BBWYB.Client.Models ///// //public string ExpressName { get; set; } - /// - /// 来源Sku - /// - public string SourceSku { get; set; } /// /// 来源店铺名 diff --git a/BBWYB.Client/Models/APIModel/Response/Order/OrderSkuResponse.cs b/BBWYB.Client/Models/APIModel/Response/Order/OrderSkuResponse.cs index e811252..18a7cde 100644 --- a/BBWYB.Client/Models/APIModel/Response/Order/OrderSkuResponse.cs +++ b/BBWYB.Client/Models/APIModel/Response/Order/OrderSkuResponse.cs @@ -38,5 +38,10 @@ namespace BBWYB.Client.Models /// Sku标题 /// public string Title { get; set; } + + /// + /// 来源Sku + /// + public string BelongSkuId { get; set; } } } diff --git a/BBWYB.Client/Views/MainWindow.xaml b/BBWYB.Client/Views/MainWindow.xaml index 5c68790..80057ff 100644 --- a/BBWYB.Client/Views/MainWindow.xaml +++ b/BBWYB.Client/Views/MainWindow.xaml @@ -24,7 +24,7 @@ - + diff --git a/BBWYB.Client/Views/Order/OrderList.xaml b/BBWYB.Client/Views/Order/OrderList.xaml index a3c40b5..2567c09 100644 --- a/BBWYB.Client/Views/Order/OrderList.xaml +++ b/BBWYB.Client/Views/Order/OrderList.xaml @@ -428,6 +428,28 @@ + + + + + + + + + + + + + ().As("osku") .WhereIf(!string.IsNullOrEmpty(request.Sku), osku => osku.SkuId == request.Sku) + .WhereIf(!string.IsNullOrEmpty(request.SourceSku), osku => osku.BelongSkuId == request.SourceSku) .WhereIf(!string.IsNullOrEmpty(request.ProductId), osku => osku.ProductId == request.ProductId); select = select.Where((o, ocs, oct) => childSelect.Where(osku => osku.OrderId == o.Id).Any()); } @@ -56,8 +57,7 @@ namespace BBWYB.Server.Business .WhereIf(request.StartDate != null, (o, ocs, oct) => o.StartTime >= request.StartDate) .WhereIf(request.EndDate != null, (o, ocs, oct) => o.StartTime <= request.EndDate) .WhereIf(!string.IsNullOrEmpty(request.ClientOrderId), (o, ocs, oct) => o.ClientOrderId == request.ClientOrderId) - .WhereIf(!string.IsNullOrEmpty(request.SourceShopName), (o, ocs, oct) => o.SourceShopName == request.SourceShopName) - .WhereIf(!string.IsNullOrEmpty(request.SourceSku), (o, ocs, oct) => o.SourceSku.Contains(request.SourceSku)); + .WhereIf(!string.IsNullOrEmpty(request.SourceShopName), (o, ocs, oct) => o.SourceShopName == request.SourceShopName); } select = select.WhereIf(request.ShopId != null, (o, ocs, oct) => o.ShopId == request.ShopId); @@ -92,7 +92,7 @@ namespace BBWYB.Server.Business PreferentialAmount = o.PreferentialAmount, ClientOrderId = o.ClientOrderId, SourceShopName = o.SourceShopName, - SourceSku = o.SourceSku, + //SourceSku = o.SourceSku, //ExpressName = o.ExpressName, IsPurchased = o.IsPurchased, BuyerAccount = o.BuyerAccount, @@ -154,7 +154,7 @@ namespace BBWYB.Server.Business order.OrderPurchaseInfoList = orderPurchaseInfoList.Where(op => op.OrderId == order.Id).ToList(); foreach (var purchaseOrder in order.OrderPurchaseInfoList) { - purchaseOrder.ExpressState = orderPurchaseSkuInfoList.FirstOrDefault(x => !string.IsNullOrEmpty(x.ExpressState) && + purchaseOrder.ExpressState = orderPurchaseSkuInfoList.FirstOrDefault(x => !string.IsNullOrEmpty(x.ExpressState) && x.PurchaseOrderId == purchaseOrder.PurchaseOrderId)?.ExpressState; } } diff --git a/BBWYB.Server.Business/Sync/OrderSyncBusiness.cs b/BBWYB.Server.Business/Sync/OrderSyncBusiness.cs index 6a69aaa..136bf7b 100644 --- a/BBWYB.Server.Business/Sync/OrderSyncBusiness.cs +++ b/BBWYB.Server.Business/Sync/OrderSyncBusiness.cs @@ -113,13 +113,17 @@ namespace BBWYB.Server.Business.Sync ClientOrderId = qtOrder.ClientOrderId, BuyerAccount = qtOrder.UserAccount }; + JArray belongSkus = null; if (!string.IsNullOrEmpty(qtOrder.Extended)) { try { var jobject = JObject.Parse(qtOrder.Extended); - dbOrder.SourceSku = jobject.Value("SourceSku"); + //dbOrder.SourceSku = jobject.Value("SourceSku"); dbOrder.SourceShopName = jobject.Value("SourceShopName"); + + if (jobject.ContainsKey("BelongSkus")) + belongSkus = jobject["BelongSkus"] as JArray; } catch (Exception ex) { @@ -145,7 +149,8 @@ namespace BBWYB.Server.Business.Sync Price = qtOrderSku.SkuPrice, Title = qtOrderSku.SkuTitle, ShopId = shopId, - ProductId = qtOrderSku.ProductId + ProductId = qtOrderSku.ProductId, + BelongSkuId = belongSkus?.FirstOrDefault(j=>j.Value("SkuId") == qtOrderSku.SkuId)?.Value("BelongSkuId") ?? string.Empty }); } diff --git a/BBWYB.Server.Model/Db/Order/Order.cs b/BBWYB.Server.Model/Db/Order/Order.cs index c99fd79..9b1170e 100644 --- a/BBWYB.Server.Model/Db/Order/Order.cs +++ b/BBWYB.Server.Model/Db/Order/Order.cs @@ -135,11 +135,11 @@ namespace BBWYB.Server.Model.Db //[Column(StringLength = 100)] //public string ExpressName { get; set; } - /// - /// 来源Sku - /// - [Column(StringLength = 500)] - public string SourceSku { get; set; } + ///// + ///// 来源Sku + ///// + //[Column(StringLength = 500)] + //public string SourceSku { get; set; } /// /// 来源店铺名 diff --git a/BBWYB.Server.Model/Db/Order/OrderSku.cs b/BBWYB.Server.Model/Db/Order/OrderSku.cs index 81376b7..2bf664c 100644 --- a/BBWYB.Server.Model/Db/Order/OrderSku.cs +++ b/BBWYB.Server.Model/Db/Order/OrderSku.cs @@ -57,6 +57,12 @@ namespace BBWYB.Server.Model.Db [Column(StringLength = 50, IsNullable = false)] public string SkuId { get; set; } + /// + /// 归属SkuId + /// + [Column(StringLength = 50)] + public string BelongSkuId { get; set; } + /// /// Sku标题 /// From bda1a275e095a6659d491c1fca42fdc9a8a71b8e Mon Sep 17 00:00:00 2001 From: shanj <18996038927@163.com> Date: Wed, 17 May 2023 16:24:39 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E5=8F=96=E6=B6=88=E8=AE=A2=E5=8D=95SourceS?= =?UTF-8?q?ku?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BBWYB.Server.Model/Dto/Response/Order/OrderResponse.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/BBWYB.Server.Model/Dto/Response/Order/OrderResponse.cs b/BBWYB.Server.Model/Dto/Response/Order/OrderResponse.cs index 010eba0..aaad2bf 100644 --- a/BBWYB.Server.Model/Dto/Response/Order/OrderResponse.cs +++ b/BBWYB.Server.Model/Dto/Response/Order/OrderResponse.cs @@ -94,11 +94,6 @@ /// public string PurchaseRemark { get; set; } - /// - /// 来源Sku - /// - public string SourceSku { get; set; } - /// /// 来源店铺名 /// From e98deb9ff504ee81d0cb7c6775e21b292c82464b Mon Sep 17 00:00:00 2001 From: shanj <18996038927@163.com> Date: Wed, 17 May 2023 19:15:54 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E9=87=87=E8=B4=AD=E6=97=B6=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E9=87=87=E8=B4=AD=E5=85=B3=E7=B3=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BBWYB.Client/BBWYB.Client.csproj | 1 + BBWYB.Client/ViewModels/MainViewModel.cs | 9 + BBWYB.Client/Views/MainWindow.xaml.cs | 39 +- BBWYB.Client/Views/WebB/WebB.xaml | 14 + BBWYB.Client/Views/WebB/WebB.xaml.cs | 18 + BBWYB.Client/WebView2Manager.cs | 69 ++ .../PurchaseOrder/PurchaseOrderBusiness.cs | 21 +- .../Db/Order/OrderPurchaseRelationinfo.cs | 69 ++ ...bwyB端库-backup-2023517184355.pdma.json} | 505 ++++++++++++--- ...bwyB端库-backup-2023517184403.pdma.json} | 573 ++++++++++++----- ...bwyB端库-backup-2023517191218.pdma.json} | 510 ++++++++++++--- doc/bbwyB端库.pdma.json | 594 +++++++++++++++--- 12 files changed, 2038 insertions(+), 384 deletions(-) create mode 100644 BBWYB.Client/Views/WebB/WebB.xaml create mode 100644 BBWYB.Client/Views/WebB/WebB.xaml.cs create mode 100644 BBWYB.Client/WebView2Manager.cs create mode 100644 BBWYB.Server.Model/Db/Order/OrderPurchaseRelationinfo.cs rename doc/.back_bbwyB端库/{bbwyB端库-backup-2023514100221.pdma.json => bbwyB端库-backup-2023517184355.pdma.json} (96%) rename doc/.back_bbwyB端库/{bbwyB端库-backup-2023514095129.pdma.json => bbwyB端库-backup-2023517184403.pdma.json} (96%) rename doc/.back_bbwyB端库/{bbwyB端库-backup-2023514100225.pdma.json => bbwyB端库-backup-2023517191218.pdma.json} (96%) diff --git a/BBWYB.Client/BBWYB.Client.csproj b/BBWYB.Client/BBWYB.Client.csproj index 1cbe17b..88c521c 100644 --- a/BBWYB.Client/BBWYB.Client.csproj +++ b/BBWYB.Client/BBWYB.Client.csproj @@ -33,6 +33,7 @@ + diff --git a/BBWYB.Client/ViewModels/MainViewModel.cs b/BBWYB.Client/ViewModels/MainViewModel.cs index d0b23d5..bc720e4 100644 --- a/BBWYB.Client/ViewModels/MainViewModel.cs +++ b/BBWYB.Client/ViewModels/MainViewModel.cs @@ -102,6 +102,15 @@ namespace BBWYB.Client.ViewModels } }); MenuList.Add(new MenuModel() + { + Name = "Web版", + ChildList = new List() + { + new MenuModel(){ Name="订单列表Bata",Url="/Views/WebB/WebB.xaml" }, + //new MenuModel(){ Name="团队配置",Url="/Views/Setting/TeamSetting.xaml" } + } + }); + MenuList.Add(new MenuModel() { Name = "设置", ChildList = new List() diff --git a/BBWYB.Client/Views/MainWindow.xaml.cs b/BBWYB.Client/Views/MainWindow.xaml.cs index 19591ee..22934b6 100644 --- a/BBWYB.Client/Views/MainWindow.xaml.cs +++ b/BBWYB.Client/Views/MainWindow.xaml.cs @@ -1,6 +1,8 @@ using CommunityToolkit.Mvvm.Messaging; +using Microsoft.Web.WebView2.Core; using SJ.Controls; using System; +using System.Threading; using System.Windows; namespace BBWYB.Client.Views @@ -20,7 +22,28 @@ namespace BBWYB.Client.Views private void MainWindow_Loaded(object sender, RoutedEventArgs e) { - + if (!CheckWebview2Runtime()) + { + MessageBox.Show("缺少webview2 runtime,请下载安装之后重新运行bbwyb"); + //下载webview2 runtime + //Task.Factory.StartNew(DownloadWebview2Runtime); + var webview2RuntimeUrl = "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/238fc310-c6c1-4a3e-a806-4a7c3c17b377/MicrosoftEdgeWebView2RuntimeInstallerX64.exe"; + try + { + System.Diagnostics.Process.Start("explorer.exe", webview2RuntimeUrl); + Thread.Sleep(1000); + } + catch (Exception ex) + { + Clipboard.SetText(webview2RuntimeUrl); + MessageBox.Show($"{ex.Message}\r\n调用浏览器失败,网页链接已复制到剪切板,请手动打开浏览器访问", "提示"); + } + finally + { + Environment.Exit(Environment.ExitCode); + } + } + } private void frame_Navigated(object sender, System.Windows.Navigation.NavigationEventArgs e) @@ -28,5 +51,19 @@ namespace BBWYB.Client.Views if (frame.CanGoBack) frame.RemoveBackEntry(); } + + private bool CheckWebview2Runtime() + { + bool isInstall = false; + try + { + isInstall = !string.IsNullOrEmpty(CoreWebView2Environment.GetAvailableBrowserVersionString()); + } + catch (Exception ex) + { + Console.WriteLine(ex.Message); + } + return isInstall; + } } } diff --git a/BBWYB.Client/Views/WebB/WebB.xaml b/BBWYB.Client/Views/WebB/WebB.xaml new file mode 100644 index 0000000..d5f413b --- /dev/null +++ b/BBWYB.Client/Views/WebB/WebB.xaml @@ -0,0 +1,14 @@ + + + + + + diff --git a/BBWYB.Client/Views/WebB/WebB.xaml.cs b/BBWYB.Client/Views/WebB/WebB.xaml.cs new file mode 100644 index 0000000..09cf5c8 --- /dev/null +++ b/BBWYB.Client/Views/WebB/WebB.xaml.cs @@ -0,0 +1,18 @@ +using System.Windows.Controls; + +namespace BBWYB.Client.Views.WebB +{ + /// + /// WebB.xaml 的交互逻辑 + /// + public partial class WebB : Page + { + private WebView2Manager w2m; + private bool isNavigated; + + public WebB() + { + InitializeComponent(); + } + } +} diff --git a/BBWYB.Client/WebView2Manager.cs b/BBWYB.Client/WebView2Manager.cs new file mode 100644 index 0000000..c978669 --- /dev/null +++ b/BBWYB.Client/WebView2Manager.cs @@ -0,0 +1,69 @@ +using BBWYB.Common.Models; +using Microsoft.Web.WebView2.Core; +using Microsoft.Web.WebView2.Wpf; +using System; +using io = System.IO; + +namespace BBWYB.Client +{ + public class WebView2Manager : IDenpendency + { + public WebView2 wb2 { get; private set; } + //public WebView2Manager() + //{ + // Init(); + //} + public void Init() + { + if (wb2 == null) + { + wb2 = new WebView2(); + var wb2Setting = CoreWebView2Environment.CreateAsync(userDataFolder: io.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "WebView2UserData")).Result; + wb2.EnsureCoreWebView2Async(wb2Setting); + wb2.CoreWebView2InitializationCompleted += Wb2_CoreWebView2InitializationCompleted; + wb2.NavigationCompleted += Wb2_NavigationCompleted; + wb2.WebMessageReceived += Wb2_WebMessageReceived; + } + } + + public Action OnWebMessageReceived; + public Action OnNavigationCompleted; + public Action CoreWebView2InitializationCompleted; + public bool IsInitializationCompleted { get ; private set; } + + private void Wb2_WebMessageReceived(object sender, CoreWebView2WebMessageReceivedEventArgs e) + { + OnWebMessageReceived?.Invoke(e); + } + + private void Wb2_NavigationCompleted(object sender, CoreWebView2NavigationCompletedEventArgs e) + { + OnNavigationCompleted?.Invoke(e); + } + + private void Wb2_CoreWebView2InitializationCompleted(object sender, CoreWebView2InitializationCompletedEventArgs e) + { + CoreWebView2InitializationCompleted?.Invoke(e); + IsInitializationCompleted = true; + } + + public void Close() + { + if (wb2 != null && wb2.CoreWebView2 != null) + { + IsInitializationCompleted = false; + wb2.CoreWebView2InitializationCompleted -= Wb2_CoreWebView2InitializationCompleted; + wb2.NavigationCompleted -= Wb2_NavigationCompleted; + wb2.WebMessageReceived -= Wb2_WebMessageReceived; + var udf = wb2.CoreWebView2.Environment.UserDataFolder; + wb2.Dispose(); + wb2 = null; + try + { + io.Directory.Delete(udf, true); + } + catch { } + } + } + } +} diff --git a/BBWYB.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs b/BBWYB.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs index 6dda589..57d9af9 100644 --- a/BBWYB.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs +++ b/BBWYB.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs @@ -177,6 +177,7 @@ namespace BBWYB.Server.Business List insertOrderPurchaseInfos = new List(); List insertOrderPurchaseSkuInfos = new List(); List updatePurchaseTimeSchemeIdList = new List(); + List insertOrderPurchaseRelationInfoList = new List(); IInsert insertOrderCost = null; IUpdate updateOrderCost = null; var totalPurchaseAmount = 0M; @@ -225,6 +226,23 @@ namespace BBWYB.Server.Business OrderId = createOrderResponse.OrderId }); + foreach (var cargoParam in cargoParamGroup.CargoParamList) + { + insertOrderPurchaseRelationInfoList.Add(new OrderPurchaseRelationInfo() + { + Id = idGenerator.NewLong(), + BelongSkuId = cargoParam.BelongSkuId, + CreateTime = DateTime.Now, + OrderId = request.OrderId, + PurchaseOrderId = purchaseOrderSimpleInfo.OrderId, + PurchaseProductId = cargoParam.ProductId, + PurchaseSkuId = cargoParam.SkuId, + PurchaseSpecId = cargoParam.SpecId, + Quantity = cargoParam.Quantity, + SchemeId = cargoParam.SchemeId + }); + } + totalPurchaseAmount += purchaseOrderSimpleInfo.TotalAmount; var belongSkuGroups = cargoParamGroup.CargoParamList.GroupBy(p => p.BelongSkuId); @@ -337,6 +355,7 @@ namespace BBWYB.Server.Business fsql.Insert(insertOrderCostDetails).ExecuteAffrows(); fsql.Insert(insertOrderPurchaseInfos).ExecuteAffrows(); fsql.Insert(insertOrderPurchaseSkuInfos).ExecuteAffrows(); + fsql.Insert(insertOrderPurchaseRelationInfoList).ExecuteAffrows(); updateOrderCost?.ExecuteAffrows(); insertOrderCost?.ExecuteAffrows(); if (updatePurchaseTimeSchemeIdList.Count() > 0) @@ -655,7 +674,7 @@ namespace BBWYB.Server.Business }); totalPurchaseAmount += purchaseOrderSimpleInfo.TotalAmount; } - + //var oldTotalAmount = dbOrderCost.PurchaseAmount; //var oldProductAmount = dbOrderCostDetailList.Sum(ocd => ocd.SkuAmount); diff --git a/BBWYB.Server.Model/Db/Order/OrderPurchaseRelationinfo.cs b/BBWYB.Server.Model/Db/Order/OrderPurchaseRelationinfo.cs new file mode 100644 index 0000000..c541335 --- /dev/null +++ b/BBWYB.Server.Model/Db/Order/OrderPurchaseRelationinfo.cs @@ -0,0 +1,69 @@ +using FreeSql.DataAnnotations; + +namespace BBWYB.Server.Model.Db +{ + + /// + /// 采购订单关系表 + /// + [Table(Name = "orderpurchaserelationinfo", DisableSyncStructure = true)] + public partial class OrderPurchaseRelationInfo { + + /// + /// 主键 + /// + [Column(IsPrimary = true)] + public long Id { get; set; } + + /// + /// 归属SkuId(拳探) + /// + [Column(StringLength = 100)] + public string BelongSkuId { get; set; } + + [Column(DbType = "datetime")] + public DateTime? CreateTime { get; set; } + + /// + /// 订单Id + /// + [Column(StringLength = 100)] + public string OrderId { get; set; } + + /// + /// 采购单Id + /// + [Column(StringLength = 100)] + public string PurchaseOrderId { get; set; } + + /// + /// 采购Spu + /// + [Column(StringLength = 100)] + public string PurchaseProductId { get; set; } + + /// + /// 采购Sku + /// + [Column(StringLength = 100)] + public string PurchaseSkuId { get; set; } + + /// + /// 采购Spec(1688) + /// + [Column(StringLength = 100)] + public string PurchaseSpecId { get; set; } + + /// + /// 采购数量 + /// + public int? Quantity { get; set; } + + /// + /// 采购方案Id + /// + public long? SchemeId { get; set; } + + } + +} diff --git a/doc/.back_bbwyB端库/bbwyB端库-backup-2023514100221.pdma.json b/doc/.back_bbwyB端库/bbwyB端库-backup-2023517184355.pdma.json similarity index 96% rename from doc/.back_bbwyB端库/bbwyB端库-backup-2023514100221.pdma.json rename to doc/.back_bbwyB端库/bbwyB端库-backup-2023517184355.pdma.json index 2bac757..3b3b0fc 100644 --- a/doc/.back_bbwyB端库/bbwyB端库-backup-2023514100221.pdma.json +++ b/doc/.back_bbwyB端库/bbwyB端库-backup-2023517184355.pdma.json @@ -4,7 +4,7 @@ "avatar": "", "version": "4.5.1", "createdTime": "2023-5-12 20:56:05", - "updatedTime": "2023-5-14 09:51:29", + "updatedTime": "2023-5-17 18:43:53", "dbConns": [], "profile": { "default": { @@ -3678,6 +3678,23 @@ "attr9": "", "id": "1A165F66-FE0D-4A2E-AF71-EE7F6EBDDCFA", "extProps": {} + }, + { + "defKey": "BelongSkuId", + "defName": "来源Sku", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "1A0C9CCD-B348-4916-83C2-D02754D94E1D" } ], "indexes": [ @@ -3831,7 +3848,8 @@ "hideInGraph": true } ], - "correlations": [] + "correlations": [], + "notes": {} }, { "id": "474E5807-5650-43BD-8C5C-E16F36D58F85", @@ -5113,7 +5131,7 @@ "fields": [ { "defKey": "Id", - "defName": "", + "defName": "采购Sku订单Id(来自采购平台)", "comment": "", "type": "bigint", "len": "", @@ -5248,9 +5266,238 @@ "id": "329B45D7-BCE9-4895-B52D-C953E95DB4B2" }, { - "defKey": "PurchaseSkuOrderId", - "defName": "采购Sku订单Id", - "comment": "1688 OrderEntryId", + "defKey": "CreateTime", + "defName": "", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC", + "id": "FB279AC5-DB2B-498B-9DC9-5EE05BCED570" + } + ], + "correlations": [], + "indexes": [] + }, + { + "id": "1ED24FEC-604E-4B36-9E51-17D572021F0C", + "env": { + "base": { + "nameSpace": "", + "codeRoot": "" + } + }, + "defKey": "orderPurchaseRelationInfo", + "defName": "采购订单关系表", + "comment": "", + "properties": { + "partitioned by": "(date string)", + "row format delimited": "", + "fields terminated by ','": "", + "collection items terminated by '-'": "", + "map keys terminated by ':'": "", + "store as textfile;": "" + }, + "nameTemplate": "{defKey}[{defName}]", + "notes": {}, + "headers": [ + { + "refKey": "hideInGraph", + "hideInGraph": true + }, + { + "refKey": "defKey", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "defName", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "primaryKey", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "notNull", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "autoIncrement", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "domain", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "type", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "len", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "scale", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "comment", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "refDict", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "defaultValue", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "isStandard", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "uiHint", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "extProps", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr1", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr2", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr3", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr4", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr5", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr6", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr7", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr8", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr9", + "freeze": false, + "hideInGraph": true + } + ], + "fields": [ + { + "defKey": "Id", + "defName": "主键", + "comment": "", + "type": "bigint", + "len": "", + "scale": "", + "primaryKey": true, + "notNull": true, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "notes": {}, + "attr1": "", + "attr2": "", + "attr3": "", + "attr4": "", + "attr5": "", + "attr6": "", + "attr7": "", + "attr8": "", + "attr9": "", + "id": "7B939B66-4149-4D8C-BCD3-E99B425C3327" + }, + { + "defKey": "OrderId", + "defName": "订单Id", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "19E4CACC-5E58-4016-9654-FBDA15B17BE7" + }, + { + "defKey": "PurchaseOrderId", + "defName": "采购单Id", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "55EB7910-E4F0-49A6-8A53-EB0167E5ED34" + }, + { + "defKey": "PurchaseProductId", + "defName": "采购Spu", + "comment": "", "type": "VARCHAR", "len": 100, "scale": "", @@ -5262,7 +5509,92 @@ "refDict": "", "extProps": {}, "domain": "", - "id": "0910A21A-CFB1-4401-A2DA-47332E67EA6B" + "id": "3B0E5CF8-DBCF-447F-B49C-2096C0B2D402" + }, + { + "defKey": "PurchaseSkuId", + "defName": "采购Sku", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "8024FAE2-F559-40AF-A1D6-D1725CF9E267" + }, + { + "defKey": "PurchaseSpecId", + "defName": "采购Spec(1688)", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "29B35FE1-220E-46A2-8636-BA833A60B4A0" + }, + { + "defKey": "BelongSkuId", + "defName": "归属SkuId(拳探)", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "5780904B-4B79-4357-A9CB-331DD828C920" + }, + { + "defKey": "Quantity", + "defName": "采购数量", + "comment": "", + "type": "INT", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "4471FF5A-423F-453C-A31B-7F2B36433FE1" + }, + { + "defKey": "SchemeId", + "defName": "采购方案Id", + "comment": "", + "type": "bigint", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "C4728627-12F6-4B95-8931-E32E8913C578" }, { "defKey": "CreateTime", @@ -5279,7 +5611,24 @@ "refDict": "", "extProps": {}, "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC", - "id": "FB279AC5-DB2B-498B-9DC9-5EE05BCED570" + "id": "C76F8758-9EEC-4108-9F30-ECE489720FC8" + }, + { + "defKey": "PruchaseOrderEntryId", + "defName": "采购Sku订单Id(来自采购平台)", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "8B25DD45-6396-4F51-969D-EE6FA1CA8719" } ], "correlations": [], @@ -5535,6 +5884,46 @@ "relationType": "field", "canvasData": { "cells": [ + { + "id": "bae79cdf-e627-427b-aa66-728f637effcb", + "shape": "table", + "position": { + "x": -260, + "y": -290 + }, + "count": 0, + "originKey": "AF1D8C00-44CE-478C-BBE6-013CF93AF22D" + }, + { + "id": "34567615-fdb5-4d1d-b6ee-a8b61faa04b8", + "shape": "table", + "position": { + "x": 1690, + "y": -73.5 + }, + "count": 0, + "originKey": "474E5807-5650-43BD-8C5C-E16F36D58F85" + }, + { + "id": "33443e42-a883-42ec-acc0-46cc1446218d", + "shape": "table", + "position": { + "x": 1690, + "y": 614 + }, + "count": 0, + "originKey": "1E65E858-7177-4B30-9B39-32A6D1CB104C" + }, + { + "id": "129cac0b-4f1e-4d05-972f-73b2c710b6e0", + "shape": "table", + "position": { + "x": 1690, + "y": 388 + }, + "count": 0, + "originKey": "4CDAE2F8-5F79-4A75-8F5A-27226FDD1ACE" + }, { "id": "c9cd6035-3abe-4d8f-8830-bc876fe240af", "shape": "erdRelation", @@ -5558,9 +5947,6 @@ } ], "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5580,9 +5966,6 @@ }, "relation": "1:n", "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5608,9 +5991,6 @@ } ], "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5630,9 +6010,6 @@ }, "relation": "1:n", "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5658,45 +6035,12 @@ } ], "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" } } }, - { - "id": "bae79cdf-e627-427b-aa66-728f637effcb", - "shape": "table", - "position": { - "x": -260, - "y": -290 - }, - "count": 0, - "originKey": "AF1D8C00-44CE-478C-BBE6-013CF93AF22D" - }, - { - "id": "9afa8d28-f5b8-4c34-8df4-b386c4dd32b9", - "shape": "table", - "position": { - "x": -250, - "y": 380 - }, - "count": 0, - "originKey": "93074B87-BE55-41BF-8358-B0E84C4E249A" - }, - { - "id": "53bec785-6ee3-497e-bfa6-0318b99147db", - "shape": "table", - "position": { - "x": -260, - "y": 64.5 - }, - "count": 0, - "originKey": "C52E23C2-6CC5-4404-92A5-7CCE77E8AB1E" - }, { "id": "7771087b-7bda-4ec6-a831-c50dc06395e9", "shape": "erdRelation", @@ -5710,9 +6054,6 @@ }, "relation": "1:n", "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5720,44 +6061,54 @@ } }, { - "id": "34567615-fdb5-4d1d-b6ee-a8b61faa04b8", + "id": "6593da18-d55c-47e3-bb4c-cf75fc56702a", "shape": "table", "position": { "x": 1690, - "y": -73.5 + "y": 83 }, "count": 0, - "originKey": "474E5807-5650-43BD-8C5C-E16F36D58F85" + "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" }, { - "id": "33443e42-a883-42ec-acc0-46cc1446218d", + "id": "53bec785-6ee3-497e-bfa6-0318b99147db", "shape": "table", "position": { - "x": 1690, - "y": 614 + "x": -260, + "y": 64.5 }, "count": 0, - "originKey": "1E65E858-7177-4B30-9B39-32A6D1CB104C" + "originKey": "C52E23C2-6CC5-4404-92A5-7CCE77E8AB1E" }, { - "id": "129cac0b-4f1e-4d05-972f-73b2c710b6e0", + "id": "9afa8d28-f5b8-4c34-8df4-b386c4dd32b9", "shape": "table", "position": { - "x": 1690, - "y": 388 + "x": -250, + "y": 380 }, "count": 0, - "originKey": "4CDAE2F8-5F79-4A75-8F5A-27226FDD1ACE" + "originKey": "93074B87-BE55-41BF-8358-B0E84C4E249A" }, { - "id": "6593da18-d55c-47e3-bb4c-cf75fc56702a", + "id": "2c258cf1-71de-432b-835a-7fe52c849443", "shape": "table", "position": { - "x": 1690, - "y": 83 + "x": 1100, + "y": -90 }, "count": 0, - "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" + "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" + }, + { + "id": "471ac35d-30de-48a3-8743-eec20f919eba", + "shape": "table", + "position": { + "x": 1100, + "y": 614 + }, + "count": 0, + "originKey": "1ED24FEC-604E-4B36-9E51-17D572021F0C" }, { "id": "414ef58f-57e8-4362-971a-85af3ea9a44f", @@ -5784,20 +6135,10 @@ "shape": "table", "position": { "x": 1100, - "y": 349 + "y": 342 }, "count": 0, "originKey": "EE319D46-61D9-47DB-80AD-AD97D460ACB4" - }, - { - "id": "2c258cf1-71de-432b-835a-7fe52c849443", - "shape": "table", - "position": { - "x": 1100, - "y": -90 - }, - "count": 0, - "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" } ] }, diff --git a/doc/.back_bbwyB端库/bbwyB端库-backup-2023514095129.pdma.json b/doc/.back_bbwyB端库/bbwyB端库-backup-2023517184403.pdma.json similarity index 96% rename from doc/.back_bbwyB端库/bbwyB端库-backup-2023514095129.pdma.json rename to doc/.back_bbwyB端库/bbwyB端库-backup-2023517184403.pdma.json index da44f44..fbafecb 100644 --- a/doc/.back_bbwyB端库/bbwyB端库-backup-2023514095129.pdma.json +++ b/doc/.back_bbwyB端库/bbwyB端库-backup-2023517184403.pdma.json @@ -4,7 +4,7 @@ "avatar": "", "version": "4.5.1", "createdTime": "2023-5-12 20:56:05", - "updatedTime": "2023-5-13 01:45:49", + "updatedTime": "2023-5-17 18:43:55", "dbConns": [], "profile": { "default": { @@ -1780,16 +1780,7 @@ "hideInGraph": true } ], - "correlations": [ - { - "myField": "144B14DF-B01B-4EF7-9163-24A3124BB808", - "refEntity": "3A48F81A-49D5-423B-8A92-228615DCEA6F", - "refField": "31AF4355-53ED-42E2-AB7F-A8AC17D17DBB", - "myRows": "1", - "refRows": "n", - "innerType": "" - } - ] + "correlations": [] }, { "id": "C52E23C2-6CC5-4404-92A5-7CCE77E8AB1E", @@ -2143,16 +2134,7 @@ "hideInGraph": true } ], - "correlations": [ - { - "myField": "E9728883-C797-4973-82A6-58F0DD7306F7", - "refEntity": "3A48F81A-49D5-423B-8A92-228615DCEA6F", - "refField": "31AF4355-53ED-42E2-AB7F-A8AC17D17DBB", - "myRows": "1", - "refRows": "n", - "innerType": "" - } - ] + "correlations": [] }, { "id": "93074B87-BE55-41BF-8358-B0E84C4E249A", @@ -2838,16 +2820,7 @@ "hideInGraph": true } ], - "correlations": [ - { - "myField": "C972C40D-0C81-455D-8598-37DC80F7A538", - "refEntity": "3A48F81A-49D5-423B-8A92-228615DCEA6F", - "refField": "31AF4355-53ED-42E2-AB7F-A8AC17D17DBB", - "myRows": "1", - "refRows": "n", - "innerType": "" - } - ], + "correlations": [], "notes": {} }, { @@ -3358,16 +3331,7 @@ "hideInGraph": true } ], - "correlations": [ - { - "myField": "DD093BC7-0374-421D-A4B5-7D471C5444B2", - "refEntity": "3A48F81A-49D5-423B-8A92-228615DCEA6F", - "refField": "31AF4355-53ED-42E2-AB7F-A8AC17D17DBB", - "myRows": "1", - "refRows": "n", - "innerType": "" - } - ], + "correlations": [], "notes": {} }, { @@ -3714,6 +3678,23 @@ "attr9": "", "id": "1A165F66-FE0D-4A2E-AF71-EE7F6EBDDCFA", "extProps": {} + }, + { + "defKey": "BelongSkuId", + "defName": "来源Sku", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "1A0C9CCD-B348-4916-83C2-D02754D94E1D" } ], "indexes": [ @@ -3867,16 +3848,8 @@ "hideInGraph": true } ], - "correlations": [ - { - "myField": "2CE3E553-81E6-40B3-A711-98A8EBF41716", - "refEntity": "3A48F81A-49D5-423B-8A92-228615DCEA6F", - "refField": "31AF4355-53ED-42E2-AB7F-A8AC17D17DBB", - "myRows": "1", - "refRows": "n", - "innerType": "" - } - ] + "correlations": [], + "notes": {} }, { "id": "474E5807-5650-43BD-8C5C-E16F36D58F85", @@ -5158,13 +5131,13 @@ "fields": [ { "defKey": "Id", - "defName": "", + "defName": "采购Sku订单Id(来自采购平台)", "comment": "", "type": "bigint", "len": "", "scale": "", - "primaryKey": false, - "notNull": false, + "primaryKey": true, + "notNull": true, "autoIncrement": false, "defaultValue": "", "hideInGraph": false, @@ -5293,9 +5266,204 @@ "id": "329B45D7-BCE9-4895-B52D-C953E95DB4B2" }, { - "defKey": "PurchaseSkuOrderId", - "defName": "采购Sku订单Id", - "comment": "1688 OrderEntryId", + "defKey": "CreateTime", + "defName": "", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC", + "id": "FB279AC5-DB2B-498B-9DC9-5EE05BCED570" + } + ], + "correlations": [], + "indexes": [] + }, + { + "id": "1ED24FEC-604E-4B36-9E51-17D572021F0C", + "env": { + "base": { + "nameSpace": "", + "codeRoot": "" + } + }, + "defKey": "orderPurchaseRelationInfo", + "defName": "采购订单关系表", + "comment": "", + "properties": { + "partitioned by": "(date string)", + "row format delimited": "", + "fields terminated by ','": "", + "collection items terminated by '-'": "", + "map keys terminated by ':'": "", + "store as textfile;": "" + }, + "nameTemplate": "{defKey}[{defName}]", + "notes": {}, + "headers": [ + { + "refKey": "hideInGraph", + "hideInGraph": true + }, + { + "refKey": "defKey", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "defName", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "primaryKey", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "notNull", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "autoIncrement", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "domain", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "type", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "len", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "scale", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "comment", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "refDict", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "defaultValue", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "isStandard", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "uiHint", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "extProps", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr1", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr2", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr3", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr4", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr5", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr6", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr7", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr8", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr9", + "freeze": false, + "hideInGraph": true + } + ], + "fields": [ + { + "defKey": "Id", + "defName": "主键", + "comment": "", + "type": "bigint", + "len": "", + "scale": "", + "primaryKey": true, + "notNull": true, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "notes": {}, + "attr1": "", + "attr2": "", + "attr3": "", + "attr4": "", + "attr5": "", + "attr6": "", + "attr7": "", + "attr8": "", + "attr9": "", + "id": "7B939B66-4149-4D8C-BCD3-E99B425C3327" + }, + { + "defKey": "OrderId", + "defName": "订单Id", + "comment": "", "type": "VARCHAR", "len": 100, "scale": "", @@ -5307,7 +5475,126 @@ "refDict": "", "extProps": {}, "domain": "", - "id": "0910A21A-CFB1-4401-A2DA-47332E67EA6B" + "id": "19E4CACC-5E58-4016-9654-FBDA15B17BE7" + }, + { + "defKey": "PurchaseOrderId", + "defName": "采购单Id", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "55EB7910-E4F0-49A6-8A53-EB0167E5ED34" + }, + { + "defKey": "PurchaseProductId", + "defName": "采购Spu", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "3B0E5CF8-DBCF-447F-B49C-2096C0B2D402" + }, + { + "defKey": "PurchaseSkuId", + "defName": "采购Sku", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "8024FAE2-F559-40AF-A1D6-D1725CF9E267" + }, + { + "defKey": "PurchaseSpecId", + "defName": "采购Spec(1688)", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "29B35FE1-220E-46A2-8636-BA833A60B4A0" + }, + { + "defKey": "BelongSkuId", + "defName": "归属SkuId(拳探)", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "5780904B-4B79-4357-A9CB-331DD828C920" + }, + { + "defKey": "Quantity", + "defName": "采购数量", + "comment": "", + "type": "INT", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "4471FF5A-423F-453C-A31B-7F2B36433FE1" + }, + { + "defKey": "SchemeId", + "defName": "采购方案Id", + "comment": "", + "type": "bigint", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "C4728627-12F6-4B95-8931-E32E8913C578" }, { "defKey": "CreateTime", @@ -5324,19 +5611,27 @@ "refDict": "", "extProps": {}, "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC", - "id": "FB279AC5-DB2B-498B-9DC9-5EE05BCED570" - } - ], - "correlations": [ - { - "myField": "1AC7EBFF-8FCC-40C9-A17B-2BACE1030CAB", - "refEntity": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214", - "refField": "36136AA8-299D-4616-8F98-7172BFB06DDB", - "myRows": "1", - "refRows": "n", - "innerType": "" + "id": "C76F8758-9EEC-4108-9F30-ECE489720FC8" + }, + { + "defKey": "PruchaseOrderEntryId", + "defName": "采购Sku订单Id(来自采购平台)", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "8B25DD45-6396-4F51-969D-EE6FA1CA8719" } ], + "correlations": [], "indexes": [] } ], @@ -5589,6 +5884,46 @@ "relationType": "field", "canvasData": { "cells": [ + { + "id": "bae79cdf-e627-427b-aa66-728f637effcb", + "shape": "table", + "position": { + "x": -260, + "y": -290 + }, + "count": 0, + "originKey": "AF1D8C00-44CE-478C-BBE6-013CF93AF22D" + }, + { + "id": "34567615-fdb5-4d1d-b6ee-a8b61faa04b8", + "shape": "table", + "position": { + "x": 1690, + "y": -73.5 + }, + "count": 0, + "originKey": "474E5807-5650-43BD-8C5C-E16F36D58F85" + }, + { + "id": "33443e42-a883-42ec-acc0-46cc1446218d", + "shape": "table", + "position": { + "x": 1690, + "y": 614 + }, + "count": 0, + "originKey": "1E65E858-7177-4B30-9B39-32A6D1CB104C" + }, + { + "id": "129cac0b-4f1e-4d05-972f-73b2c710b6e0", + "shape": "table", + "position": { + "x": 1690, + "y": 388 + }, + "count": 0, + "originKey": "4CDAE2F8-5F79-4A75-8F5A-27226FDD1ACE" + }, { "id": "c9cd6035-3abe-4d8f-8830-bc876fe240af", "shape": "erdRelation", @@ -5612,9 +5947,6 @@ } ], "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5634,9 +5966,6 @@ }, "relation": "1:n", "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5662,9 +5991,6 @@ } ], "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5684,9 +6010,6 @@ }, "relation": "1:n", "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5712,45 +6035,12 @@ } ], "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" } } }, - { - "id": "bae79cdf-e627-427b-aa66-728f637effcb", - "shape": "table", - "position": { - "x": -260, - "y": -290 - }, - "count": 0, - "originKey": "AF1D8C00-44CE-478C-BBE6-013CF93AF22D" - }, - { - "id": "9afa8d28-f5b8-4c34-8df4-b386c4dd32b9", - "shape": "table", - "position": { - "x": -250, - "y": 380 - }, - "count": 0, - "originKey": "93074B87-BE55-41BF-8358-B0E84C4E249A" - }, - { - "id": "53bec785-6ee3-497e-bfa6-0318b99147db", - "shape": "table", - "position": { - "x": -260, - "y": 64.5 - }, - "count": 0, - "originKey": "C52E23C2-6CC5-4404-92A5-7CCE77E8AB1E" - }, { "id": "7771087b-7bda-4ec6-a831-c50dc06395e9", "shape": "erdRelation", @@ -5764,9 +6054,6 @@ }, "relation": "1:n", "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5774,44 +6061,54 @@ } }, { - "id": "34567615-fdb5-4d1d-b6ee-a8b61faa04b8", + "id": "6593da18-d55c-47e3-bb4c-cf75fc56702a", "shape": "table", "position": { "x": 1690, - "y": -73.5 + "y": 83 }, "count": 0, - "originKey": "474E5807-5650-43BD-8C5C-E16F36D58F85" + "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" }, { - "id": "33443e42-a883-42ec-acc0-46cc1446218d", + "id": "53bec785-6ee3-497e-bfa6-0318b99147db", "shape": "table", "position": { - "x": 1690, - "y": 614 + "x": -260, + "y": 64.5 }, "count": 0, - "originKey": "1E65E858-7177-4B30-9B39-32A6D1CB104C" + "originKey": "C52E23C2-6CC5-4404-92A5-7CCE77E8AB1E" }, { - "id": "129cac0b-4f1e-4d05-972f-73b2c710b6e0", + "id": "9afa8d28-f5b8-4c34-8df4-b386c4dd32b9", "shape": "table", "position": { - "x": 1690, - "y": 388 + "x": -250, + "y": 380 }, "count": 0, - "originKey": "4CDAE2F8-5F79-4A75-8F5A-27226FDD1ACE" + "originKey": "93074B87-BE55-41BF-8358-B0E84C4E249A" }, { - "id": "6593da18-d55c-47e3-bb4c-cf75fc56702a", + "id": "2c258cf1-71de-432b-835a-7fe52c849443", "shape": "table", "position": { - "x": 1690, - "y": 83 + "x": 1100, + "y": -90 }, "count": 0, - "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" + "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" + }, + { + "id": "471ac35d-30de-48a3-8743-eec20f919eba", + "shape": "table", + "position": { + "x": 1100, + "y": 614 + }, + "count": 0, + "originKey": "1ED24FEC-604E-4B36-9E51-17D572021F0C" }, { "id": "414ef58f-57e8-4362-971a-85af3ea9a44f", @@ -5838,20 +6135,10 @@ "shape": "table", "position": { "x": 1100, - "y": 349 + "y": 342 }, "count": 0, "originKey": "EE319D46-61D9-47DB-80AD-AD97D460ACB4" - }, - { - "id": "2c258cf1-71de-432b-835a-7fe52c849443", - "shape": "table", - "position": { - "x": 1100, - "y": -90 - }, - "count": 0, - "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" } ] }, diff --git a/doc/.back_bbwyB端库/bbwyB端库-backup-2023514100225.pdma.json b/doc/.back_bbwyB端库/bbwyB端库-backup-2023517191218.pdma.json similarity index 96% rename from doc/.back_bbwyB端库/bbwyB端库-backup-2023514100225.pdma.json rename to doc/.back_bbwyB端库/bbwyB端库-backup-2023517191218.pdma.json index a8e32d2..69ba597 100644 --- a/doc/.back_bbwyB端库/bbwyB端库-backup-2023514100225.pdma.json +++ b/doc/.back_bbwyB端库/bbwyB端库-backup-2023517191218.pdma.json @@ -4,7 +4,7 @@ "avatar": "", "version": "4.5.1", "createdTime": "2023-5-12 20:56:05", - "updatedTime": "2023-5-14 10:02:21", + "updatedTime": "2023-5-17 18:44:03", "dbConns": [], "profile": { "default": { @@ -3678,6 +3678,23 @@ "attr9": "", "id": "1A165F66-FE0D-4A2E-AF71-EE7F6EBDDCFA", "extProps": {} + }, + { + "defKey": "BelongSkuId", + "defName": "来源Sku", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "1A0C9CCD-B348-4916-83C2-D02754D94E1D" } ], "indexes": [ @@ -3831,7 +3848,8 @@ "hideInGraph": true } ], - "correlations": [] + "correlations": [], + "notes": {} }, { "id": "474E5807-5650-43BD-8C5C-E16F36D58F85", @@ -5267,6 +5285,354 @@ ], "correlations": [], "indexes": [] + }, + { + "id": "1ED24FEC-604E-4B36-9E51-17D572021F0C", + "env": { + "base": { + "nameSpace": "", + "codeRoot": "" + } + }, + "defKey": "orderPurchaseRelationInfo", + "defName": "采购订单关系表", + "comment": "", + "properties": { + "partitioned by": "(date string)", + "row format delimited": "", + "fields terminated by ','": "", + "collection items terminated by '-'": "", + "map keys terminated by ':'": "", + "store as textfile;": "" + }, + "nameTemplate": "{defKey}[{defName}]", + "notes": {}, + "headers": [ + { + "refKey": "hideInGraph", + "hideInGraph": true + }, + { + "refKey": "defKey", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "defName", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "primaryKey", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "notNull", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "autoIncrement", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "domain", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "type", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "len", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "scale", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "comment", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "refDict", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "defaultValue", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "isStandard", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "uiHint", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "extProps", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr1", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr2", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr3", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr4", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr5", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr6", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr7", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr8", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr9", + "freeze": false, + "hideInGraph": true + } + ], + "fields": [ + { + "defKey": "Id", + "defName": "主键", + "comment": "", + "type": "bigint", + "len": "", + "scale": "", + "primaryKey": true, + "notNull": true, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "notes": {}, + "attr1": "", + "attr2": "", + "attr3": "", + "attr4": "", + "attr5": "", + "attr6": "", + "attr7": "", + "attr8": "", + "attr9": "", + "id": "7B939B66-4149-4D8C-BCD3-E99B425C3327" + }, + { + "defKey": "PruchaseOrderEntryId", + "defName": "采购Sku订单Id(来自采购平台)", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "8B25DD45-6396-4F51-969D-EE6FA1CA8719" + }, + { + "defKey": "OrderId", + "defName": "订单Id", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "19E4CACC-5E58-4016-9654-FBDA15B17BE7" + }, + { + "defKey": "PurchaseOrderId", + "defName": "采购单Id", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "55EB7910-E4F0-49A6-8A53-EB0167E5ED34" + }, + { + "defKey": "PurchaseProductId", + "defName": "采购Spu", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "3B0E5CF8-DBCF-447F-B49C-2096C0B2D402" + }, + { + "defKey": "PurchaseSkuId", + "defName": "采购Sku", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "8024FAE2-F559-40AF-A1D6-D1725CF9E267" + }, + { + "defKey": "PurchaseSpecId", + "defName": "采购Spec(1688)", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "29B35FE1-220E-46A2-8636-BA833A60B4A0" + }, + { + "defKey": "BelongSkuId", + "defName": "归属SkuId(拳探)", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "5780904B-4B79-4357-A9CB-331DD828C920" + }, + { + "defKey": "Quantity", + "defName": "采购数量", + "comment": "", + "type": "INT", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "4471FF5A-423F-453C-A31B-7F2B36433FE1" + }, + { + "defKey": "SchemeId", + "defName": "采购方案Id", + "comment": "", + "type": "bigint", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "C4728627-12F6-4B95-8931-E32E8913C578" + }, + { + "defKey": "CreateTime", + "defName": "", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC", + "id": "C76F8758-9EEC-4108-9F30-ECE489720FC8" + } + ], + "correlations": [], + "indexes": [] } ], "views": [], @@ -5518,6 +5884,46 @@ "relationType": "field", "canvasData": { "cells": [ + { + "id": "bae79cdf-e627-427b-aa66-728f637effcb", + "shape": "table", + "position": { + "x": -260, + "y": -290 + }, + "count": 0, + "originKey": "AF1D8C00-44CE-478C-BBE6-013CF93AF22D" + }, + { + "id": "34567615-fdb5-4d1d-b6ee-a8b61faa04b8", + "shape": "table", + "position": { + "x": 1690, + "y": -73.5 + }, + "count": 0, + "originKey": "474E5807-5650-43BD-8C5C-E16F36D58F85" + }, + { + "id": "33443e42-a883-42ec-acc0-46cc1446218d", + "shape": "table", + "position": { + "x": 1690, + "y": 614 + }, + "count": 0, + "originKey": "1E65E858-7177-4B30-9B39-32A6D1CB104C" + }, + { + "id": "129cac0b-4f1e-4d05-972f-73b2c710b6e0", + "shape": "table", + "position": { + "x": 1690, + "y": 388 + }, + "count": 0, + "originKey": "4CDAE2F8-5F79-4A75-8F5A-27226FDD1ACE" + }, { "id": "c9cd6035-3abe-4d8f-8830-bc876fe240af", "shape": "erdRelation", @@ -5541,9 +5947,6 @@ } ], "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5563,9 +5966,6 @@ }, "relation": "1:n", "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5591,9 +5991,6 @@ } ], "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5613,9 +6010,6 @@ }, "relation": "1:n", "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5641,45 +6035,12 @@ } ], "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" } } }, - { - "id": "bae79cdf-e627-427b-aa66-728f637effcb", - "shape": "table", - "position": { - "x": -260, - "y": -290 - }, - "count": 0, - "originKey": "AF1D8C00-44CE-478C-BBE6-013CF93AF22D" - }, - { - "id": "9afa8d28-f5b8-4c34-8df4-b386c4dd32b9", - "shape": "table", - "position": { - "x": -250, - "y": 380 - }, - "count": 0, - "originKey": "93074B87-BE55-41BF-8358-B0E84C4E249A" - }, - { - "id": "53bec785-6ee3-497e-bfa6-0318b99147db", - "shape": "table", - "position": { - "x": -260, - "y": 64.5 - }, - "count": 0, - "originKey": "C52E23C2-6CC5-4404-92A5-7CCE77E8AB1E" - }, { "id": "7771087b-7bda-4ec6-a831-c50dc06395e9", "shape": "erdRelation", @@ -5693,9 +6054,6 @@ }, "relation": "1:n", "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5703,44 +6061,54 @@ } }, { - "id": "34567615-fdb5-4d1d-b6ee-a8b61faa04b8", + "id": "6593da18-d55c-47e3-bb4c-cf75fc56702a", "shape": "table", "position": { "x": 1690, - "y": -73.5 + "y": 83 }, "count": 0, - "originKey": "474E5807-5650-43BD-8C5C-E16F36D58F85" + "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" }, { - "id": "33443e42-a883-42ec-acc0-46cc1446218d", + "id": "53bec785-6ee3-497e-bfa6-0318b99147db", "shape": "table", "position": { - "x": 1690, - "y": 614 + "x": -260, + "y": 64.5 }, "count": 0, - "originKey": "1E65E858-7177-4B30-9B39-32A6D1CB104C" + "originKey": "C52E23C2-6CC5-4404-92A5-7CCE77E8AB1E" }, { - "id": "129cac0b-4f1e-4d05-972f-73b2c710b6e0", + "id": "9afa8d28-f5b8-4c34-8df4-b386c4dd32b9", "shape": "table", "position": { - "x": 1690, - "y": 388 + "x": -250, + "y": 380 }, "count": 0, - "originKey": "4CDAE2F8-5F79-4A75-8F5A-27226FDD1ACE" + "originKey": "93074B87-BE55-41BF-8358-B0E84C4E249A" }, { - "id": "6593da18-d55c-47e3-bb4c-cf75fc56702a", + "id": "2c258cf1-71de-432b-835a-7fe52c849443", "shape": "table", "position": { - "x": 1690, - "y": 83 + "x": 1100, + "y": -90 }, "count": 0, - "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" + "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" + }, + { + "id": "471ac35d-30de-48a3-8743-eec20f919eba", + "shape": "table", + "position": { + "x": 1100, + "y": 614 + }, + "count": 0, + "originKey": "1ED24FEC-604E-4B36-9E51-17D572021F0C" }, { "id": "414ef58f-57e8-4362-971a-85af3ea9a44f", @@ -5767,20 +6135,10 @@ "shape": "table", "position": { "x": 1100, - "y": 349 + "y": 342 }, "count": 0, "originKey": "EE319D46-61D9-47DB-80AD-AD97D460ACB4" - }, - { - "id": "2c258cf1-71de-432b-835a-7fe52c849443", - "shape": "table", - "position": { - "x": 1100, - "y": -90 - }, - "count": 0, - "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" } ] }, diff --git a/doc/bbwyB端库.pdma.json b/doc/bbwyB端库.pdma.json index 94e4290..2d80fbb 100644 --- a/doc/bbwyB端库.pdma.json +++ b/doc/bbwyB端库.pdma.json @@ -4,7 +4,7 @@ "avatar": "", "version": "4.5.1", "createdTime": "2023-5-12 20:56:05", - "updatedTime": "2023-5-14 10:02:25", + "updatedTime": "2023-5-17 19:12:18", "dbConns": [], "profile": { "default": { @@ -1780,7 +1780,16 @@ "hideInGraph": true } ], - "correlations": [] + "correlations": [ + { + "myField": "144B14DF-B01B-4EF7-9163-24A3124BB808", + "refEntity": "3A48F81A-49D5-423B-8A92-228615DCEA6F", + "refField": "31AF4355-53ED-42E2-AB7F-A8AC17D17DBB", + "myRows": "1", + "refRows": "n", + "innerType": "" + } + ] }, { "id": "C52E23C2-6CC5-4404-92A5-7CCE77E8AB1E", @@ -2134,7 +2143,16 @@ "hideInGraph": true } ], - "correlations": [] + "correlations": [ + { + "myField": "E9728883-C797-4973-82A6-58F0DD7306F7", + "refEntity": "3A48F81A-49D5-423B-8A92-228615DCEA6F", + "refField": "31AF4355-53ED-42E2-AB7F-A8AC17D17DBB", + "myRows": "1", + "refRows": "n", + "innerType": "" + } + ] }, { "id": "93074B87-BE55-41BF-8358-B0E84C4E249A", @@ -2820,7 +2838,16 @@ "hideInGraph": true } ], - "correlations": [], + "correlations": [ + { + "myField": "C972C40D-0C81-455D-8598-37DC80F7A538", + "refEntity": "3A48F81A-49D5-423B-8A92-228615DCEA6F", + "refField": "31AF4355-53ED-42E2-AB7F-A8AC17D17DBB", + "myRows": "1", + "refRows": "n", + "innerType": "" + } + ], "notes": {} }, { @@ -3331,7 +3358,16 @@ "hideInGraph": true } ], - "correlations": [], + "correlations": [ + { + "myField": "DD093BC7-0374-421D-A4B5-7D471C5444B2", + "refEntity": "3A48F81A-49D5-423B-8A92-228615DCEA6F", + "refField": "31AF4355-53ED-42E2-AB7F-A8AC17D17DBB", + "myRows": "1", + "refRows": "n", + "innerType": "" + } + ], "notes": {} }, { @@ -3678,6 +3714,23 @@ "attr9": "", "id": "1A165F66-FE0D-4A2E-AF71-EE7F6EBDDCFA", "extProps": {} + }, + { + "defKey": "BelongSkuId", + "defName": "来源Sku", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "1A0C9CCD-B348-4916-83C2-D02754D94E1D" } ], "indexes": [ @@ -3831,7 +3884,17 @@ "hideInGraph": true } ], - "correlations": [] + "correlations": [ + { + "myField": "2CE3E553-81E6-40B3-A711-98A8EBF41716", + "refEntity": "3A48F81A-49D5-423B-8A92-228615DCEA6F", + "refField": "31AF4355-53ED-42E2-AB7F-A8AC17D17DBB", + "myRows": "1", + "refRows": "n", + "innerType": "" + } + ], + "notes": {} }, { "id": "474E5807-5650-43BD-8C5C-E16F36D58F85", @@ -5265,7 +5328,356 @@ "id": "FB279AC5-DB2B-498B-9DC9-5EE05BCED570" } ], - "correlations": [], + "correlations": [ + { + "myField": "1AC7EBFF-8FCC-40C9-A17B-2BACE1030CAB", + "refEntity": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214", + "refField": "36136AA8-299D-4616-8F98-7172BFB06DDB", + "myRows": "1", + "refRows": "n", + "innerType": "" + } + ], + "indexes": [] + }, + { + "id": "1ED24FEC-604E-4B36-9E51-17D572021F0C", + "env": { + "base": { + "nameSpace": "", + "codeRoot": "" + } + }, + "defKey": "orderPurchaseRelationInfo", + "defName": "采购订单关系表", + "comment": "", + "properties": { + "partitioned by": "(date string)", + "row format delimited": "", + "fields terminated by ','": "", + "collection items terminated by '-'": "", + "map keys terminated by ':'": "", + "store as textfile;": "" + }, + "nameTemplate": "{defKey}[{defName}]", + "notes": {}, + "headers": [ + { + "refKey": "hideInGraph", + "hideInGraph": true + }, + { + "refKey": "defKey", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "defName", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "primaryKey", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "notNull", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "autoIncrement", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "domain", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "type", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "len", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "scale", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "comment", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "refDict", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "defaultValue", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "isStandard", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "uiHint", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "extProps", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr1", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr2", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr3", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr4", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr5", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr6", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr7", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr8", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr9", + "freeze": false, + "hideInGraph": true + } + ], + "fields": [ + { + "defKey": "Id", + "defName": "主键", + "comment": "", + "type": "bigint", + "len": "", + "scale": "", + "primaryKey": true, + "notNull": true, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "notes": {}, + "attr1": "", + "attr2": "", + "attr3": "", + "attr4": "", + "attr5": "", + "attr6": "", + "attr7": "", + "attr8": "", + "attr9": "", + "id": "7B939B66-4149-4D8C-BCD3-E99B425C3327" + }, + { + "defKey": "OrderId", + "defName": "订单Id", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "19E4CACC-5E58-4016-9654-FBDA15B17BE7" + }, + { + "defKey": "PurchaseOrderId", + "defName": "采购单Id", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "55EB7910-E4F0-49A6-8A53-EB0167E5ED34" + }, + { + "defKey": "PurchaseProductId", + "defName": "采购Spu", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "3B0E5CF8-DBCF-447F-B49C-2096C0B2D402" + }, + { + "defKey": "PurchaseSkuId", + "defName": "采购Sku", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "8024FAE2-F559-40AF-A1D6-D1725CF9E267" + }, + { + "defKey": "PurchaseSpecId", + "defName": "采购Spec(1688)", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "29B35FE1-220E-46A2-8636-BA833A60B4A0" + }, + { + "defKey": "BelongSkuId", + "defName": "归属SkuId(拳探)", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "5780904B-4B79-4357-A9CB-331DD828C920" + }, + { + "defKey": "Quantity", + "defName": "采购数量", + "comment": "", + "type": "INT", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "4471FF5A-423F-453C-A31B-7F2B36433FE1" + }, + { + "defKey": "SchemeId", + "defName": "采购方案Id", + "comment": "", + "type": "bigint", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "C4728627-12F6-4B95-8931-E32E8913C578" + }, + { + "defKey": "CreateTime", + "defName": "", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC", + "id": "C76F8758-9EEC-4108-9F30-ECE489720FC8" + } + ], + "correlations": [ + { + "myField": "8B25DD45-6396-4F51-969D-EE6FA1CA8719", + "refEntity": "EE319D46-61D9-47DB-80AD-AD97D460ACB4", + "refField": "667BC789-09BB-49B8-A7BF-0EBAEE7FC36C", + "myRows": "1", + "refRows": "n", + "innerType": "" + } + ], "indexes": [] } ], @@ -5518,6 +5930,46 @@ "relationType": "field", "canvasData": { "cells": [ + { + "id": "bae79cdf-e627-427b-aa66-728f637effcb", + "shape": "table", + "position": { + "x": -260, + "y": -290 + }, + "count": 0, + "originKey": "AF1D8C00-44CE-478C-BBE6-013CF93AF22D" + }, + { + "id": "34567615-fdb5-4d1d-b6ee-a8b61faa04b8", + "shape": "table", + "position": { + "x": 1690, + "y": -73.5 + }, + "count": 0, + "originKey": "474E5807-5650-43BD-8C5C-E16F36D58F85" + }, + { + "id": "33443e42-a883-42ec-acc0-46cc1446218d", + "shape": "table", + "position": { + "x": 1690, + "y": 614 + }, + "count": 0, + "originKey": "1E65E858-7177-4B30-9B39-32A6D1CB104C" + }, + { + "id": "129cac0b-4f1e-4d05-972f-73b2c710b6e0", + "shape": "table", + "position": { + "x": 1690, + "y": 388 + }, + "count": 0, + "originKey": "4CDAE2F8-5F79-4A75-8F5A-27226FDD1ACE" + }, { "id": "c9cd6035-3abe-4d8f-8830-bc876fe240af", "shape": "erdRelation", @@ -5541,9 +5993,6 @@ } ], "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5563,9 +6012,6 @@ }, "relation": "1:n", "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5591,9 +6037,6 @@ } ], "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5613,9 +6056,6 @@ }, "relation": "1:n", "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5641,45 +6081,12 @@ } ], "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" } } }, - { - "id": "bae79cdf-e627-427b-aa66-728f637effcb", - "shape": "table", - "position": { - "x": -260, - "y": -290 - }, - "count": 0, - "originKey": "AF1D8C00-44CE-478C-BBE6-013CF93AF22D" - }, - { - "id": "9afa8d28-f5b8-4c34-8df4-b386c4dd32b9", - "shape": "table", - "position": { - "x": -250, - "y": 380 - }, - "count": 0, - "originKey": "93074B87-BE55-41BF-8358-B0E84C4E249A" - }, - { - "id": "53bec785-6ee3-497e-bfa6-0318b99147db", - "shape": "table", - "position": { - "x": -260, - "y": 64.5 - }, - "count": 0, - "originKey": "C52E23C2-6CC5-4404-92A5-7CCE77E8AB1E" - }, { "id": "7771087b-7bda-4ec6-a831-c50dc06395e9", "shape": "erdRelation", @@ -5693,9 +6100,6 @@ }, "relation": "1:n", "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" - }, "attrs": { "line": { "strokeDasharray": "" @@ -5703,34 +6107,34 @@ } }, { - "id": "34567615-fdb5-4d1d-b6ee-a8b61faa04b8", + "id": "53bec785-6ee3-497e-bfa6-0318b99147db", "shape": "table", "position": { - "x": 1690, - "y": -73.5 + "x": -260, + "y": 64.5 }, "count": 0, - "originKey": "474E5807-5650-43BD-8C5C-E16F36D58F85" + "originKey": "C52E23C2-6CC5-4404-92A5-7CCE77E8AB1E" }, { - "id": "33443e42-a883-42ec-acc0-46cc1446218d", + "id": "9afa8d28-f5b8-4c34-8df4-b386c4dd32b9", "shape": "table", "position": { - "x": 1690, - "y": 614 + "x": -250, + "y": 380 }, "count": 0, - "originKey": "1E65E858-7177-4B30-9B39-32A6D1CB104C" + "originKey": "93074B87-BE55-41BF-8358-B0E84C4E249A" }, { - "id": "129cac0b-4f1e-4d05-972f-73b2c710b6e0", + "id": "414ef58f-57e8-4362-971a-85af3ea9a44f", "shape": "table", "position": { - "x": 1690, - "y": 388 + "x": 390, + "y": -90 }, "count": 0, - "originKey": "4CDAE2F8-5F79-4A75-8F5A-27226FDD1ACE" + "originKey": "3A48F81A-49D5-423B-8A92-228615DCEA6F" }, { "id": "6593da18-d55c-47e3-bb4c-cf75fc56702a", @@ -5743,44 +6147,72 @@ "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" }, { - "id": "414ef58f-57e8-4362-971a-85af3ea9a44f", + "id": "ff369484-e2eb-4af8-9b98-6fd2d9f202f9", "shape": "table", "position": { - "x": 390, - "y": -90 + "x": 501, + "y": 587 }, "count": 0, - "originKey": "3A48F81A-49D5-423B-8A92-228615DCEA6F" + "originKey": "B0921F8C-064A-48FC-A028-C849BD1EAC09" }, { - "id": "ff369484-e2eb-4af8-9b98-6fd2d9f202f9", + "id": "2c258cf1-71de-432b-835a-7fe52c849443", "shape": "table", "position": { - "x": 501, - "y": 587 + "x": 1100, + "y": -90 }, "count": 0, - "originKey": "B0921F8C-064A-48FC-A028-C849BD1EAC09" + "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" }, { - "id": "b968f678-c31b-4396-b761-dd3269ba6fb8", + "id": "21f63eec-82ac-4156-aa34-1ea862ff1eb5", + "shape": "erdRelation", + "source": { + "cell": "471ac35d-30de-48a3-8743-eec20f919eba", + "port": "8B25DD45-6396-4F51-969D-EE6FA1CA8719%in" + }, + "target": { + "cell": "b968f678-c31b-4396-b761-dd3269ba6fb8", + "port": "667BC789-09BB-49B8-A7BF-0EBAEE7FC36C%in" + }, + "relation": "1:n", + "vertices": [ + { + "x": 980, + "y": 382 + } + ], + "fillColor": "#ACDAFC", + "router": { + "name": "manhattan" + }, + "attrs": { + "line": { + "strokeDasharray": "" + } + } + }, + { + "id": "471ac35d-30de-48a3-8743-eec20f919eba", "shape": "table", "position": { "x": 1100, - "y": 349 + "y": 614 }, "count": 0, - "originKey": "EE319D46-61D9-47DB-80AD-AD97D460ACB4" + "originKey": "1ED24FEC-604E-4B36-9E51-17D572021F0C" }, { - "id": "2c258cf1-71de-432b-835a-7fe52c849443", + "id": "b968f678-c31b-4396-b761-dd3269ba6fb8", "shape": "table", "position": { "x": 1100, - "y": -90 + "y": 342 }, "count": 0, - "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" + "originKey": "EE319D46-61D9-47DB-80AD-AD97D460ACB4" } ] }, From 5abdea8bd2ce3bf3522ce9df4326f567f81cd0a3 Mon Sep 17 00:00:00 2001 From: shanj <18996038927@163.com> Date: Wed, 17 May 2023 21:58:05 +0800 Subject: [PATCH 5/5] 10013 --- BBWYB.Client/Views/MainWindow.xaml | 2 +- BBWYB.Client/Views/Order/OrderList.xaml | 4 - ...bwyB端库-backup-2023517215051.pdma.json} | 172 +++++++++++++----- doc/bbwyB端库.pdma.json | 67 ++----- 4 files changed, 139 insertions(+), 106 deletions(-) rename doc/.back_bbwyB端库/{bbwyB端库-backup-2023517184355.pdma.json => bbwyB端库-backup-2023517215051.pdma.json} (98%) diff --git a/BBWYB.Client/Views/MainWindow.xaml b/BBWYB.Client/Views/MainWindow.xaml index 80057ff..ce57a10 100644 --- a/BBWYB.Client/Views/MainWindow.xaml +++ b/BBWYB.Client/Views/MainWindow.xaml @@ -24,7 +24,7 @@ - + diff --git a/BBWYB.Client/Views/Order/OrderList.xaml b/BBWYB.Client/Views/Order/OrderList.xaml index 2567c09..7c0fd82 100644 --- a/BBWYB.Client/Views/Order/OrderList.xaml +++ b/BBWYB.Client/Views/Order/OrderList.xaml @@ -373,10 +373,6 @@ - - diff --git a/doc/.back_bbwyB端库/bbwyB端库-backup-2023517184355.pdma.json b/doc/.back_bbwyB端库/bbwyB端库-backup-2023517215051.pdma.json similarity index 98% rename from doc/.back_bbwyB端库/bbwyB端库-backup-2023517184355.pdma.json rename to doc/.back_bbwyB端库/bbwyB端库-backup-2023517215051.pdma.json index 3b3b0fc..2d80fbb 100644 --- a/doc/.back_bbwyB端库/bbwyB端库-backup-2023517184355.pdma.json +++ b/doc/.back_bbwyB端库/bbwyB端库-backup-2023517215051.pdma.json @@ -4,7 +4,7 @@ "avatar": "", "version": "4.5.1", "createdTime": "2023-5-12 20:56:05", - "updatedTime": "2023-5-17 18:43:53", + "updatedTime": "2023-5-17 19:12:18", "dbConns": [], "profile": { "default": { @@ -1780,7 +1780,16 @@ "hideInGraph": true } ], - "correlations": [] + "correlations": [ + { + "myField": "144B14DF-B01B-4EF7-9163-24A3124BB808", + "refEntity": "3A48F81A-49D5-423B-8A92-228615DCEA6F", + "refField": "31AF4355-53ED-42E2-AB7F-A8AC17D17DBB", + "myRows": "1", + "refRows": "n", + "innerType": "" + } + ] }, { "id": "C52E23C2-6CC5-4404-92A5-7CCE77E8AB1E", @@ -2134,7 +2143,16 @@ "hideInGraph": true } ], - "correlations": [] + "correlations": [ + { + "myField": "E9728883-C797-4973-82A6-58F0DD7306F7", + "refEntity": "3A48F81A-49D5-423B-8A92-228615DCEA6F", + "refField": "31AF4355-53ED-42E2-AB7F-A8AC17D17DBB", + "myRows": "1", + "refRows": "n", + "innerType": "" + } + ] }, { "id": "93074B87-BE55-41BF-8358-B0E84C4E249A", @@ -2820,7 +2838,16 @@ "hideInGraph": true } ], - "correlations": [], + "correlations": [ + { + "myField": "C972C40D-0C81-455D-8598-37DC80F7A538", + "refEntity": "3A48F81A-49D5-423B-8A92-228615DCEA6F", + "refField": "31AF4355-53ED-42E2-AB7F-A8AC17D17DBB", + "myRows": "1", + "refRows": "n", + "innerType": "" + } + ], "notes": {} }, { @@ -3331,7 +3358,16 @@ "hideInGraph": true } ], - "correlations": [], + "correlations": [ + { + "myField": "DD093BC7-0374-421D-A4B5-7D471C5444B2", + "refEntity": "3A48F81A-49D5-423B-8A92-228615DCEA6F", + "refField": "31AF4355-53ED-42E2-AB7F-A8AC17D17DBB", + "myRows": "1", + "refRows": "n", + "innerType": "" + } + ], "notes": {} }, { @@ -3848,7 +3884,16 @@ "hideInGraph": true } ], - "correlations": [], + "correlations": [ + { + "myField": "2CE3E553-81E6-40B3-A711-98A8EBF41716", + "refEntity": "3A48F81A-49D5-423B-8A92-228615DCEA6F", + "refField": "31AF4355-53ED-42E2-AB7F-A8AC17D17DBB", + "myRows": "1", + "refRows": "n", + "innerType": "" + } + ], "notes": {} }, { @@ -5283,7 +5328,16 @@ "id": "FB279AC5-DB2B-498B-9DC9-5EE05BCED570" } ], - "correlations": [], + "correlations": [ + { + "myField": "1AC7EBFF-8FCC-40C9-A17B-2BACE1030CAB", + "refEntity": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214", + "refField": "36136AA8-299D-4616-8F98-7172BFB06DDB", + "myRows": "1", + "refRows": "n", + "innerType": "" + } + ], "indexes": [] }, { @@ -5612,26 +5666,18 @@ "extProps": {}, "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC", "id": "C76F8758-9EEC-4108-9F30-ECE489720FC8" - }, - { - "defKey": "PruchaseOrderEntryId", - "defName": "采购Sku订单Id(来自采购平台)", - "comment": "", - "type": "VARCHAR", - "len": 100, - "scale": "", - "primaryKey": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "", - "hideInGraph": false, - "refDict": "", - "extProps": {}, - "domain": "", - "id": "8B25DD45-6396-4F51-969D-EE6FA1CA8719" } ], - "correlations": [], + "correlations": [ + { + "myField": "8B25DD45-6396-4F51-969D-EE6FA1CA8719", + "refEntity": "EE319D46-61D9-47DB-80AD-AD97D460ACB4", + "refField": "667BC789-09BB-49B8-A7BF-0EBAEE7FC36C", + "myRows": "1", + "refRows": "n", + "innerType": "" + } + ], "indexes": [] } ], @@ -6060,16 +6106,6 @@ } } }, - { - "id": "6593da18-d55c-47e3-bb4c-cf75fc56702a", - "shape": "table", - "position": { - "x": 1690, - "y": 83 - }, - "count": 0, - "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" - }, { "id": "53bec785-6ee3-497e-bfa6-0318b99147db", "shape": "table", @@ -6091,44 +6127,82 @@ "originKey": "93074B87-BE55-41BF-8358-B0E84C4E249A" }, { - "id": "2c258cf1-71de-432b-835a-7fe52c849443", + "id": "414ef58f-57e8-4362-971a-85af3ea9a44f", "shape": "table", "position": { - "x": 1100, + "x": 390, "y": -90 }, "count": 0, - "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" + "originKey": "3A48F81A-49D5-423B-8A92-228615DCEA6F" }, { - "id": "471ac35d-30de-48a3-8743-eec20f919eba", + "id": "6593da18-d55c-47e3-bb4c-cf75fc56702a", "shape": "table", "position": { - "x": 1100, - "y": 614 + "x": 1690, + "y": 83 }, "count": 0, - "originKey": "1ED24FEC-604E-4B36-9E51-17D572021F0C" + "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" }, { - "id": "414ef58f-57e8-4362-971a-85af3ea9a44f", + "id": "ff369484-e2eb-4af8-9b98-6fd2d9f202f9", "shape": "table", "position": { - "x": 390, + "x": 501, + "y": 587 + }, + "count": 0, + "originKey": "B0921F8C-064A-48FC-A028-C849BD1EAC09" + }, + { + "id": "2c258cf1-71de-432b-835a-7fe52c849443", + "shape": "table", + "position": { + "x": 1100, "y": -90 }, "count": 0, - "originKey": "3A48F81A-49D5-423B-8A92-228615DCEA6F" + "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" }, { - "id": "ff369484-e2eb-4af8-9b98-6fd2d9f202f9", + "id": "21f63eec-82ac-4156-aa34-1ea862ff1eb5", + "shape": "erdRelation", + "source": { + "cell": "471ac35d-30de-48a3-8743-eec20f919eba", + "port": "8B25DD45-6396-4F51-969D-EE6FA1CA8719%in" + }, + "target": { + "cell": "b968f678-c31b-4396-b761-dd3269ba6fb8", + "port": "667BC789-09BB-49B8-A7BF-0EBAEE7FC36C%in" + }, + "relation": "1:n", + "vertices": [ + { + "x": 980, + "y": 382 + } + ], + "fillColor": "#ACDAFC", + "router": { + "name": "manhattan" + }, + "attrs": { + "line": { + "strokeDasharray": "" + } + } + }, + { + "id": "471ac35d-30de-48a3-8743-eec20f919eba", "shape": "table", "position": { - "x": 501, - "y": 587 + "x": 1100, + "y": 614 }, "count": 0, - "originKey": "B0921F8C-064A-48FC-A028-C849BD1EAC09" + "originKey": "1ED24FEC-604E-4B36-9E51-17D572021F0C" }, { "id": "b968f678-c31b-4396-b761-dd3269ba6fb8", diff --git a/doc/bbwyB端库.pdma.json b/doc/bbwyB端库.pdma.json index 2d80fbb..61c0679 100644 --- a/doc/bbwyB端库.pdma.json +++ b/doc/bbwyB端库.pdma.json @@ -4,7 +4,7 @@ "avatar": "", "version": "4.5.1", "createdTime": "2023-5-12 20:56:05", - "updatedTime": "2023-5-17 19:12:18", + "updatedTime": "2023-5-17 21:50:51", "dbConns": [], "profile": { "default": { @@ -5668,16 +5668,7 @@ "id": "C76F8758-9EEC-4108-9F30-ECE489720FC8" } ], - "correlations": [ - { - "myField": "8B25DD45-6396-4F51-969D-EE6FA1CA8719", - "refEntity": "EE319D46-61D9-47DB-80AD-AD97D460ACB4", - "refField": "667BC789-09BB-49B8-A7BF-0EBAEE7FC36C", - "myRows": "1", - "refRows": "n", - "innerType": "" - } - ], + "correlations": [], "indexes": [] } ], @@ -6146,16 +6137,6 @@ "count": 0, "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" }, - { - "id": "ff369484-e2eb-4af8-9b98-6fd2d9f202f9", - "shape": "table", - "position": { - "x": 501, - "y": 587 - }, - "count": 0, - "originKey": "B0921F8C-064A-48FC-A028-C849BD1EAC09" - }, { "id": "2c258cf1-71de-432b-835a-7fe52c849443", "shape": "table", @@ -6167,52 +6148,34 @@ "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" }, { - "id": "21f63eec-82ac-4156-aa34-1ea862ff1eb5", - "shape": "erdRelation", - "source": { - "cell": "471ac35d-30de-48a3-8743-eec20f919eba", - "port": "8B25DD45-6396-4F51-969D-EE6FA1CA8719%in" - }, - "target": { - "cell": "b968f678-c31b-4396-b761-dd3269ba6fb8", - "port": "667BC789-09BB-49B8-A7BF-0EBAEE7FC36C%in" - }, - "relation": "1:n", - "vertices": [ - { - "x": 980, - "y": 382 - } - ], - "fillColor": "#ACDAFC", - "router": { - "name": "manhattan" + "id": "ff369484-e2eb-4af8-9b98-6fd2d9f202f9", + "shape": "table", + "position": { + "x": 501, + "y": 587 }, - "attrs": { - "line": { - "strokeDasharray": "" - } - } + "count": 0, + "originKey": "B0921F8C-064A-48FC-A028-C849BD1EAC09" }, { - "id": "471ac35d-30de-48a3-8743-eec20f919eba", + "id": "b968f678-c31b-4396-b761-dd3269ba6fb8", "shape": "table", "position": { "x": 1100, - "y": 614 + "y": 342 }, "count": 0, - "originKey": "1ED24FEC-604E-4B36-9E51-17D572021F0C" + "originKey": "EE319D46-61D9-47DB-80AD-AD97D460ACB4" }, { - "id": "b968f678-c31b-4396-b761-dd3269ba6fb8", + "id": "471ac35d-30de-48a3-8743-eec20f919eba", "shape": "table", "position": { "x": 1100, - "y": 342 + "y": 614 }, "count": 0, - "originKey": "EE319D46-61D9-47DB-80AD-AD97D460ACB4" + "originKey": "1ED24FEC-604E-4B36-9E51-17D572021F0C" } ] },