|
@@ -115,8 +115,12 @@ public class TrackSequenceServiceImpl extends BaseServiceImpl<TrackSequenceMappe
|
|
|
}
|
|
|
|
|
|
public String getLabelDirPath(Long ossId) {
|
|
|
- SysOssVo ossEntity = ossService.getById(ossId);
|
|
|
- return getResourcePath(ossEntity);
|
|
|
+ try {
|
|
|
+ SysOssVo ossEntity = ossService.getById(ossId);
|
|
|
+ return getResourcePath(ossEntity);
|
|
|
+ } catch (Exception e) {
|
|
|
+ throw new RuntimeException("oss标签文件不存在");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
private String getTxtDirPath(Long id) {
|