Forráskód Böngészése

3个广告业跳转地址更换成指定二级

anderx 7 éve%!(EXTRA string=óta)
szülő
commit
d258dcc025

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

@@ -266,19 +266,37 @@ public class WebpageController extends BaseController {
 	}
 
 	@RequestMapping(value = "/portal/continueHigh", method = RequestMethod.GET)
-	public ModelAndView portalContinueHigh(HttpServletRequest request, ModelAndView modelview) {
+	public ModelAndView portalContinueHigh(HttpServletRequest request, ModelAndView modelview) {
+		JtBusinessCategory bc1=jtBusinessService.getBusinessCategoryByLayerAndName(2, "高企诊断");
+		JtBusinessCategory bc2=jtBusinessService.getBusinessCategoryByLayerAndName(2, "高企认定");
+		JtBusinessCategory bc3=jtBusinessService.getBusinessCategoryByLayerAndName(2, "高企培育");
+		modelview.addObject("gqc1", bc1);
+		modelview.addObject("gqc2", bc2);
+		modelview.addObject("gqc3", bc3);
 		modelview.setViewName("/portal/continueHigh");
 		return modelview;
 	}
 
 	@RequestMapping(value = "/portal/militaryProject", method = RequestMethod.GET)
-	public ModelAndView portalMilitaryProject(HttpServletRequest request, ModelAndView modelview) {
+	public ModelAndView portalMilitaryProject(HttpServletRequest request, ModelAndView modelview) {
+		JtBusinessCategory bc1=jtBusinessService.getBusinessCategoryByLayerAndName(2, "武器装备科研生产保密资格认证");
+		JtBusinessCategory bc2=jtBusinessService.getBusinessCategoryByLayerAndName(2, "武器装备科研生产许可证认证");
+		JtBusinessCategory bc3=jtBusinessService.getBusinessCategoryByLayerAndName(2, "装备承制单位资格认证");
+		modelview.addObject("gqc1", bc1);
+		modelview.addObject("gqc2", bc2);
+		modelview.addObject("gqc3", bc3);
 		modelview.setViewName("/portal/militaryProject");
 		return modelview;
 	}
 
 	@RequestMapping(value = "/portal/practicalPatent", method = RequestMethod.GET)
-	public ModelAndView portalPracticalPatent(HttpServletRequest request, ModelAndView modelview) {
+	public ModelAndView portalPracticalPatent(HttpServletRequest request, ModelAndView modelview) {
+		JtBusinessCategory bc1=jtBusinessService.getBusinessCategoryByLayerAndName(2, "发明专利");
+		JtBusinessCategory bc2=jtBusinessService.getBusinessCategoryByLayerAndName(2, "商标注册");
+		JtBusinessCategory bc3=jtBusinessService.getBusinessCategoryByLayerAndName(2, "软件著作权");
+		modelview.addObject("gqc1", bc1);
+		modelview.addObject("gqc2", bc2);
+		modelview.addObject("gqc3", bc3);
 		modelview.setViewName("/portal/practicalPatent");
 		return modelview;
 	}

+ 3 - 3
src/main/webapp/WEB-INF/views/portal/continueHigh.html

@@ -82,21 +82,21 @@
                     <p>高企诊断</p>
                     <div>
                         <img th:src="${portalHost+'/img/advertisement/indea1.png'}" alt="">
-                        <p><a th:href="${gqc1}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(topId=${gqc1.id})}">了解详情</a></p>
+                        <p><a th:href="${gqc1}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(secondId=${gqc1.id})}">了解详情</a></p>
                     </div>
                 </li>
                 <li>
                     <p>高企认定</p>
                     <div>
                         <img th:src="${portalHost+'/img/advertisement/indea2.png'}" alt="">
-                        <p><a th:href="${gqc1}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(topId=${gqc1.id})}">了解详情</a></p>
+                        <p><a th:href="${gqc2}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(secondId=${gqc2.id})}">了解详情</a></p>
                     </div>
                 </li>
                 <li>
                     <p>高企培育</p>
                     <div>
                         <img th:src="${portalHost+'/img/advertisement/indea3.png'}" alt="" class="peiyu">
-                        <p><a th:href="${gqc1}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(topId=${gqc1.id})}">了解详情</a></p>
+                        <p><a th:href="${gqc3}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(secondId=${gqc3.id})}">了解详情</a></p>
                     </div>
                 </li>
             </ul>

+ 3 - 3
src/main/webapp/WEB-INF/views/portal/militaryProject.html

@@ -75,7 +75,7 @@
                     <p>生产保密资格认证</p>
                     <div>
                         <img th:src="${portalHost + '/img/advertisement/militaryProject_11.png'}" alt="" class="wuqi">
-                        <p> <a th:href="${gqc1}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(topId=${gqc1.id})}">了解详情</a></p>
+                        <p> <a th:href="${gqc1}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(secondId=${gqc1.id})}">了解详情</a></p>
                     </div>
                 </li>
                 <li>
@@ -83,7 +83,7 @@
                     <p>生产许可证认证</p>
                     <div>
                         <img th:src="${portalHost + '/img/advertisement/militaryProject_22.png'}" alt="">
-                        <p><a th:href="${gqc1}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(topId=${gqc1.id})}">了解详情</a></p>
+                        <p><a th:href="${gqc2}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(secondId=${gqc2.id})}">了解详情</a></p>
                     </div>
                 </li>
                 <li>
@@ -91,7 +91,7 @@
                     <p>单位资格认证</p>
                     <div>
                         <img th:src="${portalHost + '/img/advertisement/militaryProject_33.png'}" alt="" class="chengzhi">
-                        <p><a th:href="${gqc1}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(topId=${gqc1.id})}">了解详情</a></p>
+                        <p><a th:href="${gqc3}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(secondId=${gqc3.id})}">了解详情</a></p>
                     </div>
                 </li>
             </ul>

+ 3 - 3
src/main/webapp/WEB-INF/views/portal/practicalPatent.html

@@ -74,21 +74,21 @@
                     <p>发明专利</p>
                     <div>
                         <img th:src="${portalHost+'/img/advertisement/practicalPatent_11.png'}" alt="" class="faming">
-                        <p> <a th:href="${gqc1}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(topId=${gqc1.id})}">了解详情</a></p>
+                        <p> <a th:href="${gqc1}==null?@{/portal/service/patentList}:@{/portal/service/patentList(secondId=${gqc1.id})}">了解详情</a></p>
                     </div>
                 </li>
                 <li>
                     <p>商标注册</p>
                     <div>
                         <img th:src="${portalHost+'/img/advertisement/practicalPatent_22.png'}" alt="">
-                        <p><a th:href="${gqc1}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(topId=${gqc1.id})}">了解详情</a></p>
+                        <p><a th:href="${gqc2}==null?@{/portal/service/patentList}:@{/portal/service/patentList(secondId=${gqc2.id})}">了解详情</a></p>
                     </div>
                 </li>
                 <li>
                     <p>软件著作权</p>
                     <div>
                         <img th:src="${portalHost+'/img/advertisement/practicalPatent_33.png'}" alt="">
-                        <p><a th:href="${gqc1}==null?@{/portal/service/serviceList}:@{/portal/service/serviceList(topId=${gqc1.id})}">了解详情</a></p>
+                        <p><a th:href="${gqc3}==null?@{/portal/service/patentList}:@{/portal/service/patentList(secondId=${gqc3.id})}">了解详情</a></p>
                     </div>
                 </li>
             </ul>