You've already forked FrameTour-BE
日志更多信息
This commit is contained in:
@ -434,12 +434,12 @@ public class TaskTaskServiceImpl implements TaskService {
|
|||||||
log.info("task callback");
|
log.info("task callback");
|
||||||
boolean canGenerate = templateBiz.determineTemplateCanGenerate(templateId, faceId);
|
boolean canGenerate = templateBiz.determineTemplateCanGenerate(templateId, faceId);
|
||||||
if (!canGenerate) {
|
if (!canGenerate) {
|
||||||
log.info("task callback: 不能生成");
|
log.info("task callback: 不能生成,templateId: {}", templateId);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
List<SourceEntity> videoSourceList = sourceMapper.listVideoByScenicFaceRelation(face.getScenicId(), faceId);
|
List<SourceEntity> videoSourceList = sourceMapper.listVideoByScenicFaceRelation(face.getScenicId(), faceId);
|
||||||
if (videoSourceList == null || videoSourceList.isEmpty()) {
|
if (videoSourceList == null || videoSourceList.isEmpty()) {
|
||||||
log.info("task callback: 没有视频源");
|
log.info("task callback: 没有视频源,templateId: {}", templateId);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Map<String, List<SourceEntity>> sourcesMap = videoSourceList.stream()
|
Map<String, List<SourceEntity>> sourcesMap = videoSourceList.stream()
|
||||||
@ -452,7 +452,7 @@ public class TaskTaskServiceImpl implements TaskService {
|
|||||||
.collect(Collectors.groupingBy(item -> item.getDeviceId().toString()));
|
.collect(Collectors.groupingBy(item -> item.getDeviceId().toString()));
|
||||||
if (sourcesMap.isEmpty()) {
|
if (sourcesMap.isEmpty()) {
|
||||||
// 主动禁止没有视频源视频生成
|
// 主动禁止没有视频源视频生成
|
||||||
log.info("task callback: 没有视频源");
|
log.info("task callback: 没有视频源,templateId: {}", templateId);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
sourcesMap.forEach((key, value) -> {
|
sourcesMap.forEach((key, value) -> {
|
||||||
|
Reference in New Issue
Block a user