DMSController.java 789 Bytes
package com.bsth.controller.dsm;


import com.bsth.service.dsm.DSMService;
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: DMSController(DSM控制器)
 * 
 * @Author YM
 * 
 */
@RestController
@RequestMapping("dsm")
public class DMSController{
	

	
	@Autowired
	private DSMService dsmService;
	

	@RequestMapping(value = "findAll", method = RequestMethod.GET)
	public Map<String, Object> findAll(@RequestParam Map<String,Object> params) {
		return dsmService.query(params);
	}
}