|
@@ -150,7 +150,7 @@ public class WorkOfflineListener implements ChannelAwareMessageListener {
|
|
List<WorkHotsFodderEntity> workHotsFodderEntityList = workHotsFodderService.findAllByWorkId(param.getWorkId());
|
|
List<WorkHotsFodderEntity> workHotsFodderEntityList = workHotsFodderService.findAllByWorkId(param.getWorkId());
|
|
workHotsFodderEntityList.forEach(workHotsFodderEntity -> {
|
|
workHotsFodderEntityList.forEach(workHotsFodderEntity -> {
|
|
FodderEntity fodderEntity = fodderService.getById(workHotsFodderEntity.getFodderId());
|
|
FodderEntity fodderEntity = fodderService.getById(workHotsFodderEntity.getFodderId());
|
|
- if (ObjUtil.isNotEmpty(fodderEntity)&&StrUtil.isNotEmpty(fodderEntity.getOssPath())){
|
|
|
|
|
|
+ if (ObjUtil.isNotEmpty(fodderEntity)&&StrUtil.isNotEmpty(fodderEntity.getOssPath())&&!fodderEntity.getType().equalsIgnoreCase("pano")){
|
|
log.info("下载热点资源:{}", fodderEntity.getOssPath());
|
|
log.info("下载热点资源:{}", fodderEntity.getOssPath());
|
|
String ossKeyHot = fodderEntity.getOssPath().replaceAll(fileStorageTemplate.calculateUrl(""), "");
|
|
String ossKeyHot = fodderEntity.getOssPath().replaceAll(fileStorageTemplate.calculateUrl(""), "");
|
|
String defaultDataPath =basePath+File.separator+ossKeyHot;
|
|
String defaultDataPath =basePath+File.separator+ossKeyHot;
|