Commit 9cbfd1fb authored by yanzg's avatar yanzg

不记录系统日志

parent d91b8876
...@@ -123,7 +123,7 @@ public class YzgMqProcedure implements InitializingBean { ...@@ -123,7 +123,7 @@ public class YzgMqProcedure implements InitializingBean {
// 上次单位 // 上次单位
prevUnit = timeUnit; prevUnit = timeUnit;
} }
if (prevUnit == null) { if (prevUnit.unit > waitTime || prevUnit == null) {
prevUnit = YZG_MQ_SYSTEM_QUEUE_PLAN_MIN; prevUnit = YZG_MQ_SYSTEM_QUEUE_PLAN_MIN;
} else if (prevUnit.unit < min) { } else if (prevUnit.unit < min) {
throw new CodeException("算法错误"); throw new CodeException("算法错误");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment