From 420ec0dec8cd0c17eb18ce6ecd5d03eed0266541 Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期一, 23 九月 2024 01:14:07 +0800 Subject: [PATCH] 优化三码合一行为,增加包装工单首站投入验证行为 --- Tiger.Model.Net/Entitys/MES/MES_CUST_SN.cs | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/Tiger.Model.Net/Entitys/MES/MES_CUST_SN.cs b/Tiger.Model.Net/Entitys/MES/MES_CUST_SN.cs index 8f359e7..195b65a 100644 --- a/Tiger.Model.Net/Entitys/MES/MES_CUST_SN.cs +++ b/Tiger.Model.Net/Entitys/MES/MES_CUST_SN.cs @@ -34,7 +34,7 @@ [DisplayName("瀹㈡埛鏉$爜")] public string CUST_SN { get; set; } /// <summary> - /// 鍘傚唴娴佽浆鏉$爜 + /// 鍘傚唴娴佽浆鏉$爜(鑻ユ槸瀵煎叆鐨勬湭缁戝畾瀹㈡埛鏉$爜锛屾瀛楁涓虹┖) /// </summary> [DisplayName("鍘傚唴娴佽浆鏉$爜")] public string FLOW_SN { get; set; } @@ -60,6 +60,21 @@ [SugarColumn(IsIgnore = true)] public string FieldName { get; set; } */ + /// <summary> + /// 鏄惁宸茬粡缁戝畾 + /// </summary> + [SugarColumn(IsIgnore = true)] + public bool IsBound => !string.IsNullOrEmpty(FLOW_SN) && !string.IsNullOrEmpty(CUST_SN) && FLOW_SN != CUST_SN; + /// <summary> + /// 鏄惁鍘傚唴娴佽浆鏉$爜 + /// </summary> + [SugarColumn(IsIgnore = true)] + public bool IsFlowSn => !string.IsNullOrEmpty(FLOW_SN) && !string.IsNullOrEmpty(CUST_SN) && FLOW_SN == CUST_SN; + /// <summary> + /// 鏄惁瀹㈡埛缂栫爜 + /// </summary> + [SugarColumn(IsIgnore = true)] + public bool IsCustSn => string.IsNullOrEmpty(FLOW_SN) && !string.IsNullOrEmpty(CUST_SN); #endregion #region 澶栭敭灞炴�� -- Gitblit v1.9.3