Commit 31534956 authored by yanzg's avatar yanzg

身份证识别

parent 04a6330d
...@@ -20,6 +20,7 @@ public class QueueServiceImpl implements QueueService, Runnable { ...@@ -20,6 +20,7 @@ public class QueueServiceImpl implements QueueService, Runnable {
private final BeanDao beanDao; private final BeanDao beanDao;
private final Queue<QueueVo> queue = new ConcurrentLinkedQueue<>(); private final Queue<QueueVo> queue = new ConcurrentLinkedQueue<>();
private boolean isAsyncRun = false; private boolean isAsyncRun = false;
public static boolean DEFAULT_IS_ASYNC = false;
public QueueServiceImpl(BeanDao beanDao) { public QueueServiceImpl(BeanDao beanDao) {
this.beanDao = beanDao; this.beanDao = beanDao;
...@@ -33,7 +34,7 @@ public class QueueServiceImpl implements QueueService, Runnable { ...@@ -33,7 +34,7 @@ public class QueueServiceImpl implements QueueService, Runnable {
*/ */
@Override @Override
public void create(QueueVo req) { public void create(QueueVo req) {
initBean(req, true); initBean(req, DEFAULT_IS_ASYNC);
} }
@Override @Override
......
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