From b7c371aa16be4c54776ccfa6988cbc8b1513bd13 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期一, 26 八月 2024 09:28:08 +0800
Subject: [PATCH] 采购订单查询接口
---
WebAPI/Controllers/工资管理/Pay_ProcPriceRequestBillController.cs | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git "a/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/Pay_ProcPriceRequestBillController.cs" "b/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/Pay_ProcPriceRequestBillController.cs"
index 7a1d97c..010cf89 100644
--- "a/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/Pay_ProcPriceRequestBillController.cs"
+++ "b/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/Pay_ProcPriceRequestBillController.cs"
@@ -620,7 +620,7 @@
public string HBackerDate;
public string HBackRemark;
public string HChangeType;
- public string HChangeValue;
+ public Double HChangeValue;
}
#endregion
#region 瀛愯〃
@@ -653,6 +653,7 @@
public double HRelationMoney;
public string HCloseMan;
public string HEntryCloseDate;
+ public int HWorkCenterID;
}
#endregion
#region 瀹氶鐢宠鍗� 鏂板/缂栬緫
@@ -759,7 +760,7 @@
string HBackerDate = mainList[0].HBackerDate;
string HBackRemark = mainList[0].HBackRemark;
string HChangeType = mainList[0].HChangeType;
- string HChangeValue = mainList[0].HChangeValue;
+ Double HChangeValue = mainList[0].HChangeValue;
//淇濆瓨鍓嶆帶鍒�
DataSet BeforeDs = oCn.RunProcReturn("Exec h_p_Pay_ProcPriceRequestBill_BeforeSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_Pay_ProcPriceRequestBill_BeforeSaveCtrl");
if (BeforeDs == null || BeforeDs.Tables[0].Rows.Count == 0)
@@ -815,6 +816,7 @@
}
else if (OperationType == 3 || ds.Tables[0].Rows.Count != 0) //缂栬緫
{
+
string sql = "update Pay_ProcPriceRequestBillMain set " +
"HYear = " + HYear +
", HPeriod = " + HPeriod +
@@ -919,12 +921,12 @@
string HSourceBillType = oSub.HSourceBillType;
double HRelationQty = oSub.HRelationQty;
double HRelationMoney = oSub.HRelationMoney;
-
+ int HWorkCenterID = oSub.HWorkCenterID;
string sql = "insert into Pay_ProcPriceRequestBillSub" +
"(HInterID,HEntryID,HMaterID,HProcID,HSourceID,HOldPrice,HPrice,HOldFixPrice,HFixPrice,HBeginDate,HEndDate,HCostFlag,HRemark,HSourceInterID,HSourceEntryID,HSourceBillNo" +
- ",HSourceBillType,HRelationQty,HRelationMoney) " +
+ ",HSourceBillType,HRelationQty,HRelationMoney,HWorkCenterID) " +
"values(" +
"" + HInterID +
"," + HEntryID +
@@ -945,6 +947,7 @@
"','" + HSourceBillType +
"'," + HRelationQty +
"," + HRelationMoney +
+ "," + HWorkCenterID +
")";
oCn.RunProc(sql);
--
Gitblit v1.9.1