From b8c2edb43cf778ca0203a3a592815aeeb6bcdcde Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期一, 10 七月 2023 21:42:39 +0800
Subject: [PATCH] 1
---
WebAPI/Controllers/项目管理/工作任务/PM_WorkTaskBillController.cs | 21 +++++++++++++++------
1 files changed, 15 insertions(+), 6 deletions(-)
diff --git "a/WebAPI/Controllers/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillController.cs" "b/WebAPI/Controllers/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillController.cs"
index 50aa42d..8f2fc27 100644
--- "a/WebAPI/Controllers/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillController.cs"
+++ "b/WebAPI/Controllers/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillController.cs"
@@ -243,8 +243,8 @@
"',HCopyEmp = '" + HCopyEmp +
"',HRemark = '" + HRemark +
"',HOrgID = " + HOrgID +
- ",HMaker = '" + HMaker +
- "',HMakeDate = '" + HMakerDate +
+ ",HUpdater = '" + HUpdater +
+ "',HUpdateDate = '" + HUpdaterDate +
"' where HInterID = " + HInterID;
oCN.RunProc(sql);
@@ -493,6 +493,8 @@
public string HDeleteManDate;
public string HBackerDate;
public string HBackRemark;
+ public int HReportEmpID;
+ public string HReportEmpName;
}
#endregion
#region 浠诲姟姹囨姤 瀛愯〃鏁版嵁
@@ -598,7 +600,12 @@
int HOrgID = mainList[0].HOrgID;
string HMaker = mainList[0].HMaker;
string HMakerDate = mainList[0].HMakerDate;
-
+ int HReportEmpID = mainList[0].HReportEmpID;
+ string HReportEmpName = mainList[0].HReportEmpName;
+ string HUpdater = mainList[0].HUpdater;
+ string HUpdaterDate = mainList[0].HUpdaterDate;
+
+
if (OperationType == 2)
{
@@ -618,7 +625,7 @@
if ((OperationType == 1 || OperationType == 2) && ds.Tables[0].Rows.Count == 0)//鏂板
{
string sql = "insert into PM_WorkTaskReportBillMain" +
- "(HYear,HPeriod,HBillType,HBillSubType,HInterID,HDate,HBillNo,HBillStatus,HRemark,HMaker,HMakeDate,HOrgID) " +
+ "(HYear,HPeriod,HBillType,HBillSubType,HInterID,HDate,HBillNo,HBillStatus,HRemark,HMaker,HMakeDate,HOrgID,HReportEmpID) " +
"values(" +
"" + HYear +
"," + HPeriod +
@@ -632,6 +639,7 @@
"','" + HMaker +
"','" + HMakerDate +
"'," + HOrgID +
+ "," + HReportEmpID +
")";
//涓昏〃
@@ -650,9 +658,10 @@
"',HBillNo = '" + HBillNo +
"',HBillStatus = " + HBillStatus +
",HRemark = '" + HRemark +
- "',HMaker = '" + HMaker +
- "',HMakeDate = '" + HMakerDate +
+ "',HUpdater = '" + HUpdater +
+ "',HUpdateDate = '" + HUpdaterDate +
"',HOrgID = " + HOrgID +
+ ",HReportEmpID = " + HReportEmpID +
" where HInterID = " + HInterID;
oCN.RunProc(sql);
--
Gitblit v1.9.1