网上考勤系统
部署地址:123.249.5.227:8080
部署方式:
修改application-production中的数据库配置
# 将项目打成jar包
mvn package
# 启动项目
java -jar target/daily-0.0.1-SNAPSHOT.jar --spring.profiles.active=production
执行sql文件夹下的建表语句
docker部署应用:
docker-compose up -d
项目结构:
|—— sql 建表文件
|—— src/...
|—— com
|—— travelforthree
|—— daily
|—— aspect AOP切面及其处理器
|—— componet 配置类需要的组件
|—— config 应用配置
|—— constant 应用所需常量
|—— controller 控制器
|—— cron 定时任务
|—— domain 数据库实体
|—— dto 数据传输对象
|—— exception 自定义异常类
|—— mapper 数据库访问层
|—— service 服务层
|—— utils 工具类
|—— vo 视图对象
|—— resources
|—— static 静态文件
|—— webapp
|—— WEB-INF
|—— views jsp视图