XlybtbController.java 785 Bytes
package com.bsth.controller.report;


import com.bsth.service.report.XlybtbService;
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;

@RestController
@RequestMapping("xlybtb")
public class XlybtbController {

    @Autowired
    XlybtbService xlybtbService;
    @RequestMapping(value = "/query",method = RequestMethod.GET)
    public Map<String, Object> query(@RequestParam Map<String, Object> map) throws Exception{
        Map<String, Object> m= xlybtbService.query(map);
        return m;
    }

}