From 81a4abd88b3077ae606c8e9578250fe99df7c7e4 Mon Sep 17 00:00:00 2001 From: tongfei <244188119@qq.com> Date: Wed, 15 Nov 2023 15:52:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E4=BD=93=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WMS.Web.Domain/Entitys/InStock.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/WMS.Web.Domain/Entitys/InStock.cs b/src/WMS.Web.Domain/Entitys/InStock.cs index abb9cd24..9538d27b 100644 --- a/src/WMS.Web.Domain/Entitys/InStock.cs +++ b/src/WMS.Web.Domain/Entitys/InStock.cs @@ -49,6 +49,12 @@ namespace WMS.Web.Domain.Entitys /// public DateTime? SyncTime { get; set; } + /// + /// 备注 + /// + public string Remark { get; set; } + + /// /// 明细 /// @@ -64,6 +70,21 @@ namespace WMS.Web.Domain.Entitys this.CreateTime = DateTime.Now; } + /// + /// 同步金蝶 + /// + /// + /// + /// + public void Sync(bool isSuccess, int operateId, string remark) + { + this.SuccessSync = isSuccess; + this.Remark = remark; + this.OperateId = operateId; + this.SyncTime = DateTime.Now; + } + + /// /// 生成单据号 ///