# eims6 **Repository Path**: MoqiLintong/eims6 ## Basic Information - **Project Name**: eims6 - **Description**: 2020-2021学年第三学期专业实习项目,手机店进销存系统 - **Primary Language**: Java - **License**: GPL-2.0 - **Default Branch**: primary - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-09-02 - **Last Updated**: 2025-10-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: 手机店进销存系统, Spring-DATA-JPA, JSF, PrimeFaces ## README # eims 企业进销存系统 ### 1. 介绍 本项目为昆明理工大学管理与经济学院信息管理与信息系统专业2018级本科生 2020-2021 学年第三学期专业实习项目,主要实现一个简易手机店进销存系统。 ### 2. 软件架构 进销存系统分为销售、收银和库存管理等3个子系统,基本涵盖手机店运营过程中的销售,退货和收货等业务。 本项目开发中采用的数据库为 SQL Server(但考虑到云服务器的配置,在线演示采用的数据库为 MariaDB); 前端页面展示采用 JSF 框架,其中相关代码主要参考 [PrimeFaces Showcases v.10](http://primefaces.org/showcase/index.xhtml?jfwid=c5bd3) ; 后端主要采用 Spring + Spring Data JPA + Hibernate,而前端 JSF 与后端 Spring 的结合参考教程 [JavaServer Faces (JSF) with Spring](https://www.baeldung.com/spring-jsf)。 项目分为 `model`层,`repository`层,`service`层,`servlet`层和`view`层;另外还有一些工具类,或者没有在`service` 层实现的功能统一放在 `util`中。 ### 3. 克隆教程 ```shell git clone -b primary https://gitee.com/MoqiLintong/eims6.git # 如果已在 Gitee 上添加过 SSH 公钥,可使用下面的命令克隆本项目 git clone -b primary git@gitee.com:MoqiLintong/eims6.git ``` ### 4. 打包教程 项目采用 Maven 进行组织,Maven 的配置请参考 [阿里云 Maven 仓库服务](https://developer.aliyun.com/mvn/guide?spm=a2c6h.12908639.J_1365437.5.652d6886rymsW7); ```shell # 使用本命令前务必已将 mvn 命令增加到环境变量 mvn clean package -Dtest.skip=true ``` 将项目根目录 `target` 文件夹下生成的 war 包部署在 Apache Tomcat 应用服务器上,在浏览器地址栏输入 http://localhost:8080/eims6/faces/login.xthml 即可访问