package cn.tsy.idsse.dsds.control.param;

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

import cn.hme.data.mapper.frame.param.FrameParamMapper;
import cn.hme.framework.web.control.Ajax;
import cn.hme.framework.web.control.AjaxControl;


@RestController
@RequestMapping("param")
public class DSDSParamControl extends AjaxControl{
	
	@Autowired
	private FrameParamMapper mParam;	
	@RequestMapping("list.htm")
	public Ajax list() {
		return new Ajax(this.mParam.all());
	}
}
