KlController.java
785 Bytes
package com.bsth.controller.kl;
import com.bsth.service.Kl.KlService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import java.util.Map;
/**
*
* @ClassName: KlController(客流控制器)
*
* @Author YM
*
*/
@RestController
@RequestMapping("kl")
public class KlController{
@Autowired
private KlService klService;
@RequestMapping(value = "findAllKl", method = RequestMethod.GET)
public Map<String, Object> findAllKl(@RequestParam Map<String,Object> params) {
return klService.query(params);
}
}