Giter Club home page Giter Club logo

oerp's Introduction

logo

Github Action Spring Boot MyBatis Plus LISENCE

介绍

OERP 是 Online Examination Registration Platform 的缩写,中文名称为:在线考试报名平台

该仓库是 OERP 服务端代码仓库,使用 SpringBoot + Mybatis Plus + MySQL 实现。

开发环境

  • Java 8 及以上
  • IDEA 2020.1
  • IDEA 需要安装插件 Lombok

快速开始

  • 在你的数据库中新建一个名为oerp的数据库

  • 导入仓库目录/src/main/resources/oerp.sql的 SQL 文件

  • 修改/src/main/resources/application.yml中的spring.datasource配置为你自己的数据库信息

  • IDEA 或 Eclipse 中启动项目

  • 访问网址 http://localhost:8080/api/v1,看到如下文字代表系统启动成功:

    启动成功截图

目录结构

|-- src
    |-- main
        |-- java
        |   |-- com.juzi.oerp
        |       |-- OerpApplication.java   -> SpringBoot 启动类
        |       |-- common                 -> 项目通用类
        |       |   |-- aop                -> 切面拦截类
        |       |   |-- constant           -> 常量
        |       |   |-- exception          -> 自定义异常
        |       |   |-- interceptor        -> 拦截器(身份认证、权限拦截)
        |       |   |-- jackson            -> Jackson 相关
        |       |   |-- store              -> 存储型对象(存储当前登录用户的信息)
        |       |-- configuration          -> 系统配置
        |       |   |-- properties         -> 自定义配置
        |       |-- controller             -> 系统 API 接口
        |       |-- dao                    -> 自定义 DAO 层接口(主要做多表查询)
        |       |-- mapper                 -> MyBatis Plus Generator 生成的 DAO 接口(主要做单表 CRUD)
        |       |-- model                  -> Java POJO
        |       |   |-- dto                -> 数据传输对象(主要用在 Controller 与 Service 层之间)
        |       |   |   |-- analysis       -> 数据分析相关 DTO 对象
        |       |   |   |-- param          -> 用于 Controller 层接收参数的对象
        |       |   |-- po                 -> 持久层对象(和数据库表一一对应,用在 DAO 层)
        |       |   |-- vo                 -> 视图层对象(作为 Controller 的返回值)
        |       |-- service                -> 服务层
        |       |-- util                   -> 通用工具类(JWT Token 生成等)
        |-- resources
            |-- application.yml            -> Spring Boot 配置文件
            |-- banner.txt
            |-- oerp.sql                   -> 数据库 SQL 文件(数据库名为 oerp)
            |-- code-message.properties    -> 响应信息定义
            |-- mybatis
                |-- xml
                    |-- dao                -> 自定义 Mybatis Xml
                    |-- mapper             -> MyBatis Plus Generator 生成的 MyBatis Xml

项目截图

用户端

首页

个人中心

登录

考试报名

贡献

欢迎提交 Pull Request 进行代码贡献

协议

MIT © 2020 桔子

oerp's People

Contributors

bigfish2020 avatar dependabot[bot] avatar juzi214032 avatar zshifu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.