Commit 94153cb59efafd656e0fa0e68eb81e24bb4462a2
1 parent
eefd787d
✨ 增加 ERP 系统的介绍
Showing
9 changed files
with
79 additions
and
19 deletions
.image/common/erp-feature.png
0 → 100644
45.9 KB
README.md
| @@ -128,6 +128,8 @@ | @@ -128,6 +128,8 @@ | ||
| 128 | * 数据报表 | 128 | * 数据报表 |
| 129 | * 商城系统 | 129 | * 商城系统 |
| 130 | * 微信公众号 | 130 | * 微信公众号 |
| 131 | +* ERP 系统 | ||
| 132 | +* CRM 系统 | ||
| 131 | 133 | ||
| 132 | > 友情提示:本项目基于 RuoYi-Vue 修改,**重构优化**后端的代码,**美化**前端的界面。 | 134 | > 友情提示:本项目基于 RuoYi-Vue 修改,**重构优化**后端的代码,**美化**前端的界面。 |
| 133 | > | 135 | > |
| @@ -247,23 +249,31 @@ | @@ -247,23 +249,31 @@ | ||
| 247 | | 🚀 | 会员分组 | 对会员进行分组,用于用户画像、内容推送等运营手段 | | 249 | | 🚀 | 会员分组 | 对会员进行分组,用于用户画像、内容推送等运营手段 | |
| 248 | | 🚀 | 积分签到 | 回馈给签到、消费等行为的积分,会员可订单抵现、积分兑换等途径消耗 | | 250 | | 🚀 | 积分签到 | 回馈给签到、消费等行为的积分,会员可订单抵现、积分兑换等途径消耗 | |
| 249 | 251 | ||
| 252 | +### ERP 系统 | ||
| 253 | + | ||
| 254 | + | ||
| 255 | + | ||
| 256 | +演示地址:<https://doc.iocoder.cn/erp-preview/> | ||
| 257 | + | ||
| 250 | ## 🐨 技术栈 | 258 | ## 🐨 技术栈 |
| 251 | 259 | ||
| 252 | ### 模块 | 260 | ### 模块 |
| 253 | 261 | ||
| 254 | -| 项目 | 说明 | | ||
| 255 | -|--------------------------------------------------------------------------|--------------------| | ||
| 256 | -| `yudao-dependencies` | Maven 依赖版本管理 | | ||
| 257 | -| `yudao-framework` | Java 框架拓展 | | ||
| 258 | -| `yudao-server` | 管理后台 + 用户 APP 的服务端 | | ||
| 259 | -| `yudao-module-system` | 系统功能的 Module 模块 | | ||
| 260 | -| `yudao-module-member` | 会员中心的 Module 模块 | | ||
| 261 | -| `yudao-module-infra` | 基础设施的 Module 模块 | | ||
| 262 | -| `yudao-module-bpm` | 工作流程的 Module 模块 | | ||
| 263 | -| `yudao-module-pay` | 支付系统的 Module 模块 | | ||
| 264 | -| `yudao-module-mall` | 商城系统的 Module 模块 | | ||
| 265 | -| `yudao-module-mp` | 微信公众号的 Module 模块 | | ||
| 266 | -| `yudao-module-report` | 大屏报表 Module 模块 | | 262 | +| 项目 | 说明 | |
| 263 | +|-----------------------|--------------------| | ||
| 264 | +| `yudao-dependencies` | Maven 依赖版本管理 | | ||
| 265 | +| `yudao-framework` | Java 框架拓展 | | ||
| 266 | +| `yudao-server` | 管理后台 + 用户 APP 的服务端 | | ||
| 267 | +| `yudao-module-system` | 系统功能的 Module 模块 | | ||
| 268 | +| `yudao-module-member` | 会员中心的 Module 模块 | | ||
| 269 | +| `yudao-module-infra` | 基础设施的 Module 模块 | | ||
| 270 | +| `yudao-module-bpm` | 工作流程的 Module 模块 | | ||
| 271 | +| `yudao-module-pay` | 支付系统的 Module 模块 | | ||
| 272 | +| `yudao-module-mall` | 商城系统的 Module 模块 | | ||
| 273 | +| `yudao-module-erp` | ERP 系统的 Module 模块 | | ||
| 274 | +| `yudao-module-crm` | CRM 系统的 Module 模块 | | ||
| 275 | +| `yudao-module-mp` | 微信公众号的 Module 模块 | | ||
| 276 | +| `yudao-module-report` | 大屏报表 Module 模块 | | ||
| 267 | 277 | ||
| 268 | ### 框架 | 278 | ### 框架 |
| 269 | 279 |
yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/banner/core/BannerApplicationRunner.java
| @@ -46,6 +46,10 @@ public class BannerApplicationRunner implements ApplicationRunner { | @@ -46,6 +46,10 @@ public class BannerApplicationRunner implements ApplicationRunner { | ||
| 46 | if (isNotPresent("cn.iocoder.yudao.module.trade.framework.web.config.TradeWebConfiguration")) { | 46 | if (isNotPresent("cn.iocoder.yudao.module.trade.framework.web.config.TradeWebConfiguration")) { |
| 47 | System.out.println("[商城系统 yudao-module-mall - 已禁用][参考 https://doc.iocoder.cn/mall/build/ 开启]"); | 47 | System.out.println("[商城系统 yudao-module-mall - 已禁用][参考 https://doc.iocoder.cn/mall/build/ 开启]"); |
| 48 | } | 48 | } |
| 49 | + // ERP 系统 | ||
| 50 | + if (isNotPresent("cn.iocoder.yudao.module.erp.framework.web.config.ErpWebConfiguration")) { | ||
| 51 | + System.out.println("[ERP 系统 yudao-module-erp - 已禁用][参考 https://doc.iocoder.cn/erp/build/ 开启]"); | ||
| 52 | + } | ||
| 49 | // 支付平台 | 53 | // 支付平台 |
| 50 | if (isNotPresent("cn.iocoder.yudao.module.pay.framework.pay.config.PayConfiguration")) { | 54 | if (isNotPresent("cn.iocoder.yudao.module.pay.framework.pay.config.PayConfiguration")) { |
| 51 | System.out.println("[支付系统 yudao-module-pay - 已禁用][参考 https://doc.iocoder.cn/pay/build/ 开启]"); | 55 | System.out.println("[支付系统 yudao-module-pay - 已禁用][参考 https://doc.iocoder.cn/pay/build/ 开启]"); |
yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/web/core/handler/GlobalExceptionHandler.java
| @@ -313,7 +313,13 @@ public class GlobalExceptionHandler { | @@ -313,7 +313,13 @@ public class GlobalExceptionHandler { | ||
| 313 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), | 313 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), |
| 314 | "[商城系统 yudao-module-mall - 已禁用][参考 https://doc.iocoder.cn/mall/build/ 开启]"); | 314 | "[商城系统 yudao-module-mall - 已禁用][参考 https://doc.iocoder.cn/mall/build/ 开启]"); |
| 315 | } | 315 | } |
| 316 | - // 5. 支付平台 | 316 | + // 5. ERP 系统 |
| 317 | + if (message.contains("erp_")) { | ||
| 318 | + log.error("[ERP 系统 yudao-module-erp - 表结构未导入][参考 https://doc.iocoder.cn/erp/build/ 开启]"); | ||
| 319 | + return CommonResult.error(NOT_IMPLEMENTED.getCode(), | ||
| 320 | + "[ERP 系统 yudao-module-erp - 表结构未导入][参考 https://doc.iocoder.cn/erp/build/ 开启]"); | ||
| 321 | + } | ||
| 322 | + // 6. 支付平台 | ||
| 317 | if (message.contains("pay_")) { | 323 | if (message.contains("pay_")) { |
| 318 | log.error("[支付模块 yudao-module-pay - 表结构未导入][参考 https://doc.iocoder.cn/pay/build/ 开启]"); | 324 | log.error("[支付模块 yudao-module-pay - 表结构未导入][参考 https://doc.iocoder.cn/pay/build/ 开启]"); |
| 319 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), | 325 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), |
yudao-module-erp/yudao-module-erp-biz/src/main/java/cn/iocoder/yudao/module/erp/framework/package-info.java
0 → 100644
yudao-module-erp/yudao-module-erp-biz/src/main/java/cn/iocoder/yudao/module/erp/framework/web/config/ErpWebConfiguration.java
0 → 100644
| 1 | +package cn.iocoder.yudao.module.erp.framework.web.config; | ||
| 2 | + | ||
| 3 | +import cn.iocoder.yudao.framework.swagger.config.YudaoSwaggerAutoConfiguration; | ||
| 4 | +import org.springdoc.core.models.GroupedOpenApi; | ||
| 5 | +import org.springframework.context.annotation.Bean; | ||
| 6 | +import org.springframework.context.annotation.Configuration; | ||
| 7 | + | ||
| 8 | +/** | ||
| 9 | + * erp 模块的 web 组件的 Configuration | ||
| 10 | + * | ||
| 11 | + * @author 芋道源码 | ||
| 12 | + */ | ||
| 13 | +@Configuration(proxyBeanMethods = false) | ||
| 14 | +public class ErpWebConfiguration { | ||
| 15 | + | ||
| 16 | + /** | ||
| 17 | + * erp 模块的 API 分组 | ||
| 18 | + */ | ||
| 19 | + @Bean | ||
| 20 | + public GroupedOpenApi tradeGroupedOpenApi() { | ||
| 21 | + return YudaoSwaggerAutoConfiguration.buildGroupedOpenApi("erp"); | ||
| 22 | + } | ||
| 23 | + | ||
| 24 | +} |
yudao-module-erp/yudao-module-erp-biz/src/main/java/cn/iocoder/yudao/module/erp/framework/web/package-info.java
0 → 100644
yudao-server/pom.xml
| @@ -88,11 +88,11 @@ | @@ -88,11 +88,11 @@ | ||
| 88 | <!-- </dependency>--> | 88 | <!-- </dependency>--> |
| 89 | 89 | ||
| 90 | <!-- CRM 相关模块。默认注释,保证编译速度 --> | 90 | <!-- CRM 相关模块。默认注释,保证编译速度 --> |
| 91 | - <dependency> | ||
| 92 | - <groupId>cn.iocoder.boot</groupId> | ||
| 93 | - <artifactId>yudao-module-crm-biz</artifactId> | ||
| 94 | - <version>${revision}</version> | ||
| 95 | - </dependency> | 91 | +<!-- <dependency>--> |
| 92 | +<!-- <groupId>cn.iocoder.boot</groupId>--> | ||
| 93 | +<!-- <artifactId>yudao-module-crm-biz</artifactId>--> | ||
| 94 | +<!-- <version>${revision}</version>--> | ||
| 95 | +<!-- </dependency>--> | ||
| 96 | 96 | ||
| 97 | <!-- ERP 相关模块。默认注释,保证编译速度 --> | 97 | <!-- ERP 相关模块。默认注释,保证编译速度 --> |
| 98 | <dependency> | 98 | <dependency> |
yudao-server/src/main/java/cn/iocoder/yudao/server/controller/DefaultController.java
| @@ -35,6 +35,12 @@ public class DefaultController { | @@ -35,6 +35,12 @@ public class DefaultController { | ||
| 35 | "[商城系统 yudao-module-mall - 已禁用][参考 https://doc.iocoder.cn/mall/build/ 开启]"); | 35 | "[商城系统 yudao-module-mall - 已禁用][参考 https://doc.iocoder.cn/mall/build/ 开启]"); |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | + @RequestMapping("/admin-api/erp/**") | ||
| 39 | + public CommonResult<Boolean> erp404() { | ||
| 40 | + return CommonResult.error(NOT_IMPLEMENTED.getCode(), | ||
| 41 | + "[ERP 模块 yudao-module-erp - 已禁用][参考 https://doc.iocoder.cn/erp/build/ 开启]"); | ||
| 42 | + } | ||
| 43 | + | ||
| 38 | @RequestMapping(value = {"/admin-api/report/**"}) | 44 | @RequestMapping(value = {"/admin-api/report/**"}) |
| 39 | public CommonResult<Boolean> report404() { | 45 | public CommonResult<Boolean> report404() { |
| 40 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), | 46 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), |