package com.controller; import javax.annotation.Resource; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import com.service.CarInfoService; import com.service.TroubleInfoService; import com.util.Result; @Controller @RequestMapping("/troubleinfo") public class TroubleInfoController { @Resource private TroubleInfoService ts; @RequestMapping("/add.do") @ResponseBody public Result addTroubleInfo(String trouble_code, String trouble_name, String trouble_remark) { System.out.println("쏵흙TroubleInfoController/add.do"); Result rs= ts.addTroubleInfo(trouble_code, trouble_name, trouble_remark); System.out.println(rs.toString()); return rs; } @RequestMapping("/show.do") @ResponseBody public Result troubleList() { System.out.println("쏵흙TroubleInfoController/show.do"); Result rs=ts.troubleList(); System.out.println(rs.toString()); return rs; } @RequestMapping("/change.do") @ResponseBody public Result changStatus(String id) { System.out.println("쏵흙TroubleInfoController/change.do"); Result rs=ts.changStatus(id); System.out.println(rs.toString()); return rs; } }


lkke23047 LV1
5月26日
小浩030629 LV1
5月8日
luhong LV3
5月6日
15838634741 LV18
4月7日
微信网友_7437770031140864
3月24日
暂无贡献等级
哪里的完整版 LV8
3月1日
docnnxxy688
3月1日
暂无贡献等级
微信网友_7398626323435520 LV3
2月25日
ryadmin123 LV2
2月7日
段池卿 LV3
1月19日