From ab973f62261817e581f48e63074d62d8f0e50c24 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期四, 22 八月 2024 09:30:23 +0800
Subject: [PATCH] 1

---
 WebAPI/Controllers/工资管理/HR_EmployeeSkillExamBillController.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git "a/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/HR_EmployeeSkillExamBillController.cs" "b/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/HR_EmployeeSkillExamBillController.cs"
index 93d5537..0b64bdb 100644
--- "a/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/HR_EmployeeSkillExamBillController.cs"
+++ "b/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/HR_EmployeeSkillExamBillController.cs"
@@ -230,8 +230,8 @@
                     oItem.HBillType = "2332";
                     oItem.HBillSubType = "2332";
 
-                    oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year);
-                    oItem.HPeriod = DBUtility.ClsPub.isLong(DateTime.Now.Month);
+                    oItem.HYear = DBUtility.ClsPub.isLong(oItem.HDate.Year);
+                    oItem.HPeriod = DBUtility.ClsPub.isLong(oItem.HDate.Month);
                     oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd"));
 
                     if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "")

--
Gitblit v1.9.1