From 0dd76c2492f1afbe335b50a8ffb76e4af94271df Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 10 十月 2025 15:16:51 +0800
Subject: [PATCH] 新增设备 人员增加模糊查询 完成 日期默认当天 完成
---
CY_ECommercePlatform/CY.Model/OA/OA_WorkPlan.cs | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 106 insertions(+), 1 deletions(-)
diff --git a/CY_ECommercePlatform/CY.Model/OA/OA_WorkPlan.cs b/CY_ECommercePlatform/CY.Model/OA/OA_WorkPlan.cs
index beb9301..9cffe31 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>
@@ -410,7 +505,7 @@
}
}
/// <summary>
- /// 濂栧姳绫诲瀷/鏃�0,濂栧姳1,鎯╃綒2
+ /// 濂栧姳绫诲瀷/鏃�0,濂栧姳1,缃氭2
/// </summary>
public int? RewardType
{
@@ -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