|
|
@@ -396,7 +396,12 @@ public class WebpageController extends BaseController {
|
|
|
// 咨询师
|
|
|
List<UserIdentityBo> userIdentityBos = userIdentityService.getExperts(8);
|
|
|
// List<consultantListBo>userIdentityBos=userIdentityService.getConsultantList(8);
|
|
|
- modelview.addObject("consultants", userIdentityBos);
|
|
|
+ modelview.addObject("consultants", userIdentityBos);
|
|
|
+ //获得轮播图数据
|
|
|
+ List<Banners> blist = bannersService.findBannersList("serviceIndex", 0, 3, 1);
|
|
|
+ if(null != blist){
|
|
|
+ modelview.addObject("sbannerlist", blist);
|
|
|
+ }
|
|
|
return modelview;
|
|
|
}
|
|
|
|
|
|
@@ -709,6 +714,12 @@ public class WebpageController extends BaseController {
|
|
|
&& subscriptions.get(0).getSourceUrl().contains(".")) {
|
|
|
modelview.addObject("videoUrl", subscriptions.get(0).getSourceUrl());
|
|
|
}
|
|
|
+
|
|
|
+ //获得轮播图数据
|
|
|
+ List<Banners> blist = bannersService.findBannersList("index", 0, 3, 1);
|
|
|
+ if(null != blist){
|
|
|
+ modelview.addObject("bannerlist", blist);
|
|
|
+ }
|
|
|
// List<AchievementObject>
|
|
|
// achievementObjects=achievementService.getHotAchievements(9, url,
|
|
|
// "web_index");
|
|
|
@@ -843,7 +854,13 @@ public class WebpageController extends BaseController {
|
|
|
demandListBo.setPictureUrl(demandListBo.getPictureUrl().split(",")[0]);
|
|
|
}
|
|
|
LimitLengthUtil.limiteDemandLength(sixMaxPersonnelDemand, 7, 30);
|
|
|
- modelview.addObject("personnelDemandList", sixMaxPersonnelDemand);
|
|
|
+ modelview.addObject("personnelDemandList", sixMaxPersonnelDemand);
|
|
|
+
|
|
|
+ //获得轮播图数据
|
|
|
+ List<Banners> blist = bannersService.findBannersList("demand", 0, 3, 1);
|
|
|
+ if(null != blist){
|
|
|
+ modelview.addObject("dbannerlist", blist);
|
|
|
+ }
|
|
|
return modelview;
|
|
|
}
|
|
|
|
|
|
@@ -909,7 +926,14 @@ public class WebpageController extends BaseController {
|
|
|
// List<PolicyEntity>intellectualPropertyPolicyList=achievementService.getIntellectualProperty(5);
|
|
|
List<PolicyResult> policies = (List<PolicyResult>) policyService
|
|
|
.searchPolicy("", 2, null, null, "web_index", 1, 5, null).getList();
|
|
|
- modelview.addObject("policyList", policies);
|
|
|
+ modelview.addObject("policyList", policies);
|
|
|
+
|
|
|
+ //获得轮播图数据
|
|
|
+ List<Banners> blist = bannersService.findBannersList("achievement", 0, 3, 1);
|
|
|
+ if(null != blist){
|
|
|
+ modelview.addObject("abannerlist", blist);
|
|
|
+ }
|
|
|
+
|
|
|
return modelview;
|
|
|
}
|
|
|
|
|
|
@@ -995,6 +1019,11 @@ public class WebpageController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
modelAndView.addObject("jtNews", news);
|
|
|
+ //获得轮播图数据
|
|
|
+ List<Banners> blist = bannersService.findBannersList("patent", 0, 3, 1);
|
|
|
+ if(null != blist){
|
|
|
+ modelAndView.addObject("pbannerlist", blist);
|
|
|
+ }
|
|
|
return modelAndView;
|
|
|
}
|
|
|
|
|
|
@@ -1033,7 +1062,13 @@ public class WebpageController extends BaseController {
|
|
|
|
|
|
// 专家
|
|
|
List<UserIdentityBo> userIdentityBos = userIdentityService.getExperts(3);
|
|
|
- modelAndView.addObject("expert", userIdentityBos);
|
|
|
+ modelAndView.addObject("expert", userIdentityBos);
|
|
|
+
|
|
|
+ //获得轮播图数据
|
|
|
+ List<Banners> blist = bannersService.findBannersList("tradingIndex", 0, 3, 1);
|
|
|
+ if(null != blist){
|
|
|
+ modelAndView.addObject("tbannerlist", blist);
|
|
|
+ }
|
|
|
|
|
|
return modelAndView;
|
|
|
}
|