package cn.com.countrygarden.bi.main.controller.manager.follow;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import cn.com.countrygarden.bi.main.controller.BaseController;
import cn.com.countrygarden.bi.main.core.Result;
import cn.com.countrygarden.bi.main.service.manager.map.ManagerMapDetailedService;

@RestController("ManagerMapDetailedListController")
@RequestMapping("/api/manager/detailed")
public class ManagerMapDetailedListController extends BaseController{
	@Autowired
	private ManagerMapDetailedService detailedService;
	
	@GetMapping(value="/one",produces="application/json;charset=utf-8")
	public Result getList(@RequestParam(value = "id",required=true) Integer id,HttpServletRequest request){
		return detailedService.queryById(id);
	}
}
