|
|
@@ -329,7 +329,18 @@ public class WebpageController extends BaseController {
|
|
|
modelview.addObject("policyList", policies);
|
|
|
// 新闻
|
|
|
List<News> news = (List<News>) newsService.portalNewsList(5, 1, null, null, null, null, 2).getList();
|
|
|
- modelview.addObject("newsList", news);
|
|
|
+ modelview.addObject("newsList", news);
|
|
|
+ //军工认证
|
|
|
+ JtBusinessCategory military = jtBusinessService.getBusinessCategoryByLayerAndName(1, "军工认证");
|
|
|
+ List<JtBusinessProject> l = jtBusinessService.getModuleByName("军工认证", null, 3);
|
|
|
+ for (JtBusinessProject project : l) {
|
|
|
+ //去除数据中的标签
|
|
|
+ if(StringUtils.isNotBlank(project.getIntroduce())){
|
|
|
+ project.setIntroduce(project.getIntroduce().replaceAll("\\<.*?>", ""));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ modelview.addObject("military", military);
|
|
|
+ modelview.addObject("militaryList", l);
|
|
|
// 高企服务
|
|
|
/*JtBusinessCategory gaoqi = jtBusinessService.getBusinessCategoryByLayerAndName(1, "高新技术企业服务");
|
|
|
JtBusinessCategory gaoqi2 = jtBusinessService.getBusinessCategoryByLayerAndName(2, "高新技术企业服务");
|