1
wtt
2024-11-18 4505e2e8a643d48c58ccf0ecda54c0e09b2ccf32
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";