|
@@ -31,6 +31,7 @@ public class ReviewTask implements ITask {
|
|
|
return;
|
|
|
}
|
|
|
for (Record record : records) {
|
|
|
+ try {
|
|
|
if (record.getStr("IMPRESSION") == null && record.getStr("DESCRPTION") == null
|
|
|
&& record.getStr("REVIEWDOCTOR") == null) {
|
|
|
continue;
|
|
@@ -89,6 +90,10 @@ public class ReviewTask implements ITask {
|
|
|
// tService.execute(() -> {
|
|
|
dService.saveReport(params);
|
|
|
// });
|
|
|
+ } catch (Exception e) {
|
|
|
+ // TODO: handle exception
|
|
|
+ continue;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|