zzr99
2022-08-03 6698d77a01dc462855488fbe6998fbe3b543ab17
WebAPI/Controllers/²©ÈÕ×Ô¶¯É¨ÂëÏß/ScanlineAPIController.cs
@@ -160,10 +160,9 @@
                {
                    //判断条码是否存在
                    bool IsBarCode = oBill.IsBarCode(list.barcodes[i].barcode);
                    if (IsBarCodePack == false)
                    if (IsBarCode == false)
                    {
                        DataTable dt = oCN.RunProcReturn("Select HBarCode_Pack from Sc_PackUnionBillSub Where  HBarCode='" + list.barcodes[i].barcode + "'", "Sc_PackUnionBillSub").Tables[0];
                       LogService.Write($"条码:{list.barcodes[i].barcode},已存在箱码:{dt.Rows[0]["HBarCode_Pack"]}中,本次绑定箱码为:{list.packagebarcode},绑定失败,不能重复绑定!");
                        objJsonResult.status = -1;
                        objJsonResult.msg = $"条码:{list.barcodes[i].barcode},已存在箱码:{dt.Rows[0]["HBarCode_Pack"]}中,本次绑定箱码为:{list.packagebarcode},绑定失败,不能重复绑定!";
                        objJsonResult.data = null;