From 6a6022541773a5028b554e98525c6baa3f692830 Mon Sep 17 00:00:00 2001 From: qian Date: Wed, 24 Jan 2024 13:50:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E6=A8=A1=E7=B3=8A=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 北京北汽/Controller/SCP_ASK_CONTROLLER.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/北京北汽/Controller/SCP_ASK_CONTROLLER.cs b/北京北汽/Controller/SCP_ASK_CONTROLLER.cs index b5221ed..1698ecd 100644 --- a/北京北汽/Controller/SCP_ASK_CONTROLLER.cs +++ b/北京北汽/Controller/SCP_ASK_CONTROLLER.cs @@ -3605,6 +3605,7 @@ namespace CK.SCP.Controller string Buyer= string.IsNullOrEmpty(p_entity.Buyer) ? "" : p_entity.Buyer; string VendId = string.IsNullOrEmpty(p_entity.VendId) ? "" : p_entity.VendId; + string VendName = string.IsNullOrEmpty(p_entity.VendName) ? "" : p_entity.VendName; string UserInAddress_where = ""; string UserName = p_entity.UserName; if (p_entity.UserInAddress != null) @@ -3613,7 +3614,7 @@ namespace CK.SCP.Controller } - string str = "exec PROC_test " + " @PONum_where = '" + PoBillNum + "' ,@AskBillNum_where = '" + AskBillNum + "' ,@PartCode_where = '" + PartCode + "' ,@Buyer_where = '" + Buyer + "' ,@BeginDate_where = '" + TimeBegin + "' ,@EndDate_where = '" + TimeEnd + "', @VenderID_where = '" + VendId + "'" + ", @UserInAddress_where = " + UserInAddress_where + " ,@UserName = " + UserName; + string str = "exec PROC_test " + " @PONum_where = '" + PoBillNum + "' ,@AskBillNum_where = '" + AskBillNum + "' ,@PartCode_where = '" + PartCode + "' ,@Buyer_where = '" + Buyer + "' ,@BeginDate_where = '" + TimeBegin + "' ,@EndDate_where = '" + TimeEnd + "', @VenderID_where = '" + VendId + "'" + ", @UserInAddress_where = '" + UserInAddress_where + "' ,@UserName = '" + UserName + "',@VendName_where = '"+VendName+"'"; list = db.Database.SqlQuery(str).ToList(); } }