Python 官方文档:入门教程 => 点击学习
一、项目简述 功能包括: 用户登录,设备管理,设备指派,贝附信息,信息公告, 信息维护,系统管理,图表统计等等功能。 二、项目运行 环境配置: jdk1.8 + Tomcat8.5
功能包括: 用户登录,设备管理,设备指派,贝附信息,信息公告, 信息维护,系统管理,图表统计等等功能。
环境配置: jdk1.8 + Tomcat8.5 + Mysql + Eclispe (IntelliJ idea,Eclispe,MyEclispe,Sts 都支持)
项目技术: jsP +spring + springMVC + mybatis + html+ CSS + javascript + Jquery + ajax + layui+ Maven等等。
基础信息操作:
@Controller
@RequestMapping("/baseInfos")
public class BaseInfoController {
@Autowired
private BaseInfoService baseInfoService;
@Autowired
private LogService logService;
@RequestMapping("/type/list")
public String listDeviceType(ModelMap map){
List<DeviceType> typeList = baseInfoService.listDeviceType();
map.put("typeList",typeList);
return "deviceTypes::table-refresh";
}
@PostMapping("/type")
@ResponseBody
public int addtDeviceType(DeviceType deviceType){
return baseInfoService.addtDeviceType(deviceType);
}
@DeleteMapping("/type/{typeId}")
@ResponseBody
public int delteDeviceTypByid(@PathVariable("typeId") String typeId){
return baseInfoService.deleteDeviceTypeById(typeId);
}
@PutMapping("/type")
@ResponseBody
public int updateDeviceType(DeviceType deviceType){
return baseInfoService.updateDeviceType(deviceType);
}
@RequestMapping("/brand/list")
public String listDeviceBrand(ModelMap map){
List<DeviceBrand> brandList = baseInfoService.listDeviceBrand();
map.put("brandList",brandList);
return "deviceBrands::table-refresh";
}
@PostMapping("/brand")
@ResponseBody
public int addtDeviceBrand(DeviceBrand deviceBrand){
return baseInfoService.addtDeviceBrand(deviceBrand);
}
@DeleteMapping("/brand/{brandId}")
@ResponseBody
public int delteDeviceBrandByid(@PathVariable("brandId") String brandId){
return baseInfoService.deleteDeviceBrandById(brandId);
}
@PutMapping("/brand")
@ResponseBody
public int updateDeviceBrand(DeviceBrand deviceBrand){
return baseInfoService.updateDeviceBrand(deviceBrand);
}
@RequestMapping("/log")
public String listLog(ModelMap map, httpservletRequest request){
String startTime = request.getParameter("startTime");
String endTime = request.getParameter("endTime");
List<SystemLog> logs = logService.listLogsByDate(startTime,endTime);
map.put("logList",logs);
return "system::logList-refresh";
}
}
@Controller
@RequestMapping("/notice")
public class NoticeController {
@Autowired
NoticeService noticeService;
@GetMapping("/{id}")
public String readContent(@PathVariable("id") String id,ModelMap map){
Notice notice = noticeService.getNoticeById(id);
map.put("notice",notice);
return "noticeContent";
}
@GetMapping("/list")
public String listAllNotice(ModelMap map){
List<Notice> noticeList = noticeService.listAll();
map.addAttribute("noticeList",noticeList);
return "notice::table-refresh";
}
@PostMapping
public String addNotice(Notice notice){
noticeService.addNotice(notice);
return "notice";
}
@DeleteMapping("/{id}")
@ResponseBody
public int deleteNotice(@PathVariable("id")String id){
return noticeService.deleteNoticeById(id);
}
}
以上就是Java 实战项目锤炼之IT设备固定资产管理系统的实现流程的详细内容,更多关于Java IT设备管理系统的资料请关注编程网其它相关文章!
--结束END--
本文标题: Java 实战项目锤炼之IT设备固定资产管理系统的实现流程
本文链接: https://www.lsjlt.com/news/157071.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0