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; } }


15838634741 LV18
4月7日
微信网友_7437770031140864
3月24日
暂无贡献等级
哪里的完整版 LV8
3月1日
docnnxxy688
3月1日
暂无贡献等级
微信网友_7398626323435520 LV2
2月25日
ryadmin123 LV2
2月7日
段池卿 LV1
1月19日
bankroll LV5
2024年12月16日
飞翔的咸鱼i
2024年12月4日
暂无贡献等级
zolscy LV24
2024年11月24日