From 635fecfbf6a47c548add6fc607bf3e7c477e434a Mon Sep 17 00:00:00 2001
From: 王 垚 <1402714037@qq.com>
Date: 星期五, 16 十二月 2022 09:13:31 +0800
Subject: [PATCH] 1
---
WebAPI/Controllers/BarCodeController.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/WebAPI/Controllers/BarCodeController.cs b/WebAPI/Controllers/BarCodeController.cs
index c34b028..1bfa608 100644
--- a/WebAPI/Controllers/BarCodeController.cs
+++ b/WebAPI/Controllers/BarCodeController.cs
@@ -1557,7 +1557,7 @@
if (oItemSub.HQty == 0)
continue;
//妫�楠屾墦鍗版暟閲忥紙HQTY锛夊拰鏈墦鍗版暟閲�
- string sql = $"select HQty -HBarcodeCount as HNotBarcodeCount ,* from Cg_POOrderBillSub where HEntryID = ={oItemSub.HSourceEntryID}";
+ string sql = $"select HQty -HBarcodeCount as HNotBarcodeCount ,* from Cg_POOrderBillSub where HEntryID = {oItemSub.HSourceEntryID}";
DataSet ds = oCn.RunProcReturn(sql,"tables");
if (Convert.ToInt32(ds.Tables[0].Rows[0][0]) < oItemSub.HQty)
{
--
Gitblit v1.9.1