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();