From db32c8221ae179f6b20cc62467200c0681d10f61 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 17 一月 2025 12:20:01 +0800
Subject: [PATCH] 修改合同上传

---
 CY_ECommercePlatform/CY.WebForm/Helper/upLoadContractFile.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Helper/upLoadContractFile.cs b/CY_ECommercePlatform/CY.WebForm/Helper/upLoadContractFile.cs
index d9701e3..3c06ab6 100644
--- a/CY_ECommercePlatform/CY.WebForm/Helper/upLoadContractFile.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Helper/upLoadContractFile.cs
@@ -38,7 +38,7 @@
                 if (CountractFileKeiId != null)
                 {
                     //淇敼鏂囦欢
-                    sqlStr = string.Format(@"SELECT  [Keyid]     ,[FileName]    ,[PageCode]    ,[FilePath]    ,[Remark] FROM [ECTEST].[dbo].[OA_CorporateClientContract] where Keyid='{0}'", CountractFileKeiId.ToString());
+                    sqlStr = string.Format(@"SELECT  [Keyid]     ,[FileName]    ,[PageCode]    ,[FilePath]    ,[Remark] FROM  [dbo].[OA_CorporateClientContract] where Keyid='{0}'", CountractFileKeiId.ToString());
                     //寮�濮嬩慨鏀规枃浠�
                     SqlCommand myCmd = new SqlCommand(sqlStr, DC.Connection);
 
@@ -84,7 +84,7 @@
                         throw e;
                     }
                     //鍐欏叆鏁版嵁搴�
-                    sqlStr = string.Format(@"USE [ECTEST]  INSERT INTO [dbo].[OA_CorporateClientContract]           ([Keyid]           ,[CorporateClientsid]           ,[CorporateClientsName]           ,[FileName]           ,[PageCode]           ,[FilePath]           ,[Remark]           ,[Creater]           ,[CreateTime]           )     VALUES('{0}'    ,'{1}'       ,'{2}'           ,'{3}'           ,'{4}'           ,'{5}'           ,'{6}'           ,'{7}'           ,'{8}')",Guid.NewGuid().ToString(), Contract.CorporateClientsid.ToString(),"", Contract.FileName, Contract.PageCode, FilePath, Contract.Remark, Contract.Creater,DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
+                    sqlStr = string.Format(@"  INSERT INTO [dbo].[OA_CorporateClientContract]           ([Keyid]           ,[CorporateClientsid]           ,[CorporateClientsName]           ,[FileName]           ,[PageCode]           ,[FilePath]           ,[Remark]           ,[Creater]           ,[CreateTime]           )     VALUES('{0}'    ,'{1}'       ,'{2}'           ,'{3}'           ,'{4}'           ,'{5}'           ,'{6}'           ,'{7}'           ,'{8}')",Guid.NewGuid().ToString(), Contract.CorporateClientsid.ToString(),"", Contract.FileName, Contract.PageCode, FilePath, Contract.Remark, Contract.Creater,DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
                     try
                     {
                         SqlCommand myCmd = new SqlCommand(sqlStr, DC.Connection);

--
Gitblit v1.9.1