基于SpringBoot美发门店管理系统的设计与实现

博主主页:一点源码
博主简介:专注Java技术领域和毕业设计项目实战、Java、微信小程序、安卓等技术开发,远程调试部署、代码讲解、文档指导、ppt制作等技术指导。
主要内容:毕业设计,SpringBoot、Vue、SSM、HLMT、Jsp、PHP、Python、Nodejs、小程序、安卓app、大数据等设计与开发

文末获取联系

项目介绍

本美发门店管理系统有管理员和用户两个角色。用户功能有项目预定管理,产品购买管理,会员充值管理,余额查询管理。管理员功能有个人中心,用户管理,美容项目管理,项目类型管理,项目预定管理,产品库存管理,产品购买管理,产品入库管理,会员卡管理,会员充值管理,余额查询管理,产品类型管理,系统管理等。因而具有一定的实用性。

本站是一个B/S模式系统,采用SpringBoot框架,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架构的网站系统,设计的管理员功能结构图如下图所示:

基于SpringBoot美发门店管理系统的设计与实现_第1张图片

本系统是基于B/S架构的网站系统,设计的用户功能结构图如下图所示:

基于SpringBoot美发门店管理系统的设计与实现_第2张图片

部分功能展示

 管理员模块的实现

5.1.1 美容项目管理

美发门店管理系统的系统管理员可以管理美容项目,可以对美容项目信息添加修改删除以及查询操作。具体界面的展示如图5.1所示。

基于SpringBoot美发门店管理系统的设计与实现_第3张图片

图5.1 美容项目信息管理界面

5.1.2 产品库存管理

系统管理员可以查看产品库存,修改,删除以及查询操作。具体界面如图5.2所示。

基于SpringBoot美发门店管理系统的设计与实现_第4张图片

图5.2 产品库存信息管理界面

5.1.3 产品购买管理

管理员可以对产品库存信息进行审核操作。界面如下图所示:

基于SpringBoot美发门店管理系统的设计与实现_第5张图片

图5.3 产品库存信息管理界面

5.1.4 会员卡管理

管理员可以对会员卡信息进行添加,修改删除以及查询操作。界面如下图所示:

基于SpringBoot美发门店管理系统的设计与实现_第6张图片

图5.4 会员卡s管理界面

5.2 用户模块的实现

5.2.1 项目预定管理

用户登录后可以对项目预定信息进行预定操作。界面如下图所示:

基于SpringBoot美发门店管理系统的设计与实现_第7张图片

图5.5 项目预定界面

5.2.1 产品购买信息

用户登录后可以对产品购买进行支付操作。界面如下图所示:

基于SpringBoot美发门店管理系统的设计与实现_第8张图片

图5.6 产品购买信息界面

5.2.3 会员充值管理

用户登录后可以在会员充值进行会员充值操作。界面如下图所示:

基于SpringBoot美发门店管理系统的设计与实现_第9张图片

图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.数据库设计    10
4.3.1数据库实体    10
4.3.2数据库设计表    12
5系统详细实现    18
5.1 管理员模块的实现    18
5.1.1 项目中检管理    18
5.1.2 专家评审管理    18
5.2 指导老师模块的实现    19
5.2.1 项目申报管理    19
5.2.1 项目结项管理    19
5.2 学生模块的实现    20
5.2.2 学生注册管理    20
5.2.3 优秀项目信息    21
5.2.3 项目信息申报    22
6系统测试    23
6.1概念和意义    23
6.2特性    23
6.3重要性    24
6.4测试方法    24
6.5 功能测试    24
6.6可用性测试    25
6.7性能测试    25
6.8测试分析    26
6.9测试结果分析    26
结论    26
致谢语    27
参考文献    27

部分代码实现 


 * @author 
 * @email 
 * @date 2021-03-05 14:09:24
 */
@RestController
@RequestMapping("/tuihuantushu")
public class TuihuantushuController {
    @Autowired
    private TuihuantushuService tuihuantushuService;
    
 
 
    /**
     * 后端列表
     */
    @RequestMapping("/page")
    public R page(@RequestParam Map params,TuihuantushuEntity tuihuantushu, HttpServletRequest request){
		String tableName = request.getSession().getAttribute("tableName").toString();
		if(tableName.equals("xuesheng")) {
			tuihuantushu.setXuehao((String)request.getSession().getAttribute("username"));
		}
        EntityWrapper ew = new EntityWrapper();
		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 params,TuihuantushuEntity tuihuantushu, HttpServletRequest request){
        EntityWrapper ew = new EntityWrapper();
		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 ew = new EntityWrapper();
      	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());
    	//ValidatorUtils.validateEntity(tuihuantushu);
        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());
    	//ValidatorUtils.validateEntity(tuihuantushu);
        tuihuantushuService.insert(tuihuantushu);
        return R.ok();
    }
 
    /**
     * 修改
     */
    @RequestMapping("/update")
    public R update(@RequestBody TuihuantushuEntity tuihuantushu, HttpServletRequest request){
        //ValidatorUtils.validateEntity(tuihuantushu);
        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 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 wrapper = new EntityWrapper();
		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毕业设计,spring,boot,后端,java,spring,美发门店管理系统)