liliang4869 лет назад: 7
Родитель
Сommit
e1d250aec3

+ 3 - 3
src/main/java/com/goafanti/common/controller/WebpageController.java

@@ -276,7 +276,7 @@ public class WebpageController extends BaseController {
 		modelview.setViewName("/portal/service/serviceIndex");
 		//政策
 //		List<PolicyEntity>policyEntities=achievementService.getIntellectualProperty(8);
-		List<PolicyResult>policies=(List<PolicyResult>) policyService.searchPolicy(null, null, null, null, "web_tech_service_index", 1, 8).getList();
+		List<PolicyResult>policies=(List<PolicyResult>) policyService.searchPolicy("", 2, null, null, "web_tech_service_index", 1, 8).getList();
 		modelview.addObject("policyList",policies); 
 		//新闻
 		List<News>news=(List<News>) newsService.portalNewsList(5, 1, null, null, null, null).getList();
@@ -521,7 +521,7 @@ public class WebpageController extends BaseController {
 		modelview.addObject("achievements",achievementObjects);
 //		List<PolicyEntity> policyEntities=achievementService.getIntellectualProperty(4);
 		@SuppressWarnings("unchecked")
-		List<PolicyResult>policies=(List<PolicyResult>) policyService.searchPolicy("", null, null, null, "web_index", 1, 4).getList();
+		List<PolicyResult>policies=(List<PolicyResult>) policyService.searchPolicy("", 2, null, null, "web_index", 1, 4).getList();
 		modelview.addObject("policys",policies);
 		List<DemandListBo> demandListBos=demandService.getHotDemand(9, url, "web_index");
 		for(DemandListBo demandListBo:demandListBos) {
@@ -679,7 +679,7 @@ public class WebpageController extends BaseController {
 		modelview.addObject("practicalTechnology",practicalTechnology); 
 		
 //		List<PolicyEntity>intellectualPropertyPolicyList=achievementService.getIntellectualProperty(5);
-		List<PolicyResult> policies=(List<PolicyResult>) policyService.searchPolicy("", null, null, null, "web_index", 1, 5).getList();
+		List<PolicyResult> policies=(List<PolicyResult>) policyService.searchPolicy("", 2, null, null, "web_index", 1, 5).getList();
 		modelview.addObject("policyList",policies);
 		return modelview;
 	}