Browse Source

记录采购单Sku

updatebug
shanji 2 years ago
parent
commit
cd9f73eba6
  1. 21
      BBWYB.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs
  2. 62
      BBWYB.Server.Model/Db/Order/OrderPurchaseSkuInfo.cs
  3. 74
      BBWYB.Server.Model/Orderpurchaseskuinfo.cs
  4. 3
      SDKAdapter/PurchasePlatform/Client/Impl/PP_1688Client.cs
  5. 5
      SDKAdapter/PurchasePlatform/Models/Response/Order/PP_QueryOrderDetailResponse.cs
  6. 70
      doc/.back_bbwyB端库/bbwyB端库-backup-2023514095129.pdma.json
  7. 46
      doc/.back_bbwyB端库/bbwyB端库-backup-2023514100221.pdma.json
  8. 124
      doc/.back_bbwyB端库/bbwyB端库-backup-2023514100225.pdma.json
  9. 91
      doc/bbwyB端库.pdma.json

21
BBWYB.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs

@ -171,6 +171,7 @@ namespace BBWYB.Server.Business
List<OrderCostDetail> insertOrderCostDetails = new List<OrderCostDetail>();
List<OrderPurchaseInfo> insertOrderPurchaseInfos = new List<OrderPurchaseInfo>();
List<OrderPurchaseSkuInfo> insertOrderPurchaseSkuInfos = new List<OrderPurchaseSkuInfo>();
List<long> updatePurchaseTimeSchemeIdList = new List<long>();
IInsert<OrderCost> insertOrderCost = null;
IUpdate<OrderCost> 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)

62
BBWYB.Server.Model/Db/Order/OrderPurchaseSkuInfo.cs

@ -0,0 +1,62 @@
using FreeSql.DataAnnotations;
namespace BBWYB.Server.Model.Db
{
/// <summary>
/// 采购单Sku表
/// </summary>
[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; }
/// <summary>
/// 物流变更时间
/// </summary>
[Column(DbType = "datetime")]
public DateTime? ExpressChangeTime { get; set; }
/// <summary>
/// 物流状态
/// </summary>
[Column(StringLength = 100)]
public string ExpressState { get; set; }
/// <summary>
/// 店铺订单Id
/// </summary>
[Column(StringLength = 100)]
public string OrderId { get; set; }
/// <summary>
/// 采购订单Id
/// </summary>
[Column(StringLength = 100)]
public string PurchaseOrderId { get; set; }
/// <summary>
/// 采购商品Id(spu)
/// </summary>
[Column(StringLength = 100)]
public string PurchaseProductId { get; set; }
/// <summary>
/// 采购Sku
/// </summary>
[Column(StringLength = 100)]
public string PurchaseSkuId { get; set; }
/// <summary>
/// 店铺Id
/// </summary>
public long? ShopId { get; set; }
}
}

74
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 {
/// <summary>
/// 采购单Sku表
/// </summary>
[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; }
/// <summary>
/// 物流变更时间
/// </summary>
[JsonProperty, Column(DbType = "datetime")]
public DateTime? ExpressChangeTime { get; set; }
/// <summary>
/// 物流状态
/// </summary>
[JsonProperty, Column(StringLength = 100)]
public string ExpressState { get; set; }
/// <summary>
/// 店铺订单Id
/// </summary>
[JsonProperty, Column(StringLength = 100)]
public string OrderId { get; set; }
/// <summary>
/// 采购订单Id
/// </summary>
[JsonProperty, Column(StringLength = 100)]
public string PurchaseOrderId { get; set; }
/// <summary>
/// 采购商品Id(spu)
/// </summary>
[JsonProperty, Column(StringLength = 100)]
public string PurchaseProductId { get; set; }
/// <summary>
/// 采购Sku
/// </summary>
[JsonProperty, Column(StringLength = 100)]
public string PurchaseSkuId { get; set; }
/// <summary>
/// 采购Sku订单Id;1688 OrderEntryId
/// </summary>
[JsonProperty, Column(StringLength = 100)]
public string PurchaseSkuOrderId { get; set; }
/// <summary>
/// 店铺Id
/// </summary>
[JsonProperty]
public long? ShopId { get; set; }
}
}

3
SDKAdapter/PurchasePlatform/Client/Impl/PP_1688Client.cs

@ -243,7 +243,8 @@ namespace SDKAdapter.PurchasePlatform.Client
SpecId = itemJToken.Value<string>("specId"),
ProductAmount = itemJToken.Value<decimal>("itemAmount"),
Quantity = Convert.ToInt32(itemJToken.Value<decimal>("quantity")),
Price = itemJToken.Value<decimal>("price")
Price = itemJToken.Value<decimal>("price"),
OrderSkuId = itemJToken.Value<string>("subItemID")
}).ToList()
};
}

5
SDKAdapter/PurchasePlatform/Models/Response/Order/PP_QueryOrderDetailResponse.cs

@ -33,6 +33,11 @@
/// </summary>
public class PP_QueryOrderDetailSkuResponse
{
/// <summary>
/// SKU订单Id (1688 orderEntryId)
/// </summary>
public string OrderSkuId { get; set; }
public string ProductId { get; set; }
public string SkuId { get; set; }

70
doc/.back_bbwyB端库/bbwyB端库-backup-2023513012826.pdma.json → 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"
}
]
},

46
doc/.back_bbwyB端库/bbwyB端库-backup-2023513014549.pdma.json → 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"
}
]
},

124
doc/.back_bbwyB端库/bbwyB端库-backup-2023513012817.pdma.json → 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"
}
]
},

91
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": []
}
],

Loading…
Cancel
Save