diff --git a/BBWYB.Server.Model/Db/Order/OrderPurchaseInfo.cs b/BBWYB.Server.Model/Db/Order/OrderPurchaseInfo.cs index 2bf00fa..26dbfea 100644 --- a/BBWYB.Server.Model/Db/Order/OrderPurchaseInfo.cs +++ b/BBWYB.Server.Model/Db/Order/OrderPurchaseInfo.cs @@ -56,35 +56,35 @@ namespace BBWYB.Server.Model.Db /// public long? ShopId { get; set; } - /// - /// 快递单号 - /// - [Column(StringLength = 100)] - public string WaybillNo { get; set; } - - /// - /// 原始快递公司名称 - /// - [Column(StringLength = 100)] - public string SourceExpressName { get; set; } - - /// - /// 原始快递公司Id - /// - [Column(StringLength = 100)] - public string SourceExpressId { get; set; } - - /// - /// 目标快递公司名称 - /// - [Column(StringLength = 100)] - public string TargetExpressName { get; set; } - - /// - /// 目标快递公司Id - /// - [Column(StringLength = 100)] - public string TargetExpressId { get; set; } + ///// + ///// 快递单号 + ///// + //[Column(StringLength = 100)] + //public string WaybillNo { get; set; } + + ///// + ///// 原始快递公司名称 + ///// + //[Column(StringLength = 100)] + //public string SourceExpressName { get; set; } + + ///// + ///// 原始快递公司Id + ///// + //[Column(StringLength = 100)] + //public string SourceExpressId { get; set; } + + ///// + ///// 目标快递公司名称 + ///// + //[Column(StringLength = 100)] + //public string TargetExpressName { get; set; } + + ///// + ///// 目标快递公司Id + ///// + //[Column(StringLength = 100)] + //public string TargetExpressId { get; set; } /// /// 归属订单Sku diff --git a/BBWYB.Server.Model/Db/Order/OrderPurchaseSkuInfo.cs b/BBWYB.Server.Model/Db/Order/OrderPurchaseSkuInfo.cs index 1e71a04..f95cf3d 100644 --- a/BBWYB.Server.Model/Db/Order/OrderPurchaseSkuInfo.cs +++ b/BBWYB.Server.Model/Db/Order/OrderPurchaseSkuInfo.cs @@ -16,17 +16,17 @@ namespace BBWYB.Server.Model.Db [Column(DbType = "datetime")] public DateTime? CreateTime { get; set; } - /// - /// 鐗╂祦鍙樻洿鏃堕棿 - /// - [Column(DbType = "datetime")] - public DateTime? ExpressChangeTime { get; set; } + ///// + ///// 鐗╂祦鍙樻洿鏃堕棿 + ///// + //[Column(DbType = "datetime")] + //public DateTime? ExpressChangeTime { get; set; } - /// - /// 鐗╂祦鐘舵 - /// - [Column(StringLength = 100)] - public string ExpressState { get; set; } + ///// + ///// 鐗╂祦鐘舵 + ///// + //[Column(StringLength = 100)] + //public string ExpressState { get; set; } /// /// 搴楅摵璁㈠崟Id @@ -57,6 +57,11 @@ namespace BBWYB.Server.Model.Db /// public long? ShopId { get; set; } + /// + /// 蹇掑崟 + /// + [Column(StringLength = 100)] + public string WaybillNo { get; set; } } } diff --git a/BBWYB.Server.Model/Db/Order/PurchaseExpressOrder.cs b/BBWYB.Server.Model/Db/Order/PurchaseExpressOrder.cs new file mode 100644 index 0000000..7f71802 --- /dev/null +++ b/BBWYB.Server.Model/Db/Order/PurchaseExpressOrder.cs @@ -0,0 +1,78 @@ +using FreeSql.DataAnnotations; + +namespace BBWYB.Server.Model.Db +{ + + /// + /// 閲囪喘蹇掑崟琛 + /// + [Table(Name = "purchaseexpressorder", DisableSyncStructure = true)] + public partial class PurchaseExpressOrder + { + + /// + /// 蹇掑崟鍙 + /// + [Column(StringLength = 100, IsPrimary = true, IsNullable = false)] + public string WaybillNo { get; set; } + + /// + /// 鍒涘缓鏃堕棿 + /// + [Column(DbType = "datetime")] + public DateTime? CreateTime { get; set; } + + /// + /// 鍙樻洿鏃堕棿 + /// + [Column(DbType = "datetime")] + public DateTime? ExpressChangedTime { get; set; } + + /// + /// 鐗╂祦鍐呭 + /// + [Column(StringLength = 2000)] + public string ExpressContent { get; set; } + + /// + /// 鐗╂祦鐘舵 + /// + [Column(StringLength = 100)] + public string ExpressState { get; set; } + + [Column(StringLength = 100)] + public string OrderId { get; set; } + + [Column(StringLength = 100)] + public string PurchaseOrderId { get; set; } + + [Column(StringLength = 100)] + public long ShopId { get; set; } + + /// + /// 鍘熷揩閫掑叕鍙窱d + /// + [Column(StringLength = 100)] + public string SourceExpressId { get; set; } + + /// + /// 鍘熷揩閫掑叕鍙稿悕绉 + /// + [Column(StringLength = 100)] + public string SourceExpressName { get; set; } + + /// + /// 鐩爣蹇掑叕鍙窱d(kuaidi100) + /// + [Column(StringLength = 100)] + public string TargetExpressId { get; set; } + + /// + /// 鐩爣蹇掑叕鍙稿悕绉(kuaidi100) + /// + [Column(StringLength = 100)] + public string TargetExpressName { get; set; } + + } + +} diff --git a/BBWYB.Server.Model/Dto/Response/Order/OrderPurchaseInfoResponse.cs b/BBWYB.Server.Model/Dto/Response/Order/OrderPurchaseInfoResponse.cs index 9ab28d2..f637cad 100644 --- a/BBWYB.Server.Model/Dto/Response/Order/OrderPurchaseInfoResponse.cs +++ b/BBWYB.Server.Model/Dto/Response/Order/OrderPurchaseInfoResponse.cs @@ -4,10 +4,20 @@ namespace BBWYB.Server.Model.Dto { public class OrderPurchaseInfoResponse : OrderPurchaseInfo { + ///// + ///// 鐗╂祦鐘舵 + ///// 1688鐗╂祦鐘舵: 鍙戣揣(CONSIGN)銆佹徑鏀(ACCEPT)銆佽繍杈(TRANSPORT)銆佹淳閫(DELIVERING)銆佺鏀(SIGN) + ///// + //public string ExpressState { get; set; } + + /// + /// 閲囪喘sku鍒楄〃 + /// + public IList OrderPurchaseSkuInfoList { get; set; } + /// - /// 鐗╂祦鐘舵 - /// 1688鐗╂祦鐘舵: 鍙戣揣(CONSIGN)銆佹徑鏀(ACCEPT)銆佽繍杈(TRANSPORT)銆佹淳閫(DELIVERING)銆佺鏀(SIGN) + /// 蹇掑崟鍒楄〃 /// - public string ExpressState { get; set; } + public IList PurchaseExpressOrderList { get; set; } } } diff --git a/BBWYB.Server.Model/Dto/Response/Order/OrderPurchaseSkuInfoResponse.cs b/BBWYB.Server.Model/Dto/Response/Order/OrderPurchaseSkuInfoResponse.cs new file mode 100644 index 0000000..518fd35 --- /dev/null +++ b/BBWYB.Server.Model/Dto/Response/Order/OrderPurchaseSkuInfoResponse.cs @@ -0,0 +1,8 @@ +锘縰sing BBWYB.Server.Model.Db; + +namespace BBWYB.Server.Model.Dto +{ + public class OrderPurchaseSkuInfoResponse: OrderPurchaseSkuInfo + { + } +} diff --git a/BBWYB.Server.Model/Dto/Response/Order/OrderResponse.cs b/BBWYB.Server.Model/Dto/Response/Order/OrderResponse.cs index 2d162d4..4c8933d 100644 --- a/BBWYB.Server.Model/Dto/Response/Order/OrderResponse.cs +++ b/BBWYB.Server.Model/Dto/Response/Order/OrderResponse.cs @@ -132,7 +132,7 @@ public OrderCostResponse OrderCost { get; set; } /// - /// 璁㈠崟閲囪喘淇℃伅 + /// 閲囪喘鍗曞垪琛 /// public IList OrderPurchaseInfoList { get; set; } diff --git a/BBWYB.Server.Model/Dto/Response/Order/PurchaseExpressOrderResponse.cs b/BBWYB.Server.Model/Dto/Response/Order/PurchaseExpressOrderResponse.cs new file mode 100644 index 0000000..58efff2 --- /dev/null +++ b/BBWYB.Server.Model/Dto/Response/Order/PurchaseExpressOrderResponse.cs @@ -0,0 +1,8 @@ +锘縰sing BBWYB.Server.Model.Db; + +namespace BBWYB.Server.Model.Dto +{ + public class PurchaseExpressOrderResponse: PurchaseExpressOrder + { + } +} diff --git a/BBWYB.Server.Model/Enums.cs b/BBWYB.Server.Model/Enums.cs index 924c0cc..f77cacf 100644 --- a/BBWYB.Server.Model/Enums.cs +++ b/BBWYB.Server.Model/Enums.cs @@ -108,15 +108,16 @@ } /// - /// 閲囪喘鍗曠姸鎬 寰呭彂璐 = 0, 寰呮敹璐 = 10, 宸茬鏀 = 20, 宸插彇娑 = 100 + /// 閲囪喘鍗曠姸鎬 寰呭彂璐 = 0, 閮ㄥ垎鍙戣揣=1, 寰呮敹璐 = 10, 閮ㄥ垎鏀惰揣=11, 宸茬鏀 = 20, 宸插彇娑 = 100 /// public enum PurchaseOrderState { 寰呭彂璐 = 0, - 寰呮敹璐 = 10, - 宸茬鏀 = 20, + 閮ㄥ垎鍙戣揣 = 1, + 寰呮敹璐 = 10, + 閮ㄥ垎鏀惰揣 = 11, + 宸茬鏀 = 20, 宸插彇娑 = 100 - //閮ㄥ垎绛炬敹 = 21, } /// diff --git a/doc/.back_bbwyB绔簱/bbwyB绔簱-backup-202366012803.pdma.json b/doc/.back_bbwyB绔簱/bbwyB绔簱-backup-202367000716.pdma.json similarity index 99% rename from doc/.back_bbwyB绔簱/bbwyB绔簱-backup-202366012803.pdma.json rename to doc/.back_bbwyB绔簱/bbwyB绔簱-backup-202367000716.pdma.json index 2ab4245..bd3793d 100644 --- a/doc/.back_bbwyB绔簱/bbwyB绔簱-backup-202366012803.pdma.json +++ b/doc/.back_bbwyB绔簱/bbwyB绔簱-backup-202367000716.pdma.json @@ -4,7 +4,7 @@ "avatar": "", "version": "4.5.1", "createdTime": "2023-5-12 20:56:05", - "updatedTime": "2023-6-6 01:21:07", + "updatedTime": "2023-6-6 01:29:46", "dbConns": [], "profile": { "default": { @@ -2961,6 +2961,23 @@ "id": "8C3AE7B5-1456-40D2-B7F8-A0040DE2B6D3", "extProps": {} }, + { + "defKey": "PurchaserId", + "defName": "", + "comment": "", + "type": "VARCHAR", + "len": 100, + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "6BA0DD86-8AC3-4B2F-80EF-3FA9D8082D53" + }, { "defKey": "PurchaserName", "defName": "", @@ -3145,7 +3162,7 @@ }, { "defKey": "OrderState", - "defName": "閲囪喘鍗曠姸鎬(寰呭彂璐 = 0, 寰呮敹璐 = 10, 宸茬鏀 = 20, 閮ㄥ垎绛炬敹 = 21, 宸插彇娑 = 100)", + "defName": "閲囪喘鍗曠姸鎬(寰呭彂璐 = 0, 閮ㄥ垎鍙戣揣=1, 寰呮敹璐 = 10, 閮ㄥ垎鏀惰揣=11, 宸茬鏀 = 20, 宸插彇娑 = 100)", "comment": "", "type": "", "len": "", @@ -3159,6 +3176,40 @@ "extProps": {}, "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E", "id": "A2094D2A-A910-4E4C-9AD6-E70856604538" + }, + { + "defKey": "Remark", + "defName": "閲囪喘澶囨敞", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "id": "27FA741F-D759-4FC1-A3CD-685565EA77D9" + }, + { + "defKey": "IsEnabled", + "defName": "鏄惁鏈夋晥", + "comment": "", + "type": "bit", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "extProps": {}, + "domain": "", + "id": "9872FE5C-94C0-479F-BDAC-20756B572B19" } ], "indexes": [], @@ -6418,34 +6469,34 @@ "originKey": "1ED24FEC-604E-4B36-9E51-17D572021F0C" }, { - "id": "e8ee81ef-5bfc-464d-9154-1464a42dff87", + "id": "b968f678-c31b-4396-b761-dd3269ba6fb8", "shape": "table", "position": { - "x": 1262, - "y": 490 + "x": 1250, + "y": 245 }, "count": 0, - "originKey": "73446503-276D-4398-8476-E340878E9998" + "originKey": "EE319D46-61D9-47DB-80AD-AD97D460ACB4" }, { - "id": "2c258cf1-71de-432b-835a-7fe52c849443", + "id": "e8ee81ef-5bfc-464d-9154-1464a42dff87", "shape": "table", "position": { - "x": 1250, - "y": -100 + "x": 1262, + "y": 490 }, "count": 0, - "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" + "originKey": "73446503-276D-4398-8476-E340878E9998" }, { - "id": "b968f678-c31b-4396-b761-dd3269ba6fb8", + "id": "2c258cf1-71de-432b-835a-7fe52c849443", "shape": "table", "position": { "x": 1250, - "y": 235 + "y": -110 }, "count": 0, - "originKey": "EE319D46-61D9-47DB-80AD-AD97D460ACB4" + "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" } ] }, diff --git a/doc/bbwyB绔簱.pdma.json b/doc/bbwyB绔簱.pdma.json index bd3793d..fdbaf26 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-6-6 01:29:46", + "updatedTime": "2023-6-7 00:07:16", "dbConns": [], "profile": { "default": { @@ -6281,6 +6281,56 @@ "count": 0, "originKey": "93074B87-BE55-41BF-8358-B0E84C4E249A" }, + { + "id": "414ef58f-57e8-4362-971a-85af3ea9a44f", + "shape": "table", + "position": { + "x": 390, + "y": -90 + }, + "count": 0, + "originKey": "3A48F81A-49D5-423B-8A92-228615DCEA6F" + }, + { + "id": "6593da18-d55c-47e3-bb4c-cf75fc56702a", + "shape": "table", + "position": { + "x": 2770, + "y": 103 + }, + "count": 0, + "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" + }, + { + "id": "34567615-fdb5-4d1d-b6ee-a8b61faa04b8", + "shape": "table", + "position": { + "x": 2770, + "y": -53.5 + }, + "count": 0, + "originKey": "474E5807-5650-43BD-8C5C-E16F36D58F85" + }, + { + "id": "33443e42-a883-42ec-acc0-46cc1446218d", + "shape": "table", + "position": { + "x": 2770, + "y": 634 + }, + "count": 0, + "originKey": "1E65E858-7177-4B30-9B39-32A6D1CB104C" + }, + { + "id": "129cac0b-4f1e-4d05-972f-73b2c710b6e0", + "shape": "table", + "position": { + "x": 2770, + "y": 408 + }, + "count": 0, + "originKey": "4CDAE2F8-5F79-4A75-8F5A-27226FDD1ACE" + }, { "id": "c9cd6035-3abe-4d8f-8830-bc876fe240af", "shape": "erdRelation", @@ -6408,95 +6458,45 @@ "count": 0, "originKey": "B0921F8C-064A-48FC-A028-C849BD1EAC09" }, - { - "id": "414ef58f-57e8-4362-971a-85af3ea9a44f", - "shape": "table", - "position": { - "x": 390, - "y": -90 - }, - "count": 0, - "originKey": "3A48F81A-49D5-423B-8A92-228615DCEA6F" - }, - { - "id": "6593da18-d55c-47e3-bb4c-cf75fc56702a", - "shape": "table", - "position": { - "x": 2770, - "y": 103 - }, - "count": 0, - "originKey": "03EA3614-C1F5-4909-96A0-0687EDEABD4B" - }, - { - "id": "34567615-fdb5-4d1d-b6ee-a8b61faa04b8", - "shape": "table", - "position": { - "x": 2770, - "y": -53.5 - }, - "count": 0, - "originKey": "474E5807-5650-43BD-8C5C-E16F36D58F85" - }, - { - "id": "33443e42-a883-42ec-acc0-46cc1446218d", - "shape": "table", - "position": { - "x": 2770, - "y": 634 - }, - "count": 0, - "originKey": "1E65E858-7177-4B30-9B39-32A6D1CB104C" - }, - { - "id": "129cac0b-4f1e-4d05-972f-73b2c710b6e0", - "shape": "table", - "position": { - "x": 2770, - "y": 408 - }, - "count": 0, - "originKey": "4CDAE2F8-5F79-4A75-8F5A-27226FDD1ACE" - }, { "id": "471ac35d-30de-48a3-8743-eec20f919eba", "shape": "table", "position": { "x": 1818, - "y": 490 + "y": 495 }, "count": 0, "originKey": "1ED24FEC-604E-4B36-9E51-17D572021F0C" }, { - "id": "b968f678-c31b-4396-b761-dd3269ba6fb8", + "id": "2c258cf1-71de-432b-835a-7fe52c849443", "shape": "table", "position": { "x": 1250, - "y": 245 + "y": -150 }, "count": 0, - "originKey": "EE319D46-61D9-47DB-80AD-AD97D460ACB4" + "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" }, { "id": "e8ee81ef-5bfc-464d-9154-1464a42dff87", "shape": "table", "position": { - "x": 1262, - "y": 490 + "x": 1250, + "y": 495 }, "count": 0, "originKey": "73446503-276D-4398-8476-E340878E9998" }, { - "id": "2c258cf1-71de-432b-835a-7fe52c849443", + "id": "b968f678-c31b-4396-b761-dd3269ba6fb8", "shape": "table", "position": { "x": 1250, - "y": -110 + "y": 245 }, "count": 0, - "originKey": "7DC43BAC-F8BC-4423-96C5-4C770CCD6214" + "originKey": "EE319D46-61D9-47DB-80AD-AD97D460ACB4" } ] },