From c67d2c1635a42e03a134110206f9ca9e2213f082 Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期三, 21 二月 2024 17:24:31 +0800
Subject: [PATCH] 项目需求及问题清单 增修删查,审核反审核,关闭反关闭,需求 被下推 为 工作任务 时, 这个工作任务 点击 开始时,更新 这个 需求清单的 状态为 已开始,需求 对应的 工作任务 的 任务汇报 完成 ,反写 需求清单的 状态为 完成
---
WebAPI/Controllers/工资管理/Pay_SalaryCalculateController.cs | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git "a/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/Pay_SalaryCalculateController.cs" "b/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/Pay_SalaryCalculateController.cs"
index 1a2a60f..f39f0ed 100644
--- "a/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/Pay_SalaryCalculateController.cs"
+++ "b/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/Pay_SalaryCalculateController.cs"
@@ -113,6 +113,17 @@
return objJsonResult;
}
+ ds = oCN.RunProcReturn("select * from Pay_SingleBalBillMain where HAutoCreate = 1 and CONVERT(varchar(100),HDate, 23) >= '" + HBeginDate + "' and CONVERT(varchar(100),HDate, 23) <= '" + HEndDate + "'", "Pay_SingleBalBillMain");
+ if (ds.Tables[0].Rows.Count > 0)
+ {
+ for(int i = 0; i < ds.Tables[0].Rows.Count; i++)
+ {
+ int HInterID = int.Parse(ds.Tables[0].Rows[i]["HInterID"].ToString());
+ oCN.RunProc("delete from Pay_SingleBalBillMain where HInterID = " + HInterID);
+ oCN.RunProc("delete from Pay_SingleBalBillSub where HInterID = " + HInterID);
+ }
+ }
+
//鑾峰彇宸ュ簭鍑虹珯姹囨姤鍗曟暟鎹�
string sql = "exec h_p_Pay_SalaryCalculate_getData " + HOperatorType + ",'" + HBeginDate + "','" + HEndDate + "'";
ds = oCN.RunProcReturn(sql, "h_p_Pay_SalaryCalculate_getData");
@@ -466,6 +477,18 @@
objJsonResult.data = null;
return objJsonResult;
}
+ ds = oCN.RunProcReturn("select * from Pay_GroupBalBillMain where HAutoCreate = 1 and CONVERT(varchar(100),HDate, 23) >= '" + HBeginDate + "' and CONVERT(varchar(100),HDate, 23) <= '" + HEndDate + "'", "Pay_GroupBalBillMain");
+ if (ds.Tables[0].Rows.Count > 0)
+ {
+ for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
+ {
+ int HInterID = int.Parse(ds.Tables[0].Rows[i]["HInterID"].ToString());
+ oCN.RunProc("delete from Pay_GroupBalBillMain where HInterID = " + HInterID);
+ oCN.RunProc("delete from Pay_GroupBalBillSub where HInterID = " + HInterID);
+ oCN.RunProc("delete from Pay_GroupBalBillEmp where HInterID = " + HInterID);
+ }
+ }
+
//鑾峰彇宸ュ簭鍑虹珯姹囨姤鍗曟暟鎹�
--
Gitblit v1.9.1