From 451ec557d579f8f9e1b0c84754709cc8b3d2090e Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期三, 07 五月 2025 08:37:46 +0800 Subject: [PATCH] 人事管理里边增加 一个权限 --- CY_ECommercePlatform/CY.Model/OA/OA_Staff.cs | 62 ++++++++++++++++++++++++++++++ 1 files changed, 61 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..73e87c6 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,45 @@ /// 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; + + set; + } + + /// <summary> + /// BF_IsChangyongziliao + /// </summary> + public bool? BF_IsChangyongziliao { get; @@ -1307,6 +1346,27 @@ 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; + } + else if ("BF_IsChangyongziliao".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 70) + { + this.BF_IsChangyongziliao = isChange ? MyConvert.ConvertToBoolean(value) : BF_IsChangyongziliao; + theValue = this.BF_IsChangyongziliao; + } + return theValue; } -- Gitblit v1.9.1