From d34ca25b9754e49b2d1220ff9f0de6af9b734d99 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期三, 23 四月 2025 08:59:57 +0800 Subject: [PATCH] 类型放前面 人放在最后面 客供文件就没有人 --- CY_ECommercePlatform/CY.Model/OA/OA_WorkPlan.cs | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 105 insertions(+), 0 deletions(-) diff --git a/CY_ECommercePlatform/CY.Model/OA/OA_WorkPlan.cs b/CY_ECommercePlatform/CY.Model/OA/OA_WorkPlan.cs index beb9301..43cb98a 100644 --- a/CY_ECommercePlatform/CY.Model/OA/OA_WorkPlan.cs +++ b/CY_ECommercePlatform/CY.Model/OA/OA_WorkPlan.cs @@ -43,6 +43,66 @@ private string _rewardcontent; private string _rewardresult; private decimal? _rewardmoney; + public int? HoubufapiaoStatus { get; set; } + + public string Fujian { get; set; } + public string Fapiao { get; set; } + public string HoubufapiaoStatusName { get + { + if(HoubufapiaoStatus.HasValue) + { + if(HoubufapiaoStatus == 1) + { + return "鏈夊彂绁�"; + } + else if (HoubufapiaoStatus == 2) + { + return "鍚庤ˉ鍙戠エ"; + } + else if (HoubufapiaoStatus == 3) + { + return "鏃犲彂绁�"; + }else + return ""; + } + else + { + return ""; + } + + } + } + + public string EvaluationStatusName + { + get + { + if (EvaluationStatus.HasValue) + { + if (EvaluationStatus == 1) + { + return "宸蹭粯娆�"; + } + else if (EvaluationStatus == 2) + { + return "鏈粯娆�"; + } + + else + return "鏈粯娆�"; + } + else + { + return ""; + } + + } + } + + public int Nengfoushenpi { get; set; } + + public int Nengfoushanchu { get; set; } + public int? WufapiaoStatus { get; set; } /// <summary> /// 缂栧彿 @@ -297,6 +357,41 @@ _approvalstatus = value; } } + + + public string ApprovalStatusName + { + get + { + if (ApprovalStatus.HasValue) + { + if (ApprovalStatus == 0) + { + return "鏈鎵�"; + } + else if (ApprovalStatus == 1) + { + return "鎵瑰噯"; + } + else if (ApprovalStatus == 2) + { + return "涓嶆壒鍑�"; + } + else if (ApprovalStatus == 3) + { + return "鏈彁浜�"; + } + else + return "鏈鎵�"; + } + else + { + return ""; + } + + } + } + /// <summary> /// 瀹℃牳鏃堕棿 /// </summary> @@ -747,6 +842,16 @@ this.AllFine = isChange ? MyConvert.ConvertToDecimal(value) : AllFine; theValue = this.AllFine; } + else if ("HoubufapiaoStatus".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 30) + { + this.HoubufapiaoStatus = isChange ? MyConvert.ConvertToInt32(value) : HoubufapiaoStatus; + theValue = this.HoubufapiaoStatus; + } + else if ("WufapiaoStatus".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 30) + { + this.WufapiaoStatus = isChange ? MyConvert.ConvertToInt32(value) : WufapiaoStatus; + theValue = this.WufapiaoStatus; + } return theValue; } #endregion Visiter -- Gitblit v1.9.1