From 0dcb91179f6370e1a5358598f15b48b586c3426c Mon Sep 17 00:00:00 2001
From: llj <132905093+newwwwwwtree@users.noreply.github.com>
Date: 星期二, 20 一月 2026 13:34:04 +0800
Subject: [PATCH] 1
---
WebAPI/Controllers/物流管理/运单费用结算单/Pay_WayBillPaymentBillController.cs | 33 ++++++++++++++++++++++++++++++++-
1 files changed, 32 insertions(+), 1 deletions(-)
diff --git "a/WebAPI/Controllers/\347\211\251\346\265\201\347\256\241\347\220\206/\350\277\220\345\215\225\350\264\271\347\224\250\347\273\223\347\256\227\345\215\225/Pay_WayBillPaymentBillController.cs" "b/WebAPI/Controllers/\347\211\251\346\265\201\347\256\241\347\220\206/\350\277\220\345\215\225\350\264\271\347\224\250\347\273\223\347\256\227\345\215\225/Pay_WayBillPaymentBillController.cs"
index 659d0ed..6031ceb 100644
--- "a/WebAPI/Controllers/\347\211\251\346\265\201\347\256\241\347\220\206/\350\277\220\345\215\225\350\264\271\347\224\250\347\273\223\347\256\227\345\215\225/Pay_WayBillPaymentBillController.cs"
+++ "b/WebAPI/Controllers/\347\211\251\346\265\201\347\256\241\347\220\206/\350\277\220\345\215\225\350\264\271\347\224\250\347\273\223\347\256\227\345\215\225/Pay_WayBillPaymentBillController.cs"
@@ -97,7 +97,12 @@
string msg3 = sArray[1].ToString(); //瀛愯〃
string refSav = sArray[2].ToString();//鎿嶄綔鏂瑰紡鏁版嵁绫诲瀷 1娣诲姞 3淇敼 2 澶嶅埗
string msg4 = sArray[3].ToString();//鐢ㄦ埛鍚�
+ string msg5 = sArray[4].ToString();
+ if (msg5 != null || msg5 != "")
+ {
+ msg5 = msg5.Substring(1);
+ }
DBUtility.ClsPub.CurUserName = msg4;
string UserName = "";
@@ -227,6 +232,10 @@
{
bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo);
+ if (msg5 != "")
+ {
+ oCN.RunProc("update WL_YayBillMain set HDate_Accounting=getdate() , HSurer_Accounting='" + msg4 +"'" +" where HInterID in (" + msg5 + ")");
+ }
}
else if (refSav == "Update")
{
@@ -948,6 +957,28 @@
}
#endregion
-
+ #region 鑾峰彇杩愬崟婧愬崟鏁版嵁
+ [Route("Pay_WayBillPaymentBillController/getOrginBill")]
+ [HttpGet]
+ public object getOrginBill(int HInterID,int HEntryID)
+ {
+ string sql1 = "select * from h_v_WL_YayBillEdit where HInterID= "+ HInterID+ " and HEntryID="+ HEntryID;
+ //string sql = sql1 + sWhere + " order by 鍗曟嵁鍙� desc";
+ ds = oCN.RunProcReturn(sql1, "锘縣_v_WL_YayBill");
+ if(ds!=null||ds.Tables.Count>0)
+ {
+ objJsonResult.code = "1";
+ objJsonResult.count = 1;
+ objJsonResult.Message = "Sucess锛�";
+ objJsonResult.data = ds.Tables[0];
+ return objJsonResult;
+ }
+ objJsonResult.code = "0";
+ objJsonResult.count = 0;
+ objJsonResult.Message = "娌℃湁杩斿洖浠讳綍璁板綍锛�";
+ objJsonResult.data = null;
+ return objJsonResult;
+ }
+ #endregion
}
}
\ No newline at end of file
--
Gitblit v1.9.1