chenhaozhe
3 天以前 da84e4e72c9d9cc7e2bd40dc4bb7b3222ca3519a
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;