From dfcab5f73b1f07e63ca9483d457bcfddccc95bf3 Mon Sep 17 00:00:00 2001 From: yxj <yxj@hz-kingdee.com> Date: 星期四, 10 十月 2024 14:27:44 +0800 Subject: [PATCH] 班组列表返回数据调用方法修改,增加根据用户过滤显示班组;PDA模块所调用的班组返回数据方法新增 --- WebAPI/Controllers/ReportPlatFormController.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WebAPI/Controllers/ReportPlatFormController.cs b/WebAPI/Controllers/ReportPlatFormController.cs index 2a1c600..5a410a8 100644 --- a/WebAPI/Controllers/ReportPlatFormController.cs +++ b/WebAPI/Controllers/ReportPlatFormController.cs @@ -161,13 +161,13 @@ #region 鎶ュ伐骞冲彴鍒犻櫎璧勬簮鍒楄〃 [Route("ReportPlatForm/DeleteGetLineBindBillList")] [HttpGet] - public object DeleteGetLineBindBillList(string HSourceID) + public object DeleteGetLineBindBillList(string HSourceID,string user) { try { oCN.BeginTran(); //鏇存柊鍒囨崲鐘舵�佸�� - string sql = string.Format(@"delete Gy_SourceRelationSet where HSourceID='" + HSourceID + "'"); + string sql = string.Format(@"delete Gy_SourceRelationSet where HSourceID='" + HSourceID + "' and HUserName = '" + user + "'"); oCN.RunProc(sql); oCN.Commit(); objJsonResult.code = "1"; -- Gitblit v1.9.1