|
|
@ -425,7 +425,11 @@ public class OcrIdentifyServiceImpl extends ServiceImpl<OcrIdentifyMapper, OcrId
|
|
|
|
int taskLevel = jsonObject.getInteger("taskLevel");
|
|
|
|
int taskLevel = jsonObject.getInteger("taskLevel");
|
|
|
|
String parameter = jsonObject.getString("parameter");
|
|
|
|
String parameter = jsonObject.getString("parameter");
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
Thread.sleep(new Random().nextInt(10)*1000);
|
|
|
|
int i = new Random().nextInt(10);
|
|
|
|
|
|
|
|
while (i==0){
|
|
|
|
|
|
|
|
i = new Random().nextInt(10);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
Thread.sleep(i*1000);
|
|
|
|
} catch (InterruptedException e) {
|
|
|
|
} catch (InterruptedException e) {
|
|
|
|
e.printStackTrace();
|
|
|
|
e.printStackTrace();
|
|
|
|
}
|
|
|
|
}
|
|
|
|