Commit e981427941c76c16c9ff78c5ba3c5f73d609ea38
1 parent
982e9940
修复查看详情bug
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/cnlive/shenhe/controller/VideosController.java
| ... | ... | @@ -249,7 +249,7 @@ public class VideosController extends BaseController { |
| 249 | 249 | detailsContent.setSpid_desc(shySites.getName() + "(目击者)"); |
| 250 | 250 | //如果source1不等于null;直接查询 |
| 251 | 251 | for (ShyActivity activity : activityList) { |
| 252 | - if (activity.getId().equals(Integer.valueOf(source1))) { | |
| 252 | + if (String.valueOf(activity.getId()).equals(source1)) { | |
| 253 | 253 | detailsContent.setSpid_desc(activity.getActivity()); |
| 254 | 254 | break; |
| 255 | 255 | } | ... | ... |