a12e7428 by chentao

no message

1 parent 06eacec1
......@@ -117,6 +117,7 @@ public class BuildingBlockServiceImpl implements IBuildingBlockService {
for(EntiretyVo entiretyVo:entiretyVoList){
if(StrUtil.isNotBlank(entiretyVo.getOssId())){
entiretyVo.setOssUrl(ossUrlService.selectUrlByIds(entiretyVo.getOssId()));
entiretyVo.setBuildingBlockName(vo.getName());
}
}
vo.setEntiretyList(entiretyVoList);
......
......@@ -95,12 +95,7 @@ public class EntiretyServiceImpl implements IEntiretyService {
@Override
public List<EntiretyVo> list() {
List<EntiretyVo> list = baseMapper.selectVoList(null);
for(EntiretyVo vo:list){
if(StrUtil.isNotBlank(vo.getOssId())){
SysOssVo oss = iSysOssService.getById(Long.valueOf(vo.getOssId()));
vo.setOssUrl(oss.getUrl());
}
}
setInfo(list);
return list;
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!