package com.ssm.controller;

import com.ssm.entity.TcqyModel;
import com.ssm.entity.YyxtModel;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("yyxt")
public class TestYyxtController {
    @RequestMapping("tj")
    public ModelAndView test(YyxtModel yyxt){
        ModelAndView mv=new ModelAndView("showYyxt");
        //���������showTingchequyu���浽ModelAndView������
        mv.addObject("yyxtInfo", yyxt);
        return mv;
    }
}
