From a8297a1c48553be3f232ec92f522547214c7d23c Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Mon, 21 May 2018 17:48:09 +0800 Subject: [PATCH] . --- B3ClientService/Tasks/SyncSegmentInfoToTraceBack.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/B3ClientService/Tasks/SyncSegmentInfoToTraceBack.cs b/B3ClientService/Tasks/SyncSegmentInfoToTraceBack.cs index a9d9964..334c4a1 100644 --- a/B3ClientService/Tasks/SyncSegmentInfoToTraceBack.cs +++ b/B3ClientService/Tasks/SyncSegmentInfoToTraceBack.cs @@ -68,11 +68,14 @@ namespace BWP.B3ClientService.Tasks info.Goods_Spec = (string)reader[2]; info.Weight = string.Format("{0:#0.######}", reader[3]); info.ProductDate = string.Format("{0:yyyyMMdd}", reader[4]); + info.ButcherDate = ((DateTime)reader[4]).AddDays(-1).ToString("yyyyMMdd"); info.ProductBatch = info.ProductDate; info.InStoreDate = string.Format("{0:yyyyMMdd}", reader[5]); info.ID = (long)reader[6]; - info.Farm_Name = "自属备案养殖场"; + info.Farm_Name = "南墅养殖场"; info.TestingResult = "合格"; + info.TestingMan = "耿建平"; + info.SendCustomer = "青岛福兴祥商品配送有限公司"; list.Add(info); } } @@ -101,6 +104,9 @@ namespace BWP.B3ClientService.Tasks //[LogicName("重量")] public string Weight { get; set; } + //[LogicName("屠宰日期")] + public string ButcherDate { get; set; } + //[LogicName("生产日期")] public string ProductDate { get; set; }