|
|
|
@ -424,6 +424,11 @@ public class OcrIdentifyServiceImpl extends ServiceImpl<OcrIdentifyMapper, OcrId
|
|
|
|
|
String taskType = jsonObject.getString("taskType");
|
|
|
|
|
int taskLevel = jsonObject.getInteger("taskLevel");
|
|
|
|
|
String parameter = jsonObject.getString("parameter");
|
|
|
|
|
try {
|
|
|
|
|
Thread.sleep(new Random().nextInt(10)*1000);
|
|
|
|
|
} catch (InterruptedException e) {
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
}
|
|
|
|
|
String task_ = (String) redisUtil.get("task_" + taskLevel);
|
|
|
|
|
log.info("历史任务:"+task_);
|
|
|
|
|
if (task_ == null || task_.equals("[]")) {
|
|
|
|
|