当前位置:网站首页>基于SSM的美容院管理系统(附源码+项目展示)
基于SSM的美容院管理系统(附源码+项目展示)
2022-04-21 17:11:00 【azhou的代码园】
所用技术
后端:SpringBoot+SpringMvc+Mybatis+shiro
前端:thymeleaf+layui
数据库:Mysql
功能模块
会员管理
-
查看会员
-
销售报表
产品管理
-
产品分类
-
产品列表
-
销售报表
-
库存报表
顾客管理
-
查看顾客
-
顾客活跃度
套餐管理
-
套餐列表
-
销售报表
系统管理
-
角色管理
-
用户管理
-
系统配置
店内收入
-
查看收入
代码示例
package com.mh.emp.controller;
import com.mh.emp.entity.EmpManager;
import com.mh.emp.entity.Emprattendance;
import com.mh.emp.service.EmpManagerService;
import com.mh.model.LayuiTableResult;
import com.mh.model.PageBean;
import com.mh.model.Result;
import com.mh.sys.entity.Emp;
import com.mh.util.SessionUtil;
import org.apache.shiro.session.Session;
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.ResponseBody;
import javax.servlet.http.HttpSession;
import java.util.List;
/**
* @Author MH
* @Date 2020/1/13 12:01
* 员工管理
*/
@Controller
@RequestMapping("emp")
public class EmpManagerController {
@Autowired
private EmpManagerService empManagerService;
//去员工管理页面
@RequestMapping("empManagerPage")
public String empManagerPage(Model model, HttpSession session){
//查询有没有签到
Emp user = SessionUtil.getUser(session);
Result result=empManagerService.getEmpRattendance(user);
System.out.println(result);
model.addAttribute("result",result);
return "emp/empManagerPage";
}
//页面加载获取员工数据
@RequestMapping("pageQuery")
@ResponseBody
public LayuiTableResult pageQuery(String empname, String emptype, PageBean pageBean) {
LayuiTableResult layuiTableResult = empManagerService.getEmps(empname, emptype, pageBean);
return layuiTableResult;
}
//签到
@RequestMapping("sign")
@ResponseBody
public Result sign(Emprattendance emprattendance){
Result result= empManagerService.signIn(emprattendance);
return result;
}
//考勤列表
@RequestMapping("signListPage/{id}")
public String signListPage(Model model,@PathVariable("id") Integer id,EmpManager empManager) {
model.addAttribute("empid",id);
model.addAttribute("empManager",empManager);
return "/emp/signListPage";
}
//考勤列表
@RequestMapping("signList")
@ResponseBody
public LayuiTableResult signList(Emprattendance emprattendance,PageBean pageBean) {
LayuiTableResult layuiTableResult=empManagerService.signList(emprattendance,pageBean);
return layuiTableResult;
}
}


















版权声明
本文为[azhou的代码园]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_46228112/article/details/124317521
边栏推荐
- MySQL sets 2 primary keys
- golang 二进制分析与逆向
- R language data export (data saving, export and persistence to local specified directory file), write using xlsx package Xlsx function exports dataframe to excel file XLS format instead of xlsx format
- 169. 多数元素
- 结构体malloc bug
- Quick MTF,镜头图像质量测试应用程序
- 【SOGAF】SOGAF架构类型/模式
- 解读论文记录 指出经典的RMS证明过程小错误的一个论文的解读
- 不同环境下控制@Schedule 开启
- 检测、跟踪、行为识别All-In-One!产业级行人分析系统重磅开源!
猜你喜欢

How to judge whether a binary differential equation is a total differential

mysql为数据库表起别名的注意事项

824. Goat Latin

Summary of Wu Enda's course of machine learning (I)

. net treasure API: ihostedservice, background task execution

Interpretation of a paper that points out the small errors in the classic RMS proof process

DPI发布AI药物研发最新进展报告

CSP Darknet53

Tips for idea cup filling -- Realizing mouse sliding guide bag

Win10 bridging network card enables QEMU virtual machine to access the network normally
随机推荐
Precautions for MySQL aliasing database tables
MySQL查询语句关键字执行的优先级问题
Shell case series 5 Oracle detects whether there are invalid objects
Microcomputer principle and interface technology -- electronic organ experiment report
Database Principle -- library management system
/etc/passwd的利用
1044. 最长重复子串
Win10桥接网卡使得qemu虚拟机可以正常访问网络
Vivado验证Vitis HLS生成的IP核
(自用)远程调用时参数2个RequestParam注解
Jira Seraph 中的身份验证绕过漏洞(CVE-2022-0540)
How to quickly clear the file records when using Zhixing bridge EDI system for stress test
使用知行之桥EDI系统做压力测试时如何快速清除文件记录
众测、专属、渗透测试捡破烂小tips
The R language uses the grepl function to check whether the substring exists in the specified string and the string matches. It is responsible for searching whether the given string object contains a
Conception d'un cas d'essai basé sur l'interface de chiffrement pour le forage pratique de marchandises sèches
mysql为数据库表起别名的注意事项
Win10 bridging network card enables QEMU virtual machine to access the network normally
Common problems and solutions of redis distributed lock
【免费】某平台19860元编程课程资料下载,仅此1次