From a220689a643d52604fd1fb391618fa2d79a5db74 Mon Sep 17 00:00:00 2001 From: duhe <226547893@qq.com> Date: 星期一, 16 六月 2025 16:15:59 +0800 Subject: [PATCH] 2.增加PNL二维码烧蚀位置提取上传接口(递入PNL条码编号、x坐标、y坐标,更新PNL条码编号对应PNL布局信息中的PNL二维码位置x坐标、y坐标) 3.PNL二维码烧蚀位置加载接口(递入PNL条码编号,获取PNL条码编号对应PNL布局信息中的PNL二维码位置x坐标、y坐标) 4.增加Set二维码烧蚀位置提取上传接口(递入set条码编号、x坐标、y坐标,更新set条码编号对应PNL布局信息中的set二维码位置x坐标、y坐标) 5.Set二维码烧蚀位置加载接口(递入set条码编号,获取set条码编号对应PNL布局信息中的PNL二维码位置x坐标、y坐标) --- WebAPI/Controllers/SellOutBackController.cs | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/WebAPI/Controllers/SellOutBackController.cs b/WebAPI/Controllers/SellOutBackController.cs index c8a743f..4f0babc 100644 --- a/WebAPI/Controllers/SellOutBackController.cs +++ b/WebAPI/Controllers/SellOutBackController.cs @@ -246,6 +246,8 @@ { try { + if (String.IsNullOrEmpty(sWhere)) + sWhere = "and 1 = 1 "; ds = webserver.GetKf_PonderationBillMain_Temp(HBillID, HBillType, sWhere); if (ds == null || ds.Tables[0].Rows.Count <= 0) { @@ -399,12 +401,13 @@ websLsmain.HEmpID = lsmain[0].HEmpID; websLsmain.HRemark = lsmain[0].HRemark; websLsmain.HMaker = lsmain[0].HMaker; - + websLsmain.HBillType = "1247";//鍥哄畾鍊� if (webserver.set_SaveSellOutBackBill_New(websLsmain, sSourceBillType, ref DBUtility.ClsPub.sErrInfo)) { objJsonResult.code = "0"; objJsonResult.count = 1; - objJsonResult.Message = "鐢熸垚閫�鏂欏崟鎴愬姛锛佸崟鎹彿涓猴細"; + objJsonResult.Message = DBUtility.ClsPub.sErrInfo; //鎴愬姛锛� + //objJsonResult.Message = "鐢熸垚閫�鏂欏崟鎴愬姛锛佸崟鎹彿涓猴細"; objJsonResult.data = null; return objJsonResult; } @@ -412,7 +415,8 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "涓婁紶澶辫触锛�" + DBUtility.ClsPub.sErrInfo; + objJsonResult.Message = DBUtility.ClsPub.sErrInfo; //澶辫触锛� + //objJsonResult.Message = "涓婁紶澶辫触锛�" + DBUtility.ClsPub.sErrInfo; objJsonResult.data = null; return objJsonResult; } -- Gitblit v1.9.1