no message
Showing
2 changed files
with
2 additions
and
6 deletions
| ... | @@ -117,6 +117,7 @@ public class BuildingBlockServiceImpl implements IBuildingBlockService { | ... | @@ -117,6 +117,7 @@ public class BuildingBlockServiceImpl implements IBuildingBlockService { |
| 117 | for(EntiretyVo entiretyVo:entiretyVoList){ | 117 | for(EntiretyVo entiretyVo:entiretyVoList){ |
| 118 | if(StrUtil.isNotBlank(entiretyVo.getOssId())){ | 118 | if(StrUtil.isNotBlank(entiretyVo.getOssId())){ |
| 119 | entiretyVo.setOssUrl(ossUrlService.selectUrlByIds(entiretyVo.getOssId())); | 119 | entiretyVo.setOssUrl(ossUrlService.selectUrlByIds(entiretyVo.getOssId())); |
| 120 | entiretyVo.setBuildingBlockName(vo.getName()); | ||
| 120 | } | 121 | } |
| 121 | } | 122 | } |
| 122 | vo.setEntiretyList(entiretyVoList); | 123 | vo.setEntiretyList(entiretyVoList); | ... | ... |
| ... | @@ -95,12 +95,7 @@ public class EntiretyServiceImpl implements IEntiretyService { | ... | @@ -95,12 +95,7 @@ public class EntiretyServiceImpl implements IEntiretyService { |
| 95 | @Override | 95 | @Override |
| 96 | public List<EntiretyVo> list() { | 96 | public List<EntiretyVo> list() { |
| 97 | List<EntiretyVo> list = baseMapper.selectVoList(null); | 97 | List<EntiretyVo> list = baseMapper.selectVoList(null); |
| 98 | for(EntiretyVo vo:list){ | 98 | setInfo(list); |
| 99 | if(StrUtil.isNotBlank(vo.getOssId())){ | ||
| 100 | SysOssVo oss = iSysOssService.getById(Long.valueOf(vo.getOssId())); | ||
| 101 | vo.setOssUrl(oss.getUrl()); | ||
| 102 | } | ||
| 103 | } | ||
| 104 | return list; | 99 | return list; |
| 105 | } | 100 | } |
| 106 | 101 | ... | ... |
-
Please register or sign in to post a comment