智云SRM-WEBAPI(目前客户通用API)
1
王 垚
2022-12-16 635fecfbf6a47c548add6fc607bf3e7c477e434a
1
1个文件已修改
2 ■■■ 已修改文件
WebAPI/Controllers/BarCodeController.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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)
                    {