From 6c66fff0a02b6860e63a1eb9791100130584084c Mon Sep 17 00:00:00 2001
From: 王 垚 <1402714037@qq.com>
Date: 星期四, 23 十二月 2021 15:39:02 +0800
Subject: [PATCH] 代码上传

---
 WebAPI/Controllers/工资管理/Gy_ClassTimePrjSubController.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/WebAPI/Controllers/BaseSet/Gy_ClassTimePrjSubController.cs "b/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/Gy_ClassTimePrjSubController.cs"
similarity index 97%
rename from WebAPI/Controllers/BaseSet/Gy_ClassTimePrjSubController.cs
rename to "WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/Gy_ClassTimePrjSubController.cs"
index 3e0aa8b..428bbbb 100644
--- a/WebAPI/Controllers/BaseSet/Gy_ClassTimePrjSubController.cs
+++ "b/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/Gy_ClassTimePrjSubController.cs"
@@ -139,7 +139,7 @@
                 string HSumWorkTimes = list[0].HSumWorkTimes;
                 string HRate = list[0].HRate;
                 decimal HSumMoney = list[0].HSumMoney;
-                DateTime HYear = list[0].HYear;
+                string HYear = list[0].HYear;
                 decimal HPeriod = list[0].HSumMoney;
                 decimal HOldRate = list[0].HOldRate;
                 //淇濆瓨
@@ -155,7 +155,7 @@
                     "," + HRate + "," + HSumMoney.ToString() + "," + HYear.ToString() + "," + HPeriod.ToString() +
                     "," + HOldRate.ToString() + ")", ref DBUtility.ClsPub.sExeReturnInfo);
                     //淇敼涓婄骇涓洪潪鏈骇浠g爜
-                    oCN.RunProc("Update Gy_ClassTimePrjSub set HStopflag=0 where HItemID=" + hparentid, ref DBUtility.ClsPub.sExeReturnInfo);
+                    oCN.RunProc("Update Gy_ClassTimePrjSub set HStopflag=0 where HInterID=" + hparentid, ref DBUtility.ClsPub.sExeReturnInfo);
                     oCN.Commit();
                 }
                 else { 
@@ -176,7 +176,7 @@
                     //淇敼瀛愰」鐩唬鐮�
                     //oCN.RunProc("exec h_p_Gy_UpdateNumber Gy_Warehouse,'" + HNumber + ".','" + this.HOldNumber + ".'", ref DBUtility.ClsPub.sExeReturnInfo);
                     //灏嗕笂绾� 涓洪潪鏈骇
-                    oCN.RunProc("Update Gy_ClassTimePrjSub set HStopflag=0 where HItemID=" + hparentid, ref DBUtility.ClsPub.sExeReturnInfo);
+                    oCN.RunProc("Update Gy_ClassTimePrjSub set HStopflag=0 where HInterID=" + hparentid, ref DBUtility.ClsPub.sExeReturnInfo);
                     //
                     oCN.Commit();
                 }

--
Gitblit v1.9.1