Commit d5c41e9fc023d4610a763fbfd055123d79f1ed8d
1 parent
e065ccb0
目击者页面显示
Showing
1 changed file
with
5 additions
and
1 deletions
src/main/java/com/cnlive/shenhe/controller/VideosController.java
| ... | ... | @@ -145,7 +145,11 @@ public class VideosController { |
| 145 | 145 | //显示spid简称 |
| 146 | 146 | ShySites shySites = sitesService.findspidDescByspid(videos.getSpid()); |
| 147 | 147 | if (CommonUtils.isNotNull(shySites)) { |
| 148 | - videos.setSpid_desc(shySites.getName()); | |
| 148 | + if(CommonUtils.isNotEmpty(videos.getCategory())&&videos.getCategory().equals(CommonConst.CATEGORY_WITNESS)){ | |
| 149 | + videos.setSpid_desc(shySites.getName()+"目击者"); | |
| 150 | + }else{ | |
| 151 | + videos.setSpid_desc(shySites.getName()); | |
| 152 | + } | |
| 149 | 153 | } |
| 150 | 154 | } |
| 151 | 155 | } | ... | ... |