| 1234567891011121314151617181920212223242526272829303132 |
- package com.goafanti.portal.controller;
- import java.util.List;
- import javax.annotation.Resource;
- import org.springframework.stereotype.Controller;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.servlet.ModelAndView;
- import com.goafanti.common.controller.BaseController;
- import com.goafanti.residentIntegration.bo.ResidentIntegrationBo;
- import com.goafanti.residentIntegration.service.ResidentIntegrationService;
- @Controller
- public class PoralResidentIntegrationController extends BaseController{
- @Resource
- private ResidentIntegrationService residentIntegrationService;
-
- @RequestMapping(value="/portal/residentIntegration/index")
- public ModelAndView residentIntegrationIndex(ModelAndView mv){
- List<ResidentIntegrationBo> jmrhAchievementList = residentIntegrationService.selectJmrhAchievement();
- List<ResidentIntegrationBo> jmrhTechnologyList = residentIntegrationService.selectJmrTechnology();
- List<ResidentIntegrationBo> jmrhProjectList = residentIntegrationService.selectJmrProject();
- mv.addObject("jmrhAchievementList", jmrhAchievementList);
- mv.addObject("jmrhTechnologyList",jmrhTechnologyList);
- mv.addObject("jmrhProjectList",jmrhProjectList);
- mv.setViewName("/portal/residentIntegration/index");
- return mv;
- }
- }
|