From fbced5e564600a9977a00de1b6c100e0b647868a Mon Sep 17 00:00:00 2001 From: liuwf Date: Fri, 2 Aug 2024 17:15:19 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SlnMesnac.Business/LogoBusiness.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SlnMesnac.Business/LogoBusiness.cs b/SlnMesnac.Business/LogoBusiness.cs index b77cbea..1b6de30 100644 --- a/SlnMesnac.Business/LogoBusiness.cs +++ b/SlnMesnac.Business/LogoBusiness.cs @@ -238,7 +238,7 @@ namespace SlnMesnac.Business byte[] compressedImageData = null; //从队列取出条码 - if (consumeQueue.Count < 0) return; + if (consumeQueue.Count <= 0) return; bool hikFlag = false; BarCodeModel barCodeModel = consumeQueue.Dequeue();