From cd9f73eba6f66ed52efc9983854a08d794192814 Mon Sep 17 00:00:00 2001 From: shanj <18996038927@163.com> Date: Sun, 14 May 2023 10:52:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E5=BD=95=E9=87=87=E8=B4=AD=E5=8D=95Sk?= =?UTF-8?q?u?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PurchaseOrder/PurchaseOrderBusiness.cs | 21 ++- .../Db/Order/OrderPurchaseSkuInfo.cs | 62 +++++++++ BBWYB.Server.Model/Orderpurchaseskuinfo.cs | 74 +++++++++++ .../Client/Impl/PP_1688Client.cs | 3 +- .../Order/PP_QueryOrderDetailResponse.cs | 5 + ...bwyB端库-backup-2023514095129.pdma.json} | 70 +++++----- ...bwyB端库-backup-2023514100221.pdma.json} | 46 +++---- ...bwyB端库-backup-2023514100225.pdma.json} | 124 +++++------------- doc/bbwyB端库.pdma.json | 91 ++----------- 9 files changed, 266 insertions(+), 230 deletions(-) create mode 100644 BBWYB.Server.Model/Db/Order/OrderPurchaseSkuInfo.cs create mode 100644 BBWYB.Server.Model/Orderpurchaseskuinfo.cs rename doc/.back_bbwyB端库/{bbwyB端库-backup-2023513012826.pdma.json => bbwyB端库-backup-2023514095129.pdma.json} (99%) rename doc/.back_bbwyB端库/{bbwyB端库-backup-2023513014549.pdma.json => bbwyB端库-backup-2023514100221.pdma.json} (99%) rename doc/.back_bbwyB端库/{bbwyB端库-backup-2023513012817.pdma.json => bbwyB端库-backup-2023514100225.pdma.json} (99%) diff --git a/BBWYB.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs b/BBWYB.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs index 44d45ee..3541a56 100644 --- a/BBWYB.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs +++ b/BBWYB.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs @@ -171,6 +171,7 @@ namespace BBWYB.Server.Business List insertOrderCostDetails = new List(); List insertOrderPurchaseInfos = new List(); + List insertOrderPurchaseSkuInfos = new List(); List updatePurchaseTimeSchemeIdList = new List(); IInsert insertOrderCost = null; IUpdate updateOrderCost = null; @@ -265,7 +266,7 @@ namespace BBWYB.Server.Business #endregion } - #region 订单采购信息 + #region 采购订单信息 var orderPurchaserInfo = new OrderPurchaseInfo() { Id = idGenerator.NewLong(), @@ -282,6 +283,23 @@ namespace BBWYB.Server.Business }; insertOrderPurchaseInfos.Add(orderPurchaserInfo); #endregion + + #region 采购订单Sku信息 + foreach (var purchaseOrderSku in purchaseOrderSimpleInfo.ItemList) + { + var orderPurchaseSkuInfo = new OrderPurchaseSkuInfo() + { + Id = purchaseOrderSku.OrderSkuId, + CreateTime = DateTime.Now, + OrderId = request.OrderId, + PurchaseOrderId = purchaseOrderSimpleInfo.OrderId, + PurchaseProductId = purchaseOrderSku.ProductId, + PurchaseSkuId = purchaseOrderSku.SkuId, + ShopId = request.ShopId + }; + insertOrderPurchaseSkuInfos.Add(orderPurchaseSkuInfo); + } + #endregion } #region 订单成本 @@ -314,6 +332,7 @@ namespace BBWYB.Server.Business deleteOrderCostDetail.ExecuteAffrows(); fsql.Insert(insertOrderCostDetails).ExecuteAffrows(); fsql.Insert(insertOrderPurchaseInfos).ExecuteAffrows(); + fsql.Insert(insertOrderPurchaseSkuInfos).ExecuteAffrows(); updateOrderCost?.ExecuteAffrows(); insertOrderCost?.ExecuteAffrows(); if (updatePurchaseTimeSchemeIdList.Count() > 0) diff --git a/BBWYB.Server.Model/Db/Order/OrderPurchaseSkuInfo.cs b/BBWYB.Server.Model/Db/Order/OrderPurchaseSkuInfo.cs new file mode 100644 index 0000000..1e71a04 --- /dev/null +++ b/BBWYB.Server.Model/Db/Order/OrderPurchaseSkuInfo.cs @@ -0,0 +1,62 @@ +using FreeSql.DataAnnotations; + +namespace BBWYB.Server.Model.Db +{ + + /// + /// 采购单Sku表 + /// + [Table(Name = "orderpurchaseskuinfo", DisableSyncStructure = true)] + public partial class OrderPurchaseSkuInfo + { + + [Column(IsPrimary = true, StringLength = 100)] + public string Id { get; set; } + + [Column(DbType = "datetime")] + public DateTime? CreateTime { get; set; } + + /// + /// 物流变更时间 + /// + [Column(DbType = "datetime")] + public DateTime? ExpressChangeTime { get; set; } + + /// + /// 物流状态 + /// + [Column(StringLength = 100)] + public string ExpressState { get; set; } + + /// + /// 店铺订单Id + /// + [Column(StringLength = 100)] + public string OrderId { get; set; } + + /// + /// 采购订单Id + /// + [Column(StringLength = 100)] + public string PurchaseOrderId { get; set; } + + /// + /// 采购商品Id(spu) + /// + [Column(StringLength = 100)] + public string PurchaseProductId { get; set; } + + /// + /// 采购Sku + /// + [Column(StringLength = 100)] + public string PurchaseSkuId { get; set; } + + /// + /// 店铺Id + /// + public long? ShopId { get; set; } + + } + +} diff --git a/BBWYB.Server.Model/Orderpurchaseskuinfo.cs b/BBWYB.Server.Model/Orderpurchaseskuinfo.cs new file mode 100644 index 0000000..1a0361d --- /dev/null +++ b/BBWYB.Server.Model/Orderpurchaseskuinfo.cs @@ -0,0 +1,74 @@ +using FreeSql.DatabaseModel;using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Threading.Tasks; +using Newtonsoft.Json; +using FreeSql.DataAnnotations; + +namespace BBWYB.Server.Model.Db { + + /// + /// 采购单Sku表 + /// + [JsonObject(MemberSerialization.OptIn), Table(Name = "orderpurchaseskuinfo", DisableSyncStructure = true)] + public partial class Orderpurchaseskuinfo { + + [JsonProperty, Column(IsPrimary = true)] + public long Id { get; set; } + + [JsonProperty, Column(DbType = "datetime")] + public DateTime? CreateTime { get; set; } + + /// + /// 物流变更时间 + /// + [JsonProperty, Column(DbType = "datetime")] + public DateTime? ExpressChangeTime { get; set; } + + /// + /// 物流状态 + /// + [JsonProperty, Column(StringLength = 100)] + public string ExpressState { get; set; } + + /// + /// 店铺订单Id + /// + [JsonProperty, Column(StringLength = 100)] + public string OrderId { get; set; } + + /// + /// 采购订单Id + /// + [JsonProperty, Column(StringLength = 100)] + public string PurchaseOrderId { get; set; } + + /// + /// 采购商品Id(spu) + /// + [JsonProperty, Column(StringLength = 100)] + public string PurchaseProductId { get; set; } + + /// + /// 采购Sku + /// + [JsonProperty, Column(StringLength = 100)] + public string PurchaseSkuId { get; set; } + + /// + /// 采购Sku订单Id;1688 OrderEntryId + /// + [JsonProperty, Column(StringLength = 100)] + public string PurchaseSkuOrderId { get; set; } + + /// + /// 店铺Id + /// + [JsonProperty] + public long? ShopId { get; set; } + + } + +} diff --git a/SDKAdapter/PurchasePlatform/Client/Impl/PP_1688Client.cs b/SDKAdapter/PurchasePlatform/Client/Impl/PP_1688Client.cs index d55421d..6ab56fa 100644 --- a/SDKAdapter/PurchasePlatform/Client/Impl/PP_1688Client.cs +++ b/SDKAdapter/PurchasePlatform/Client/Impl/PP_1688Client.cs @@ -243,7 +243,8 @@ namespace SDKAdapter.PurchasePlatform.Client SpecId = itemJToken.Value("specId"), ProductAmount = itemJToken.Value("itemAmount"), Quantity = Convert.ToInt32(itemJToken.Value("quantity")), - Price = itemJToken.Value("price") + Price = itemJToken.Value("price"), + OrderSkuId = itemJToken.Value("subItemID") }).ToList() }; } diff --git a/SDKAdapter/PurchasePlatform/Models/Response/Order/PP_QueryOrderDetailResponse.cs b/SDKAdapter/PurchasePlatform/Models/Response/Order/PP_QueryOrderDetailResponse.cs index 769b497..471b663 100644 --- a/SDKAdapter/PurchasePlatform/Models/Response/Order/PP_QueryOrderDetailResponse.cs +++ b/SDKAdapter/PurchasePlatform/Models/Response/Order/PP_QueryOrderDetailResponse.cs @@ -33,6 +33,11 @@ /// public class PP_QueryOrderDetailSkuResponse { + /// + /// SKU订单Id (1688 orderEntryId) + /// + public string OrderSkuId { get; set; } + public string ProductId { get; set; } public string SkuId { get; set; } diff --git a/doc/.back_bbwyB端库/bbwyB端库-backup-2023513012826.pdma.json b/doc/.back_bbwyB端库/bbwyB端库-backup-2023514095129.pdma.json similarity index 99% rename from doc/.back_bbwyB端库/bbwyB端库-backup-2023513012826.pdma.json rename to doc/.back_bbwyB端库/bbwyB端库-backup-2023514095129.pdma.json index d066941..da44f44 100644 --- a/doc/.back_bbwyB端库/bbwyB端库-backup-2023513012826.pdma.json +++ b/doc/.back_bbwyB端库/bbwyB端库-backup-2023514095129.pdma.json @@ -4,7 +4,7 @@ "avatar": "", "version": "4.5.1", "createdTime": "2023-5-12 20:56:05", - "updatedTime": "2023-5-13 01:28:17", + "updatedTime": "2023-5-13 01:45:49", "dbConns": [], "profile": { "default": { @@ -5293,11 +5293,11 @@ "id": "329B45D7-BCE9-4895-B52D-C953E95DB4B2" }, { - "defKey": "CreateTime", - "defName": "", - "comment": "", - "type": "", - "len": "", + "defKey": "PurchaseSkuOrderId", + "defName": "采购Sku订单Id", + "comment": "1688 OrderEntryId", + "type": "VARCHAR", + "len": 100, "scale": "", "primaryKey": false, "notNull": false, @@ -5306,15 +5306,15 @@ "hideInGraph": false, "refDict": "", "extProps": {}, - "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC", - "id": "FB279AC5-DB2B-498B-9DC9-5EE05BCED570" + "domain": "", + "id": "0910A21A-CFB1-4401-A2DA-47332E67EA6B" }, { - "defKey": "PurchaseSkuOrderId", - "defName": "采购Sku订单Id", - "comment": "1688 OrderEntryId", - "type": "VARCHAR", - "len": 100, + "defKey": "CreateTime", + "defName": "", + "comment": "", + "type": "", + "len": "", "scale": "", "primaryKey": false, "notNull": false, @@ -5323,8 +5323,8 @@ "hideInGraph": false, "refDict": "", "extProps": {}, - "domain": "", - "id": "0910A21A-CFB1-4401-A2DA-47332E67EA6B" + "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC", + "id": "FB279AC5-DB2B-498B-9DC9-5EE05BCED570" } ], "correlations": [ @@ -5773,16 +5773,6 @@ } } }, - { - "id": "129cac0b-4f1e-4d05-972f-73b2c710b6e0", - "shape": "table", - "position": { - "x": 1690, - "y": 388 - }, - "count": 0, - "originKey": "4CDAE2F8-5F79-4A75-8F5A-27226FDD1ACE" - }, { "id": "34567615-fdb5-4d1d-b6ee-a8b61faa04b8", "shape": "table", @@ -5794,34 +5784,34 @@ "originKey": "474E5807-5650-43BD-8C5C-E16F36D58F85" }, { - "id": "6593da18-d55c-47e3-bb4c-cf75fc56702a", + "id": "33443e42-a883-42ec-acc0-46cc1446218d", "shape": "table", "position": { "x": 1690, - "y": 83 + "y": 614 }, "count": 0, - "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" + "originKey": "1E65E858-7177-4B30-9B39-32A6D1CB104C" }, { - "id": "2c258cf1-71de-432b-835a-7fe52c849443", + "id": "129cac0b-4f1e-4d05-972f-73b2c710b6e0", "shape": "table", "position": { - "x": 1100, - "y": -90 + "x": 1690, + "y": 388 }, "count": 0, - "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" + "originKey": "4CDAE2F8-5F79-4A75-8F5A-27226FDD1ACE" }, { - "id": "33443e42-a883-42ec-acc0-46cc1446218d", + "id": "6593da18-d55c-47e3-bb4c-cf75fc56702a", "shape": "table", "position": { "x": 1690, - "y": 614 + "y": 83 }, "count": 0, - "originKey": "1E65E858-7177-4B30-9B39-32A6D1CB104C" + "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" }, { "id": "414ef58f-57e8-4362-971a-85af3ea9a44f", @@ -5852,6 +5842,16 @@ }, "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-2023513014549.pdma.json b/doc/.back_bbwyB端库/bbwyB端库-backup-2023514100221.pdma.json similarity index 99% rename from doc/.back_bbwyB端库/bbwyB端库-backup-2023513014549.pdma.json rename to doc/.back_bbwyB端库/bbwyB端库-backup-2023514100221.pdma.json index 15c681d..2bac757 100644 --- a/doc/.back_bbwyB端库/bbwyB端库-backup-2023513014549.pdma.json +++ b/doc/.back_bbwyB端库/bbwyB端库-backup-2023514100221.pdma.json @@ -4,7 +4,7 @@ "avatar": "", "version": "4.5.1", "createdTime": "2023-5-12 20:56:05", - "updatedTime": "2023-5-13 01:28:26", + "updatedTime": "2023-5-14 09:51:29", "dbConns": [], "profile": { "default": { @@ -5118,8 +5118,8 @@ "type": "bigint", "len": "", "scale": "", - "primaryKey": false, - "notNull": false, + "primaryKey": true, + "notNull": true, "autoIncrement": false, "defaultValue": "", "hideInGraph": false, @@ -5719,16 +5719,6 @@ } } }, - { - "id": "129cac0b-4f1e-4d05-972f-73b2c710b6e0", - "shape": "table", - "position": { - "x": 1690, - "y": 388 - }, - "count": 0, - "originKey": "4CDAE2F8-5F79-4A75-8F5A-27226FDD1ACE" - }, { "id": "34567615-fdb5-4d1d-b6ee-a8b61faa04b8", "shape": "table", @@ -5740,34 +5730,34 @@ "originKey": "474E5807-5650-43BD-8C5C-E16F36D58F85" }, { - "id": "6593da18-d55c-47e3-bb4c-cf75fc56702a", + "id": "33443e42-a883-42ec-acc0-46cc1446218d", "shape": "table", "position": { "x": 1690, - "y": 83 + "y": 614 }, "count": 0, - "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" + "originKey": "1E65E858-7177-4B30-9B39-32A6D1CB104C" }, { - "id": "2c258cf1-71de-432b-835a-7fe52c849443", + "id": "129cac0b-4f1e-4d05-972f-73b2c710b6e0", "shape": "table", "position": { - "x": 1100, - "y": -90 + "x": 1690, + "y": 388 }, "count": 0, - "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" + "originKey": "4CDAE2F8-5F79-4A75-8F5A-27226FDD1ACE" }, { - "id": "33443e42-a883-42ec-acc0-46cc1446218d", + "id": "6593da18-d55c-47e3-bb4c-cf75fc56702a", "shape": "table", "position": { "x": 1690, - "y": 614 + "y": 83 }, "count": 0, - "originKey": "1E65E858-7177-4B30-9B39-32A6D1CB104C" + "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" }, { "id": "414ef58f-57e8-4362-971a-85af3ea9a44f", @@ -5798,6 +5788,16 @@ }, "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-2023513012817.pdma.json b/doc/.back_bbwyB端库/bbwyB端库-backup-2023514100225.pdma.json similarity index 99% rename from doc/.back_bbwyB端库/bbwyB端库-backup-2023513012817.pdma.json rename to doc/.back_bbwyB端库/bbwyB端库-backup-2023514100225.pdma.json index 95bbbb4..a8e32d2 100644 --- a/doc/.back_bbwyB端库/bbwyB端库-backup-2023513012817.pdma.json +++ b/doc/.back_bbwyB端库/bbwyB端库-backup-2023514100225.pdma.json @@ -4,7 +4,7 @@ "avatar": "", "version": "4.5.1", "createdTime": "2023-5-12 20:56:05", - "updatedTime": "2023-5-13 00:14:24", + "updatedTime": "2023-5-14 10:02:21", "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": {} }, { @@ -3867,16 +3831,7 @@ "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": [] }, { "id": "474E5807-5650-43BD-8C5C-E16F36D58F85", @@ -5158,13 +5113,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, @@ -5310,16 +5265,7 @@ "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": "" - } - ], + "correlations": [], "indexes": [] } ], @@ -5756,16 +5702,6 @@ } } }, - { - "id": "129cac0b-4f1e-4d05-972f-73b2c710b6e0", - "shape": "table", - "position": { - "x": 1690, - "y": 388 - }, - "count": 0, - "originKey": "4CDAE2F8-5F79-4A75-8F5A-27226FDD1ACE" - }, { "id": "34567615-fdb5-4d1d-b6ee-a8b61faa04b8", "shape": "table", @@ -5777,44 +5713,44 @@ "originKey": "474E5807-5650-43BD-8C5C-E16F36D58F85" }, { - "id": "6593da18-d55c-47e3-bb4c-cf75fc56702a", + "id": "33443e42-a883-42ec-acc0-46cc1446218d", "shape": "table", "position": { "x": 1690, - "y": 83 + "y": 614 }, "count": 0, - "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" + "originKey": "1E65E858-7177-4B30-9B39-32A6D1CB104C" }, { - "id": "414ef58f-57e8-4362-971a-85af3ea9a44f", + "id": "129cac0b-4f1e-4d05-972f-73b2c710b6e0", "shape": "table", "position": { - "x": 390, - "y": -90 + "x": 1690, + "y": 388 }, "count": 0, - "originKey": "3A48F81A-49D5-423B-8A92-228615DCEA6F" + "originKey": "4CDAE2F8-5F79-4A75-8F5A-27226FDD1ACE" }, { - "id": "2c258cf1-71de-432b-835a-7fe52c849443", + "id": "6593da18-d55c-47e3-bb4c-cf75fc56702a", "shape": "table", "position": { - "x": 1100, - "y": -90 + "x": 1690, + "y": 83 }, "count": 0, - "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" + "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" }, { - "id": "33443e42-a883-42ec-acc0-46cc1446218d", + "id": "414ef58f-57e8-4362-971a-85af3ea9a44f", "shape": "table", "position": { - "x": 1690, - "y": 614 + "x": 390, + "y": -90 }, "count": 0, - "originKey": "1E65E858-7177-4B30-9B39-32A6D1CB104C" + "originKey": "3A48F81A-49D5-423B-8A92-228615DCEA6F" }, { "id": "ff369484-e2eb-4af8-9b98-6fd2d9f202f9", @@ -5835,6 +5771,16 @@ }, "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 da44f44..94e4290 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-13 01:45:49", + "updatedTime": "2023-5-14 10:02:25", "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": {} }, { @@ -3867,16 +3831,7 @@ "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": [] }, { "id": "474E5807-5650-43BD-8C5C-E16F36D58F85", @@ -5158,13 +5113,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, @@ -5292,23 +5247,6 @@ "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC", "id": "329B45D7-BCE9-4895-B52D-C953E95DB4B2" }, - { - "defKey": "PurchaseSkuOrderId", - "defName": "采购Sku订单Id", - "comment": "1688 OrderEntryId", - "type": "VARCHAR", - "len": 100, - "scale": "", - "primaryKey": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "", - "hideInGraph": false, - "refDict": "", - "extProps": {}, - "domain": "", - "id": "0910A21A-CFB1-4401-A2DA-47332E67EA6B" - }, { "defKey": "CreateTime", "defName": "", @@ -5327,16 +5265,7 @@ "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": "" - } - ], + "correlations": [], "indexes": [] } ],