From 34efb641c240143fd4723c9288526be832bfb67c Mon Sep 17 00:00:00 2001 From: duhe <226547893@qq.com> Date: 星期四, 11 七月 2024 10:24:46 +0800 Subject: [PATCH] 客户条码扫码:单据号可以修改,但修改的单据号必须是当前缓存列表中的单据号,而且扫过码后就不能再修改了。同一个单据号条码不能重复扫,但相同单据号不同内码的单据的扫码记录没有整合在一起,需要一起导出要到维护页面点击条码列表,这里是相同单据号的条码都有的 --- 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