資源簡介
使用SSM框架實現增刪改查等功能,包括數據庫文件。hhh

代碼片段和文件信息
package?com.mlxp.controller;
import?java.util.List;
import?javax.servlet.http.HttpServletRequest;
import?org.springframework.beans.factory.annotation.Autowired;
import?org.springframework.stereotype.Controller;
import?org.springframework.ui.Model;
import?org.springframework.web.bind.annotation.PathVariable;
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.ResponseBody;
import?com.mlxp.define.AppointStateEnum;
import?com.mlxp.dto.AppointExecution;
import?com.mlxp.dto.Result;
import?com.mlxp.exception.NoNumberException;
import?com.mlxp.exception.RepeatAppointException;
import?com.mlxp.model.Appointment;
import?com.mlxp.model.Book;
import?com.mlxp.service.AppointmentService;
import?com.mlxp.service.BookService;
@Controller
@RequestMapping(“/appoint“)
public?class?AppointmentController?{
@Autowired
private?AppointmentService?appointmentService;
????@RequestMapping(value?=?“/listjson“?method?=?RequestMethod.GET)
????@ResponseBody
????private?List?listjson(Model?model)?{
????????List?list?=?appointmentService.listAll(0100);
????????model.addAttribute(“list“?list);
????????return?list;
????}
????@RequestMapping(value?=?“/list“?method?=?RequestMethod.GET)
????private?String?list(Model?model)?{
????????List?list?=?appointmentService.listAll(0100);
????????model.addAttribute(“list“?list);
????????return?“appointmentlist“;
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????834??2017-11-29?10:42??CMS_SSM\.classpath
?????文件???????1040??2018-01-25?09:20??CMS_SSM\.project
?????文件????????503??2017-11-29?10:42??CMS_SSM\.settings\.jsdtscope
?????文件?????????75??2018-01-09?15:11??CMS_SSM\.settings\org.eclipse.core.resources.prefs
?????文件????????364??2017-11-29?10:41??CMS_SSM\.settings\org.eclipse.jdt.core.prefs
?????文件????????117??2018-01-09?15:08??CMS_SSM\.settings\org.eclipse.jst.j2ee.ejb.annotations.xdoclet.prefs
?????文件????????483??2018-01-25?13:38??CMS_SSM\.settings\org.eclipse.wst.common.component
?????文件????????345??2017-11-29?10:42??CMS_SSM\.settings\org.eclipse.wst.common.project.facet.core.xm
?????文件?????????49??2017-11-29?10:42??CMS_SSM\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件??????????6??2017-11-29?10:42??CMS_SSM\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????文件???????4120??2018-02-06?13:44??CMS_SSM\book_demo.sql
?????文件???????1718??2018-02-06?11:36??CMS_SSM\build\classes\com\mlxp\controller\AppointmentController.class
?????文件???????6638??2018-02-06?11:36??CMS_SSM\build\classes\com\mlxp\controller\BookController.class
?????文件????????769??2018-02-06?11:36??CMS_SSM\build\classes\com\mlxp\dao\AppointmentMapper.class
?????文件????????833??2018-02-06?11:36??CMS_SSM\build\classes\com\mlxp\dao\BookMapper.class
?????文件???????1833??2018-02-06?11:36??CMS_SSM\build\classes\com\mlxp\define\AppointStateEnum.class
?????文件???????1749??2018-02-06?11:36??CMS_SSM\build\classes\com\mlxp\dto\AppointExecution.class
?????文件???????1603??2018-02-06?11:36??CMS_SSM\build\classes\com\mlxp\dto\Result.class
?????文件????????559??2018-02-06?11:36??CMS_SSM\build\classes\com\mlxp\exception\AppointException.class
?????文件????????562??2018-02-06?11:36??CMS_SSM\build\classes\com\mlxp\exception\NoNumberException.class
?????文件????????577??2018-02-06?11:36??CMS_SSM\build\classes\com\mlxp\exception\RepeatAppointException.class
?????文件???????4196??2018-02-06?11:35??CMS_SSM\build\classes\com\mlxp\mapping\AppointmentMapper.xm
?????文件???????3443??2018-02-02?15:06??CMS_SSM\build\classes\com\mlxp\mapping\BookMapper.xm
?????文件???????1700??2018-02-06?11:36??CMS_SSM\build\classes\com\mlxp\model\Appointment.class
?????文件???????1123??2018-02-06?11:36??CMS_SSM\build\classes\com\mlxp\model\Book.class
?????文件????????775??2018-02-06?11:36??CMS_SSM\build\classes\com\mlxp\service\AppointmentService.class
?????文件????????744??2018-02-06?11:36??CMS_SSM\build\classes\com\mlxp\service\BookService.class
?????文件???????1747??2018-02-06?11:36??CMS_SSM\build\classes\com\mlxp\service\impl\AppointmentServiceImpl.class
?????文件???????3026??2018-02-06?11:36??CMS_SSM\build\classes\com\mlxp\service\impl\BookServiceImpl.class
?????文件????????287??2018-01-26?15:03??CMS_SSM\build\classes\config\jdbc.properties
............此處省略100個文件信息
- 上一篇:unity3d官方賽車游戲教程中文版
- 下一篇:機器人控制的課件共五章
評論
共有 條評論