博主主页:一点源码
博主简介:专注Java技术领域和毕业设计项目实战、Java、微信小程序、安卓等技术开发,远程调试部署、代码讲解、文档指导、ppt制作等技术指导。
主要内容:毕业设计,SpringBoot、Vue、SSM、HLMT、Jsp、PHP、Python、Nodejs、小程序、安卓app、大数据等设计与开发
文末获取联系
本植物健康系统管理员,普通员工,技术人员。管理员功能有个人中心,普通员工管理,技术人员管理,植物疾病案例管理,植物种类管理,普通植物检查登记管理,珍贵植物检查登记管理,植物技术方案管理,植物救治用料登记管理,植物救治材料管理,材料类目管理。普通员工功能有个人中心,植物疾病案例管理,植物种类管理,普通植物检查登记管理,珍贵植物检查登记管理,植物技术方案管理,植物救治用料登记管理,植物救治材料管理,材料类目管理。技术人员功能有个人中心,植物疾病案例管理,植物种类管理,普通植物检查登记管理,珍贵植物检查登记管理,植物技术方案管理,植物救治用料登记管理,植物救治材料管理,材料类目管理。因而具有一定的实用性。
本站是一个B/S模式系统,采用Spring Boot框架,MYSQL数据库设计开发,充分保证系统的稳定性。系统具有界面清晰、操作简单,功能齐全的特点,使得植物健康系统管理工作系统化、规范化。本系统的使用使管理人员从繁重的工作中解脱出来,实现无纸化办公,能够有效的提高植物健康系统管理效率。
开发语言:Java
使用框架:spring boot
前端技术:Vue 、css、element-ui、js、html
开发工具:IDEA/MyEclipse/Eclipse、Visual Studio Code
数据库:MySQL 5.7/8.0
数据库管理工具:phpstudy/Navicat
JDK版本:jdk1.8
Maven: apache-maven 3.8.1-bin
本系统是基于B/S架构的网站系统,设计的功能结构图如下图所示:
植物健康系统需要登录才可以看到首页。具体界面的展示如图5.1所示。
图5.1 系统首页界面
可以在咨询专家栏目发布消息。具体界面如图5.2所示。
图5.2 咨询专家界面
普通员工可以对普通植物检查登记信息进行添加,修改,删除以及查询操作。界面如下图所示:
图5.3 普通植物检查登记信息管理界面
普通员工可以对珍贵植物检查登记进行添加修改删除操作。界面如下图所示:
图5.4 珍贵植物检查登记界面
普通员工可以对植物救治用料登记进行添加,修改,删除操作。界面如下图所示:
图5.5 植物救治用料登记信息界面
普通员工可以对植物救治材料进行添加修改删除操作。界面如下图所示:
图5.6 植物救治材料信息界面
技术人员可以对普通员工提交的植物疾病案例进行审核操作。界面如下图所示:
图5.7 植物疾病案例界面
1系统概述 1
1.1 研究背景 1
1.2研究目的 1
1.3系统设计思想 1
2相关技术 2
2.1 MYSQL数据库 2
2.2 B/S结构 3
2.3 Spring Boot框架简介 4
3系统分析 4
3.1可行性分析 4
3.1.1技术可行性 4
3.1.2经济可行性 5
3.1.3操作可行性 5
3.2系统性能分析 5
3.2.1 系统安全性 5
3.2.2 数据完整性 6
3.3系统界面分析 6
3.4系统流程和逻辑 7
4系统概要设计 8
4.1概述 8
4.2系统结构 9
4.3.数据库设计 9
4.3.1数据库实体 9
4.3.2数据库设计表 11
5系统详细实现 15
5.1 系统首页 15
5.2 咨询专家 16
5.3 普通植物检查登记 16
5.4 珍贵植物检查登记 17
5.5 植物救治用料登记 17
5.6 植物救治材料管理 18
5.7 植物疾病案例管理 18
6系统测试 19
6.1概念和意义 19
6.2特性 20
6.3重要性 20
6.4测试方法 20
6.5 功能测试 21
6.6可用性测试 21
6.7性能测试 22
6.8测试分析 22
6.9测试结果分析 23
结论 23
致谢语 23
参考文献 24
* @author
* @date 2021-03-05 14:09:24
*/
@RestController
@RequestMapping("/tuihuantushu")
public class TuihuantushuController {
@Autowired
private TuihuantushuService tuihuantushuService;
@RequestMapping("/page")
public R page(@RequestParam Map<String, Object> params,TuihuantushuEntity tuihuantushu, HttpServletRequest request){
String tableName = request.getSession().getAttribute("tableName").toString();
if(tableName.equals("xuesheng")) {
tuihuantushu.setXuehao((String)request.getSession().getAttribute("username"));
}
EntityWrapper<TuihuantushuEntity> ew = new EntityWrapper<TuihuantushuEntity>();
PageUtils page = tuihuantushuService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, tuihuantushu), params), params));
return R.ok().put("data", page);
}
@RequestMapping("/list")
public R list(@RequestParam Map<String, Object> params,TuihuantushuEntity tuihuantushu, HttpServletRequest request){
EntityWrapper<TuihuantushuEntity> ew = new EntityWrapper<TuihuantushuEntity>();
PageUtils page = tuihuantushuService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, tuihuantushu), params), params));
return R.ok().put("data", page);
}
@RequestMapping("/lists")
public R list( TuihuantushuEntity tuihuantushu){
EntityWrapper<TuihuantushuEntity> ew = new EntityWrapper<TuihuantushuEntity>();
ew.allEq(MPUtil.allEQMapPre( tuihuantushu, "tuihuantushu"));
return R.ok().put("data", tuihuantushuService.selectListView(ew));
}
@RequestMapping("/query")
public R query(TuihuantushuEntity tuihuantushu){
EntityWrapper< TuihuantushuEntity> ew = new EntityWrapper< TuihuantushuEntity>();
ew.allEq(MPUtil.allEQMapPre( tuihuantushu, "tuihuantushu"));
TuihuantushuView tuihuantushuView = tuihuantushuService.selectView(ew);
return R.ok("查询退换图书成功").put("data", tuihuantushuView);
}
@RequestMapping("/info/{id}")
public R info(@PathVariable("id") Long id){
TuihuantushuEntity tuihuantushu = tuihuantushuService.selectById(id);
return R.ok().put("data", tuihuantushu);
}
@RequestMapping("/detail/{id}")
public R detail(@PathVariable("id") Long id){
TuihuantushuEntity tuihuantushu = tuihuantushuService.selectById(id);
return R.ok().put("data", tuihuantushu);
}
@RequestMapping("/save")
public R save(@RequestBody TuihuantushuEntity tuihuantushu, HttpServletRequest request){
tuihuantushu.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
tuihuantushuService.insert(tuihuantushu);
return R.ok();
}
@RequestMapping("/add")
public R add(@RequestBody TuihuantushuEntity tuihuantushu, HttpServletRequest request){
tuihuantushu.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
tuihuantushuService.insert(tuihuantushu);
return R.ok();
}
@RequestMapping("/update")
public R update(@RequestBody TuihuantushuEntity tuihuantushu, HttpServletRequest request){
tuihuantushuService.updateById(tuihuantushu);
return R.ok();
}
@RequestMapping("/delete")
public R delete(@RequestBody Long[] ids){
tuihuantushuService.deleteBatchIds(Arrays.asList(ids));
return R.ok();
}
@RequestMapping("/remind/{columnName}/{type}")
public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request,
@PathVariable("type") String type,@RequestParam Map<String, Object> map) {
map.put("column", columnName);
map.put("type", type);
if(type.equals("2")) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
Calendar c = Calendar.getInstance();
Date remindStartDate = null;
Date remindEndDate = null;
if(map.get("remindstart")!=null) {
Integer remindStart = Integer.parseInt(map.get("remindstart").toString());
c.setTime(new Date());
c.add(Calendar.DAY_OF_MONTH,remindStart);
remindStartDate = c.getTime();
map.put("remindstart", sdf.format(remindStartDate));
}
if(map.get("remindend")!=null) {
Integer remindEnd = Integer.parseInt(map.get("remindend").toString());
c.setTime(new Date());
c.add(Calendar.DAY_OF_MONTH,remindEnd);
remindEndDate = c.getTime();
map.put("remindend", sdf.format(remindEndDate));
}
}
Wrapper<TuihuantushuEntity> wrapper = new EntityWrapper<TuihuantushuEntity>();
if(map.get("remindstart")!=null) {
wrapper.ge(columnName, map.get("remindstart"));
}
if(map.get("remindend")!=null) {
wrapper.le(columnName, map.get("remindend"));
}
String tableName = request.getSession().getAttribute("tableName").toString();
if(tableName.equals("xuesheng")) {
wrapper.eq("xuehao", (String)request.getSession().getAttribute("username"));
}
int count = tuihuantushuService.selectCount(wrapper);
return R.ok().put("count", count);
}
}
相关知识
基于springboot植物健康系统
基于springboot玉米病虫害远程咨询系统的设计与实现
springboot基于springboot 的豪华婚车租赁系统的设计与实现 PPT
基于springboot玉米病虫害远程咨询系统的设计与实现(源码+文档+部署讲解等)
基于SpringBoot的花店管理系统
基于springboot+vue的植物健康管理系统的设计与实现
springboot植物健康系统
java计算机毕业设计基于SpringBoot的疫苗接种管理系统(开题+程序+论文)
基于ssm的花店商城管理系统设计与实现 Java MySQL
基于植物健康系统的设计与实现
网址: 基于SpringBoot植物健康系统的设计与实现 https://m.huajiangbk.com/newsview624642.html
上一篇: 让健康惠民落实到“最后一公里”— |
下一篇: Spring Boot开发的植物 |