From 058ccce4c336af1e7c32d0e6f164ed28ed0ac54c Mon Sep 17 00:00:00 2001
From: zzr99 <1940172413@qq.com>
Date: 星期五, 27 八月 2021 14:45:11 +0800
Subject: [PATCH] 客户列表、供应商列表

---
 WebAPI/Controllers/ReportPlatFormController.cs |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/WebAPI/Controllers/ReportPlatFormController.cs b/WebAPI/Controllers/ReportPlatFormController.cs
index 5817b98..072aca9 100644
--- a/WebAPI/Controllers/ReportPlatFormController.cs
+++ b/WebAPI/Controllers/ReportPlatFormController.cs
@@ -70,17 +70,17 @@
 
             try
             {
-                ds = oCN.RunProcReturn("select * from Gy_SourceRelationSet where HSourceID='" + HSourceID + "'", "Gy_SourceRelationSet");
-                if (ds.Tables[0].Rows.Count > 0)
-                {
+                //ds = oCN.RunProcReturn("select * from Gy_SourceRelationSet where HSourceID='" + HSourceID + "'", "Gy_SourceRelationSet");
+                //if (ds.Tables[0].Rows.Count > 0)
+                //{
 
-                    objJsonResult.code = "0";
-                    objJsonResult.count = 0;
-                    objJsonResult.Message = "鐢熶骇璧勬簮宸插瓨鍦紒";
-                    objJsonResult.data = null;
-                    return objJsonResult;
-                }
-                oCN.BeginTran();
+                //    objJsonResult.code = "0";
+                //    objJsonResult.count = 0;
+                //    objJsonResult.Message = "鐢熶骇璧勬簮宸插瓨鍦紒";
+                //    objJsonResult.data = null;
+                //    return objJsonResult;
+                //}
+                //oCN.BeginTran();
                 //鍐欏叆浜х嚎缁戝畾
                 string sql = string.Format(@"insert into Gy_SourceRelationSet (HSourceID,HUserName,HGroupID,HManagerID,HRemark,HCreateDate,HCreator,HNowFlag,HCheckManID) 
                                            values('" + HSourceID + "','" + HUserName + "','" + HGroupID + "','" + HManagerID + "','" + HRemark + "','" + DateTime.Parse(HCreateDate).ToShortDateString() + "','" + HUserName + "','0','')");

--
Gitblit v1.9.1