jhz
2022-08-09 9d93f219367a57659c6641319922dee224e68d39
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;