|
|
|
@ -19,6 +19,7 @@ import java.util.Arrays;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.concurrent.Executor;
|
|
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 检查素材的buffer是否有过期或者重试超过20次的
|
|
|
|
@ -82,7 +83,7 @@ public class CheckAuditStatusTimeoutTaskService extends TaskBaseService {
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
List<Integer> failMaterialIds = Arrays.asList(timeOutBuffers.stream().map(MaterialAuditStatusBuffer::getMaterialId).toArray(Integer[]::new));
|
|
|
|
|
List<String> failMaterialIds = timeOutBuffers.stream().map(MaterialAuditStatusBuffer::getMaterialId).collect(Collectors.toList());
|
|
|
|
|
try {
|
|
|
|
|
MaterialBizAuditStatusLog materialBizAuditStatusLog = new MaterialBizAuditStatusLog();
|
|
|
|
|
materialBizAuditStatusLog.setStatus(StatusConst.fail);
|
|
|
|
|