commit f9d9a4a254a71a3bae419cc3c2d4959ae412724a
Author: 17737207832 <18103773227@163.com>
Date: Tue Mar 11 09:11:42 2025 +0800
代码初始化
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..2959201
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,3 @@
+*.js linguist-language=java
+*.css linguist-language=java
+*.html linguist-language=java
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..bdd1e1a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,17 @@
+*.class
+
+# Package Files #
+*.war
+*.ear
+
+class
+.idea
+*.iml
+.settings
+*.classpath
+/bin
+classes
+/target/
+/.project/
+/.metadata/
+/logs/
\ No newline at end of file
diff --git a/.project b/.project
new file mode 100644
index 0000000..093fdac
--- /dev/null
+++ b/.project
@@ -0,0 +1,17 @@
+
+
+ skyeye
+
+
+
+
+
+ org.eclipse.m2e.core.maven2Builder
+
+
+
+
+
+ org.eclipse.m2e.core.maven2Nature
+
+
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..914aff9
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2024 智能制造云办公
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.en.md b/README.en.md
new file mode 100644
index 0000000..120cd5d
--- /dev/null
+++ b/README.en.md
@@ -0,0 +1,36 @@
+# erp_pro
+
+#### Description
+基于SpringBoot框架和SaaS模式,立志为中小企业提供开源好用的ERP软件,目前专注进销存+财务功能。主要模块有零售管理、采购管理、销售管理、仓库管理、财务管理、报表查询、系统管理等。支持预付款、收入支出、仓库调拨、组装拆卸、订单等特色功能。拥有库存状况、出入库统计等报表。同时对角色和权限进行了细致全面控制,精确到每个按钮和菜单。
+
+#### Software Architecture
+Software architecture description
+
+#### Installation
+
+1. xxxx
+2. xxxx
+3. xxxx
+
+#### Instructions
+
+1. xxxx
+2. xxxx
+3. xxxx
+
+#### Contribution
+
+1. Fork the repository
+2. Create Feat_xxx branch
+3. Commit your code
+4. Create Pull Request
+
+
+#### Gitee Feature
+
+1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
+2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
+3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
+4. The most valuable open source project [GVP](https://gitee.com/gvp)
+5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
+6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
\ No newline at end of file
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..e22265d
--- /dev/null
+++ b/README.md
@@ -0,0 +1,190 @@
+# :tw-1f308: erp-pro
+
+> Skyeye云源代码,采用Springboot + winUI + UNI-APP的低代码平台开发模式。包含30多个应用模块、50多种电子流程,CRM、PM、ERP、MES、ADM、EHR、笔记、知识库、项目、门店、商城、财务、多班次考勤、薪资、招聘、云售后、论坛、公告、问卷、报表设计、工作流、日程、云盘等全面管理,实现智能制造行业一体化管理。
+
+**郑重声明:**
+
+**1. Skyeye云【源代码】针对 {星球用户} 开源。拿到源码后可进行学习、毕设、企业等使用。**
+
+**2. [开发文档](https://articles.zsxq.com/id_xi3xhacte72g.html) [视频教程](https://space.bilibili.com/87396008/channel/series)**
+
+**3. [常见问题](https://gitee.com/dromara/skyeye/blob/company_server/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98.md),优先看这个。《《《《《《《《《《《《《《这个文件必看,有`移动端`的详细说明。**
+
+**4. 我们的功能多达500个功能点,包含PC和移动端。本着`姜太公钓鱼愿者上钩`的心态来开放星球用户。`Skyeye云的功能是全网最全,价格最低的一款软件,没有之一`。如果你买了之后觉得不划算,那么进入星球后1个月内你可以找一套具备相同功能的软件源码提供给作者,并给作者提供一年的免费更新和维护,作者会原价退还给您。**
+
+**为什么推荐使用本项目?**
+
+① 无论你是学生、个人与企业,进入星球后皆可 100% 免费使用,不用保留类作者、Copyright 信息。
+
+② 代码全部开放,让你可以了解整个项目的架构设计。
+
+③ 具备低代码、功能全面、快速便捷开发、无需重复的CRUD等优点,短时间内可完成一款系统的开发。
+
+④ [国产开源项目对比--以及Skyeye云功能点](https://docs.qq.com/sheet/DYUtPdWhTbVBITlpL?tab=000001)。
+
+
+
+本项目的GitCode地址: https://gitcode.com/doc_wei/erp-pro
+
+## 🐶 沟通交流
+
+| | 知识星球 | 微信公众号(Skyeye智能制造云办公) | QQ交流群 |
+|:---------------------:|:---------------------:|:--------------------------------:|:--------------------------------:|
+| 微信扫码 |  |  |  |
+
+## 项目框架介绍
+
+### 环境依赖
+
+| 依赖 | 版本 | 端口 |
+|:---------------------:|:---------------------:|:---------------------:|
+| Java | 1.8 | 无 |
+| rocket MQ | 4.9.2 | 9876 |
+| Redis | 5.0 / 6.0 | 6379 |
+| nacos | 2.3.0 | 9000 |
+| MySQL | 5.7或更高版本 | 3308 |
+
+### 微服务项目
+
+> 介绍整体微服务的目录结构以及端口的占用情况。
+
+| 工程 | 端口 | 介绍 | jar包名称 |
+|:---------------------:|:---------------------:|:---------------------:|:---------------------:|
+| - | - | 后台微服务公共配置项 |
+|skyeye-web |8080 | **前端工程** |web.jar |
+|skyeye-promote |8081 | **基础工程** (包含用户、组织、权限、API、消息队列、Skyeye系列的服务注册等基础服务), **优先启动该工程** 。 |skyeye-web.jar |
+|skyeye-shop |8082 |商城 |shop-web.jar |
+|skyeye-flowable |8083 |工作流 |flowable-web.jar |
+|skyeye-report |8085 |报表设计器 |report-web.jar |
+|xxl-job-2.3.0 |8200 |定时任务 |xxl-job-admin-2.3.0.jar |
+|skyeye-school |8084 |学校模块 |school-web.jar |
+|skyeye-wages |8101 |薪资模块 |wages-web.jar |
+|skyeye-deploy |8010 |部署模块 |deploy-web.war |
+|skyeye-adm |8103 |行政模块 |adm-web.jar |
+|skyeye-boss |8104 |招聘模块 |boss-web.jar |
+|skyeye-checkwork |8105 |考勤模块 |checkwork-web.jar |
+|skyeye-crm |8102 |客户管理模块 |crm-web.jar |
+|skyeye-ifs |8107 |财务模块 |ifs-web.jar |
+|skyeye-project |8109 |PM项目管理模块 |project-web.jar |
+|skyeye-erp |8106 |ERP+生产模块 |erp-web.jar |
+|skyeye-seal-service |8108 |售后服务模块 |seal-service-web.jar |
+
+## :tw-1f31e: 架构介绍
+
+
+
+### :jack_o_lantern: 技术选型
+
+#### 后端技术:
+
+| 框架 | 说明 | 版本 | 学习指南 |
+|---|---|---|---|
+| [Spring Cloud Alibaba](https://github.com/alibaba/spring-cloud-alibaba) | 微服务框架 | 2.1.0.RELEASE | [文档](https://github.com/YunaiV/SpringBoot-Labs) |
+| [Nacos](https://nacos.io/) | 配置中心 & 注册中心 | 1.4.3 | [文档](https://nacos.io/docs/v1/what-is-nacos/) |
+| [RocketMQ](https://rocketmq.apache.org/zh/) | 消息队列 | 4.0.0 | [文档](https://rocketmq.apache.org/zh/docs/4.x/) |
+| [Sentinel](https://github.com/alibaba/sentinel) | 服务保障| 2.1.0.RELEASE | [文档](https://zhuanlan.zhihu.com/p/681044230) |
+| [XXL Job](https://github.com/xuxueli/xxl-job) | 定时任务 | 2.3.0 | [文档](https://www.xuxueli.com/xxl-job/#google_vignette) |
+| [Spring Cloud Zuul](https://cloud.spring.io/spring-cloud-netflix/multi/multi__router_and_filter_zuul.html) | 服务网关 | 3.4.1 | [文档](https://www.jianshu.com/p/cf748031a08d) |
+| [MySQL](https://www.mysql.com/cn/) | 数据库服务器 | 5.7 / 8.0+ | |
+| [Druid](https://github.com/alibaba/druid) | JDBC 连接池、监控组件 | 1.2.23 | [文档](https://zhuanlan.zhihu.com/p/555116830) |
+| [MyBatis Plus](https://baomidou.com/) | MyBatis 增强工具包 | 3.5.7 | [文档](https://baomidou.com/introduce/) |
+| [Redis](https://redis.io/) | key-value 数据库 | 5.0 / 6.0 | |
+| [Flowable](https://github.com/flowable/flowable-engine) | 工作流引擎 | 6.8.0 | [文档](https://doc.iocoder.cn/bpm/) |
+| [Spring Boot Admin](https://github.com/codecentric/spring-boot-admin) | Spring Boot 监控平台 | 2.0.3 | [文档](https://blog.51cto.com/u_15916106/7063036) |
+| [hutool](https://www.hutool.cn/) | 一个小而全的Java工具类库 | 5.5.4 | [文档](https://doc.hutool.cn/pages/index/) |
+| [Lombok](https://projectlombok.org/) | 消除冗长的 Java 代码 | 1.16.22 | [文档](https://zhuanlan.zhihu.com/p/32779910) |
+| [JUnit](https://junit.org/junit5/) | Java 单元测试框架 | 4.12 | - |
+
+#### 前端技术:
+
+| 框架 | 技术 | 版本 | 学习指南 |
+|---|---|---|---|
+|[layui](https://layui.uimaker.com/)|模块化前端UI| 2.6.7 | [文档](https://layui.uimaker.com/doc/index.html) |
+|winui|win10风格UI|自研|-|
+|[uni-app](https://uniapp.dcloud.net.cn/)|一个使用Vue.js开发所有前端应用的框架,开发者编写一套代码,可发布到iOS、Android、Web(响应式)、以及各种小程序、快应用等多个平台。| VUE3 |[文档](https://uniapp.dcloud.net.cn/component/)|
+
+## :tw-1f30f: PC端效果图
+
+### 基础内容
+|功能| 效果图 | 效果图 | 效果图 |
+|----|-------|-----|------|
+|组件管理||||
+|布局/操作/属性管理||||
+|菜单/角色/编码管理||||
+
+### CRM
+|功能| 效果图 | 效果图 | 效果图 |
+|----|-------|-----|------|
+|客户管理(包括合同、跟单、文档等)||||
+|客户管理(包括合同、跟单、文档等)||||
+|报表分析||||
+
+### ERP
+|功能| 效果图 | 效果图 | 效果图 |
+|----|-------|-----|------|
+|商品管理 **(支持一物一码)** ||||
+|采购模块||||
+|采购模块||||
+|销售模块||||
+|报表模块||||
+
+### ERP仓库
+|功能| 效果图 | 效果图 | 效果图 |
+|----|-------|-----|------|
+|其他单据管理||||
+|仓库管理||||
+|盘点管理||||
+|出入库管理||||
+|商品条形码||||
+
+### MES生产
+|功能| 效果图 | 效果图 | 效果图 |
+|----|-------|-----|------|
+|生产管理||||
+|设置中心||||
+|物料管理||||
+|生产执行||||
+|物料确认||||
+
+### 行政办公
+|功能| 效果图 | 效果图 | 效果图 |
+|----|-------|-----|------|
+|会议室模块||||
+|用品模块||||
+|资产模块||||
+|公文模块||||
+|印章,证照,车辆||||
+
+### 售后管理模块
+|功能| 效果图 | 效果图 | 效果图 |
+|----|-------|-----|------|
+|工单管理||||
+|配件管理||||
+|工人管理||||
+
+## :tw-1f30f: 移动端效果图
+
+> 移动端和PC端功能类似,这里不截那么多图拉。
+
+### 基础模块
+| 效果图 | 效果图 | 效果图 | 效果图 |
+|--------|-------|-------|-------|
+|||||
+
+### ERP
+
+| 效果图 | 效果图 | 效果图 | 效果图 |
+|--------|-------|-------|-------|
+|||||
+
+### CRM
+
+| 效果图 | 效果图 | 效果图 | 效果图 |
+|--------|-------|-------|-------|
+|||||
+
+### OA
+
+| 效果图 | 效果图 | 效果图 | 效果图 |
+|--------|-------|-------|-------|
+|||||
diff --git a/skyeye-adm/.gitignore b/skyeye-adm/.gitignore
new file mode 100644
index 0000000..b501cc2
--- /dev/null
+++ b/skyeye-adm/.gitignore
@@ -0,0 +1,18 @@
+*.class
+
+# Package Files #
+*.war
+*.ear
+
+class
+.idea
+*.iml
+.settings
+*.classpath
+/bin
+/images/
+classes
+/target/
+/.project/
+/.metadata/
+/logs/
\ No newline at end of file
diff --git a/skyeye-adm/adm-common/.gitignore b/skyeye-adm/adm-common/.gitignore
new file mode 100644
index 0000000..b501cc2
--- /dev/null
+++ b/skyeye-adm/adm-common/.gitignore
@@ -0,0 +1,18 @@
+*.class
+
+# Package Files #
+*.war
+*.ear
+
+class
+.idea
+*.iml
+.settings
+*.classpath
+/bin
+/images/
+classes
+/target/
+/.project/
+/.metadata/
+/logs/
\ No newline at end of file
diff --git a/skyeye-adm/adm-common/lib/aspose-words-15.8.0-jdk16.jar b/skyeye-adm/adm-common/lib/aspose-words-15.8.0-jdk16.jar
new file mode 100644
index 0000000..c0e699f
Binary files /dev/null and b/skyeye-adm/adm-common/lib/aspose-words-15.8.0-jdk16.jar differ
diff --git a/skyeye-adm/adm-common/pom.xml b/skyeye-adm/adm-common/pom.xml
new file mode 100644
index 0000000..84827c2
--- /dev/null
+++ b/skyeye-adm/adm-common/pom.xml
@@ -0,0 +1,34 @@
+
+
+
+ skyeye-adm
+ com.skyeye
+ 1.0-SNAPSHOT
+
+ 4.0.0
+
+ adm-common
+
+
+
+
+
+ com.skyeye
+ skyeye-common-rest
+ 1.0-SNAPSHOT
+
+
+
+
+ com.aspose
+ aspose-words
+ 15.8.0
+ system
+ ${basedir}/lib/aspose-words-15.8.0-jdk16.jar
+
+
+
+
+
\ No newline at end of file
diff --git a/skyeye-adm/adm-common/src/main/java/com/skyeye/constans/DiskCloudConstants.java b/skyeye-adm/adm-common/src/main/java/com/skyeye/constans/DiskCloudConstants.java
new file mode 100644
index 0000000..5c61d58
--- /dev/null
+++ b/skyeye-adm/adm-common/src/main/java/com/skyeye/constans/DiskCloudConstants.java
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright 卫志强 QQ:598748873@qq.com Inc. All rights reserved. 开源地址:https://gitee.com/doc_wei01/skyeye
+ ******************************************************************************/
+
+package com.skyeye.constans;
+
+/**
+ * @ClassName: DiskCloudConstants
+ * @Description: 文件系统相关的常量类
+ * @author: skyeye云系列--卫志强
+ * @date: 2021/6/14 11:48
+ * @Copyright: 2021 https://gitee.com/doc_wei01/skyeye Inc. All rights reserved.
+ * 注意:本内容仅限购买后使用.禁止私自外泄以及用于其他的商业目的
+ */
+public class DiskCloudConstants {
+
+ /**
+ * 文件管理---目录logo图片
+ */
+ public static final String SYS_FILE_CONSOLE_IS_FOLDER_LOGO_PATH = "../../assets/images/icon/folder-show.png";
+
+ // 文件分享路径
+ public static final String getFileShareUrl(String id) {
+ return "tpl/shareFile/shareFilepwd.html?id=" + id;
+ }
+
+}
diff --git a/skyeye-adm/adm-common/src/main/java/com/skyeye/constans/ForumConstants.java b/skyeye-adm/adm-common/src/main/java/com/skyeye/constans/ForumConstants.java
new file mode 100644
index 0000000..e525f97
--- /dev/null
+++ b/skyeye-adm/adm-common/src/main/java/com/skyeye/constans/ForumConstants.java
@@ -0,0 +1,83 @@
+/*******************************************************************************
+ * Copyright 卫志强 QQ:598748873@qq.com Inc. All rights reserved. 开源地址:https://gitee.com/doc_wei01/skyeye
+ ******************************************************************************/
+
+package com.skyeye.constans;
+
+/**
+ * @ClassName: ForumConstants
+ * @Description: 论坛系统常量类
+ * @author: skyeye云系列--卫志强
+ * @date: 2021/6/15 21:44
+ * @Copyright: 2021 https://gitee.com/doc_wei01/skyeye Inc. All rights reserved.
+ * 注意:本内容仅限购买后使用.禁止私自外泄以及用于其他的商业目的
+ */
+public class ForumConstants {
+
+ // 获取上线的论坛标签
+ public static final String FORUM_TAG_UP_STATE_LIST = "forum_tag_up_state_list";
+
+ // 获取论坛敏感词的redis的key
+ public static final String FORUM_SENSITIVE_WORDS_ALL = "forum_sensitive_words_all";
+
+ public static String forumSensitiveWordsAll() {
+ return FORUM_SENSITIVE_WORDS_ALL;
+ }
+
+ // 获取论坛帖子评论量的redis的key(实时的)
+ public static final String FORUM_COMMENT_NUMS_BY_ = "forum_comment_nums_by_";
+
+ public static String forumCommentNumsByForumId(String forumId) {
+ return FORUM_COMMENT_NUMS_BY_ + forumId;
+ }
+
+ // 获取论坛帖子评论量的redis的key(执行上一次定时任务时的)
+ public static final String FORUMYESTERDAY_COMMENT_NUMS_BYFORUMID = "forum_yesterday_comment_nums_by_";
+
+ public static String forumYesterdayCommentNumsByForumId(String forumId) {
+ return FORUMYESTERDAY_COMMENT_NUMS_BYFORUMID + forumId;
+ }
+
+ // 获取论坛帖子浏览量的redis的key(实时的)
+ public static final String FORUM_BROWSE_NUMS_BYFORUMID = "forum_browse_nums_by_";
+
+ public static String forumBrowseNumsByForumId(String forumId) {
+ return FORUM_BROWSE_NUMS_BYFORUMID + forumId;
+ }
+
+ // 获取论坛帖子浏览量的redis的key(执行上一次定时任务时的)
+ public static final String FORUMYESTERDAY_BROWSE_NUMS_BYFORUMID = "forum_yesterday_browse_nums_by_";
+
+ public static String forumYesterdayBrowseNumsByForumId(String forumId) {
+ return FORUMYESTERDAY_BROWSE_NUMS_BYFORUMID + forumId;
+ }
+
+ // 获取用户论坛帖子浏览信息的redis的key
+ public static final String FORUM_BROWSE_MATION_BYUSERID = "forum_browse_mation_by_";
+
+ public static String forumBrowseMationByUserid(String userId) {
+ return FORUM_BROWSE_MATION_BYUSERID + userId;
+ }
+
+ // 获取论坛帖子每天被浏览过帖子的redis的key
+ public static final String FORUM_EVERYDAY_BROWSE_IDS_BYTIME = "forum_everyday_browse_ids_by_";
+
+ public static String forumEverydayBrowseIdsByTime(String time) {
+ return FORUM_EVERYDAY_BROWSE_IDS_BYTIME + time;
+ }
+
+ // 获取论坛每个帖子每天的浏览和评论数的redis的key
+ public static final String EVERYFORUM_EVERYDAY_NUMS_BY_ = "everyforum_everyday_nums_by_";
+
+ public static String everyforumEverydayNumsByIdAndTime(String id, String time) {
+ return EVERYFORUM_EVERYDAY_NUMS_BY_ + id + "_" + time;
+ }
+
+ // 获取solr同步数据的时间的redis的key
+ public static final String FORUM_SOLR_SYNCHRONOUSTIME = "forum_solr_synchronoustime";
+
+ public static String forumSolrSynchronoustime() {
+ return FORUM_SOLR_SYNCHRONOUSTIME;
+ }
+
+}
diff --git a/skyeye-adm/adm-common/src/main/java/com/skyeye/constans/NoteConstants.java b/skyeye-adm/adm-common/src/main/java/com/skyeye/constans/NoteConstants.java
new file mode 100644
index 0000000..660a749
--- /dev/null
+++ b/skyeye-adm/adm-common/src/main/java/com/skyeye/constans/NoteConstants.java
@@ -0,0 +1,46 @@
+/*******************************************************************************
+ * Copyright 卫志强 QQ:598748873@qq.com Inc. All rights reserved. 开源地址:https://gitee.com/doc_wei01/skyeye
+ ******************************************************************************/
+
+package com.skyeye.constans;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @ClassName: NoteConstants
+ * @Description: 笔记系统相关的常量类
+ * @author: skyeye云系列--卫志强
+ * @date: 2021/6/14 11:55
+ * @Copyright: 2021 https://gitee.com/doc_wei01/skyeye Inc. All rights reserved.
+ * 注意:本内容仅限购买后使用.禁止私自外泄以及用于其他的商业目的
+ */
+public class NoteConstants {
+
+ /**
+ * 获取我的笔记默认的文件夹
+ *
+ * @return
+ */
+ public static final List