9f4bad27 by chentao

no message

1 parent e4a90c2b
......@@ -172,26 +172,17 @@ public class CourseServiceImpl implements ICourseService {
}
}
if(StrUtil.isNotBlank(vo.getCaseOssId())){
SysOssVo oss = iSysOssService.getById(Long.valueOf(vo.getCaseOssId()));
if(Objects.nonNull(oss)) {
vo.setCaseOssUrl(oss.getUrl());
vo.setCaseOssUrl(ossUrlService.selectUrlByIds(vo.getCaseOssId()));
vo.setCaseFileVoList(ossUrlService.selectFileVoByIds(vo.getCaseOssId()));
}
}
if(StrUtil.isNotBlank(vo.getTeachingOssId())){
SysOssVo oss = iSysOssService.getById(Long.valueOf(vo.getTeachingOssId()));
if(Objects.nonNull(oss)) {
vo.setTeachingOssUrl(oss.getUrl());
vo.setTeachingOssUrl(ossUrlService.selectUrlByIds(vo.getTeachingOssId()));
vo.setTeachingFileVoList(ossUrlService.selectFileVoByIds(vo.getTeachingOssId()));
}
}
if(StrUtil.isNotBlank(vo.getPptOssId())){
SysOssVo oss = iSysOssService.getById(Long.valueOf(vo.getPptOssId()));
if(Objects.nonNull(oss)) {
vo.setPptOssUrl(oss.getUrl());
vo.setPptOssUrl(ossUrlService.selectUrlByIds(vo.getPptOssId()));
vo.setPptFileVoList(ossUrlService.selectFileVoByIds(vo.getPptOssId()));
}
}
if(StrUtil.isNotBlank(vo.getOssId())){
SysOssVo oss = iSysOssService.getById(Long.valueOf(vo.getOssId()));
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!