|
|
@@ -397,11 +397,11 @@ public class ExecutionTaskServiceImpl implements ExecutionTaskService {
|
|
|
if (Objects.isNull(record)) {
|
|
|
continue;
|
|
|
}
|
|
|
- // String videoId = record.getString("videoid");
|
|
|
- // int count = sdExecutionTaskContentMapper.countByContentId(ContentTypeEnum.VIDEO.getValue(), videoId);
|
|
|
- // if (count > 0) {
|
|
|
- // continue;
|
|
|
- // }
|
|
|
+ String videoId = record.getString("videoid");
|
|
|
+ int count = sdExecutionTaskContentMapper.countByContentId(ContentTypeEnum.VIDEO.getValue(), videoId);
|
|
|
+ if (count > 0) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
findRecords.add(record);
|
|
|
}
|
|
|
if (findRecords.isEmpty()) {
|