From dc2a2d957cceba96de5e46514e08ea52c9d51374 Mon Sep 17 00:00:00 2001 From: 仲国强 <519541279@qq.com> Date: 星期一, 30 八月 2021 17:20:10 +0800 Subject: [PATCH] 1 --- WebAPI/Controllers/ReportPlatFormController.cs | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/WebAPI/Controllers/ReportPlatFormController.cs b/WebAPI/Controllers/ReportPlatFormController.cs index 5817b98..bfc89cd 100644 --- a/WebAPI/Controllers/ReportPlatFormController.cs +++ b/WebAPI/Controllers/ReportPlatFormController.cs @@ -70,16 +70,16 @@ 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; - } + // 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) -- Gitblit v1.9.1