From bac8f3f7f55649e9a6f76049b634af22d320a1c8 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期三, 30 四月 2025 08:53:05 +0800 Subject: [PATCH] 按钮权限修改 --- CY_ECommercePlatform/CY.Model/OA/OA_Staff.cs | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 45 insertions(+), 1 deletions(-) diff --git a/CY_ECommercePlatform/CY.Model/OA/OA_Staff.cs b/CY_ECommercePlatform/CY.Model/OA/OA_Staff.cs index 10b8853..78a62d6 100644 --- a/CY_ECommercePlatform/CY.Model/OA/OA_Staff.cs +++ b/CY_ECommercePlatform/CY.Model/OA/OA_Staff.cs @@ -74,7 +74,7 @@ private string _managecity; private string _managecountry; private string _managecountry1; - + public string RoleName { get; set; } /// <summary> /// 鍛樺伐缂栧彿 /// </summary> @@ -327,6 +327,35 @@ /// BF_IsDeliverManage /// </summary> public bool BF_IsDeliverManage + { + get; + + set; + } + /// <summary> + /// BF_IsBaoxiaozhuguan + /// </summary> + public bool BF_IsBaoxiaozhuguan + { + get; + + set; + } + + /// <summary> + /// BF_Isbaoxiaojingli + /// </summary> + public bool BF_Isbaoxiaojingli + { + get; + + set; + } + + /// <summary> + /// BF_IsGongwen + /// </summary> + public bool? BF_IsGongwen { get; @@ -1307,6 +1336,21 @@ this.BF_IsDeliverManage = isChange ? MyConvert.ConvertToBoolean(value) : BF_IsDeliverManage; theValue = this.BF_IsDeliverManage; } + else if ("BF_IsBaoxiaozhuguan".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 67) + { + this.BF_IsBaoxiaozhuguan = isChange ? MyConvert.ConvertToBoolean(value) : BF_IsBaoxiaozhuguan; + theValue = this.BF_IsBaoxiaozhuguan; + } + else if ("BF_Isbaoxiaojingli".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 68) + { + this.BF_Isbaoxiaojingli = isChange ? MyConvert.ConvertToBoolean(value) : BF_Isbaoxiaojingli; + theValue = this.BF_Isbaoxiaojingli; + } + else if ("BF_IsGongwen".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 69) + { + this.BF_IsGongwen = isChange ? MyConvert.ConvertToBoolean(value) : BF_IsGongwen; + theValue = this.BF_IsGongwen; + } return theValue; } -- Gitblit v1.9.1