package com.eactive.eai.rms.service.tas;

import java.util.HashMap;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

import com.eactive.eai.rms.common.interceptor.InterceptorSkipController;

@Controller
public class TasInfoController implements InterceptorSkipController {

	@Autowired
	private TasInfoService service;

	@RequestMapping("/service/tasInfoService.do")
	private ModelAndView selectDetail(HttpServletRequest request,
			HttpServletResponse response, @RequestParam(required = true) String bzwkDstcd) throws Exception {
		
		HashMap resultMap = service.selectTasInfoWithBizCode(bzwkDstcd);
		
		ModelAndView modelAndView = new ModelAndView("jsonView",resultMap);	
		
		return modelAndView;
	}
	
}

