package com.eactive.eai.rms.onl.tracking.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/transaction/tracking/trackingChart.do")
public class DbTrackingChartController {
//    private static final Logger logger = Logger.getLogger(DbTrackingController.class);
//
//    @Autowired
//    @Qualifier("dbTrackingChartService")
//    private DbTrackingChartService dbTrackingChartService;
//    
//    @RequestMapping(params = "cmd=LIST")
//    public View list(ModelMap modelMap, HttpServletRequest request,
//            HttpServletResponse response, String eaiTranName) throws Exception {
//
//        UserAccessLogger.log(request, "거래흐름도", "L", "cmd=LIST");
// 
//    	ArrayList<DbTrackingChartVo> list = dbTrackingChartService.getTransChartList(eaiTranName);
//        modelMap.addAttribute("list", list);
//        return new DbTrackingChartView();
//    }
//
//    @RequestMapping(params = "cmd=EAI_TRAN_LIST")
//    public View eaiTranList(ModelMap modelMap, HttpServletRequest request,
//            HttpServletResponse response, String eaiTranName) throws Exception {
//
//        UserAccessLogger.log(request, "거래흐름도", "L", "cmd=EAI_TRAN_LIST");
//
//        // 사용자별 업무구분코드 ( 권한관리 ) 
//        String eaiBzwkDstcd = RecordAuthUtil.getRecordAuthQuery2(request);
//        
//    	ArrayList<HashMap<String, String>> list = dbTrackingChartService.getEAITranList(eaiTranName, eaiBzwkDstcd);
//        modelMap.addAttribute("list", list);
//        return new DbTrackingChartEAITranListView();
//    }
}
