From 71dca95ea3a3b576d001cfc17efb7d8fbec5a882 Mon Sep 17 00:00:00 2001 From: chenyuan <1154693969@qq.com> Date: Tue, 21 May 2024 00:43:05 +0800 Subject: [PATCH] add mes module --- pom.xml | 1 + sql/mysql/record.sql | 10 +-- yudao-module-mes/pom.xml | 23 ++++++ yudao-module-mes/yudao-module-mes-api/pom.xml | 26 ++++++ .../yudao/module/mes/api/package-info.java | 4 + .../module/mes/enums/ErrorCodeConstants.java | 15 ++++ yudao-module-mes/yudao-module-mes-biz/pom.xml | 79 +++++++++++++++++++ .../admin/ajreport/package-info.java | 1 + .../module/mes/controller/package-info.java | 6 ++ .../mes/convert/ajreport/package-info.java | 4 + .../dal/dataobject/ajreport/package-info.java | 4 + .../mes/dal/mysql/ajreport/package-info.java | 4 + .../module/mes/framework/package-info.java | 6 ++ .../config/SecurityConfiguration.java | 33 ++++++++ .../framework/security/core/package-info.java | 4 + .../web/config/MesWebConfiguration.java | 24 ++++++ .../mes/framework/web/package-info.java | 4 + .../yudao/module/mes/package-info.java | 9 +++ .../mes/service/ajreport/package-info.java | 4 + .../test/resources/application-unit-test.yaml | 53 +++++++++++++ .../src/test/resources/logback.xml | 4 + .../src/test/resources/sql/clean.sql | 0 .../src/test/resources/sql/create_tables.sql | 0 yudao-server/pom.xml | 7 +- 24 files changed, 319 insertions(+), 6 deletions(-) create mode 100644 yudao-module-mes/pom.xml create mode 100644 yudao-module-mes/yudao-module-mes-api/pom.xml create mode 100644 yudao-module-mes/yudao-module-mes-api/src/main/java/cn/iocoder/yudao/module/mes/api/package-info.java create mode 100644 yudao-module-mes/yudao-module-mes-api/src/main/java/cn/iocoder/yudao/module/mes/enums/ErrorCodeConstants.java create mode 100644 yudao-module-mes/yudao-module-mes-biz/pom.xml create mode 100644 yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/ajreport/package-info.java create mode 100644 yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/controller/package-info.java create mode 100644 yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/convert/ajreport/package-info.java create mode 100644 yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/dal/dataobject/ajreport/package-info.java create mode 100644 yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/dal/mysql/ajreport/package-info.java create mode 100644 yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/package-info.java create mode 100644 yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/security/config/SecurityConfiguration.java create mode 100644 yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/security/core/package-info.java create mode 100644 yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/web/config/MesWebConfiguration.java create mode 100644 yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/web/package-info.java create mode 100644 yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/package-info.java create mode 100644 yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/service/ajreport/package-info.java create mode 100644 yudao-module-mes/yudao-module-mes-biz/src/test/resources/application-unit-test.yaml create mode 100644 yudao-module-mes/yudao-module-mes-biz/src/test/resources/logback.xml create mode 100644 yudao-module-mes/yudao-module-mes-biz/src/test/resources/sql/clean.sql create mode 100644 yudao-module-mes/yudao-module-mes-biz/src/test/resources/sql/create_tables.sql diff --git a/pom.xml b/pom.xml index 11f637a9be..ceefaaf864 100644 --- a/pom.xml +++ b/pom.xml @@ -23,6 +23,7 @@ yudao-module-crm yudao-module-erp + yudao-module-mes ${project.artifactId} diff --git a/sql/mysql/record.sql b/sql/mysql/record.sql index 296cfde9af..80ef8f0687 100644 --- a/sql/mysql/record.sql +++ b/sql/mysql/record.sql @@ -158,7 +158,7 @@ CREATE TABLE `mes_record_ganzao` -CREATE TABLE `mes_record_wet` +CREATE TABLE `mes_record_jiashi` ( `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id', `record_id` bigint NOT NULL DEFAULT '0' COMMENT '记录id', @@ -213,7 +213,7 @@ CREATE TABLE `mes_record_reya` PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='热压记录表'; -CREATE TABLE `mes_record_cut` +CREATE TABLE `mes_record_qiebian` ( `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id', `record_id` bigint NOT NULL DEFAULT '0' COMMENT '记录id', @@ -240,7 +240,7 @@ CREATE TABLE `mes_record_cut` PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='切边记录表'; -CREATE TABLE `mes_record_check` +CREATE TABLE `mes_record_pinjian` ( `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id', `record_id` bigint NOT NULL DEFAULT '0' COMMENT '记录id', @@ -266,7 +266,7 @@ CREATE TABLE `mes_record_check` PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='检验记录表'; -CREATE TABLE `mes_record_package` +CREATE TABLE `mes_record_dabao` ( `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id', `record_id` bigint NOT NULL DEFAULT '0' COMMENT '记录id', @@ -286,4 +286,4 @@ CREATE TABLE `mes_record_package` `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', `tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '租户编号', PRIMARY KEY (`id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='检验记录表'; \ No newline at end of file +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='打包记录表'; \ No newline at end of file diff --git a/yudao-module-mes/pom.xml b/yudao-module-mes/pom.xml new file mode 100644 index 0000000000..9697dcca5c --- /dev/null +++ b/yudao-module-mes/pom.xml @@ -0,0 +1,23 @@ + + + + cn.iocoder.boot + yudao + ${revision} + + 4.0.0 + + yudao-module-mes-api + yudao-module-mes-biz + + yudao-module-mes + pom + + ${project.artifactId} + + report 模块,主要实现数据可视化报表等功能。 + + + diff --git a/yudao-module-mes/yudao-module-mes-api/pom.xml b/yudao-module-mes/yudao-module-mes-api/pom.xml new file mode 100644 index 0000000000..20909e2bab --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-api/pom.xml @@ -0,0 +1,26 @@ + + + + cn.iocoder.boot + yudao-module-mes + ${revision} + + 4.0.0 + + yudao-module-mes-api + jar + + ${project.artifactId} + + report 模块 API,暴露给其它模块调用 + + + + + cn.iocoder.boot + yudao-common + + + diff --git a/yudao-module-mes/yudao-module-mes-api/src/main/java/cn/iocoder/yudao/module/mes/api/package-info.java b/yudao-module-mes/yudao-module-mes-api/src/main/java/cn/iocoder/yudao/module/mes/api/package-info.java new file mode 100644 index 0000000000..b53a82ee88 --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-api/src/main/java/cn/iocoder/yudao/module/mes/api/package-info.java @@ -0,0 +1,4 @@ +/** + * 占位,避免 api 目录无文件时,git 无法提交 + */ +package cn.iocoder.yudao.module.mes.api; diff --git a/yudao-module-mes/yudao-module-mes-api/src/main/java/cn/iocoder/yudao/module/mes/enums/ErrorCodeConstants.java b/yudao-module-mes/yudao-module-mes-api/src/main/java/cn/iocoder/yudao/module/mes/enums/ErrorCodeConstants.java new file mode 100644 index 0000000000..d6b27e5ecf --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-api/src/main/java/cn/iocoder/yudao/module/mes/enums/ErrorCodeConstants.java @@ -0,0 +1,15 @@ +package cn.iocoder.yudao.module.mes.enums; + +import cn.iocoder.yudao.framework.common.exception.ErrorCode; + +/** + * Report 错误码枚举类 + * + * report 系统,使用 1-003-000-000 段 + */ +public interface ErrorCodeConstants { + + // ========== GoView 模块 1-003-000-000 ========== + ErrorCode GO_VIEW_PROJECT_NOT_EXISTS = new ErrorCode(1_003_000_000, "GoView 项目不存在"); + +} diff --git a/yudao-module-mes/yudao-module-mes-biz/pom.xml b/yudao-module-mes/yudao-module-mes-biz/pom.xml new file mode 100644 index 0000000000..a8a60f0376 --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-biz/pom.xml @@ -0,0 +1,79 @@ + + + + cn.iocoder.boot + yudao-module-mes + ${revision} + + 4.0.0 + + yudao-module-mes-biz + jar + + ${project.artifactId} + + report 模块,主要实现数据可视化报表等功能: + 1. 基于「积木报表」实现,打印设计、报表设计、图形设计、大屏设计等。 + + + + cn.iocoder.boot + yudao-module-mes-api + ${revision} + + + + cn.iocoder.boot + yudao-module-system-api + ${revision} + + + + + cn.iocoder.boot + yudao-spring-boot-starter-biz-tenant + + + + + cn.iocoder.boot + yudao-spring-boot-starter-web + + + + cn.iocoder.boot + yudao-spring-boot-starter-security + + + + + cn.iocoder.boot + yudao-spring-boot-starter-mybatis + + + + + cn.iocoder.boot + yudao-spring-boot-starter-test + + + + + org.jeecgframework.jimureport + jimureport-spring-boot-starter + + + + xerces + xercesImpl + + + + cn.iocoder.boot + yudao-spring-boot-starter-excel + + + + diff --git a/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/ajreport/package-info.java b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/ajreport/package-info.java new file mode 100644 index 0000000000..7eb12f055a --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/ajreport/package-info.java @@ -0,0 +1 @@ +package cn.iocoder.yudao.module.mes.controller.admin.ajreport; diff --git a/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/controller/package-info.java b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/controller/package-info.java new file mode 100644 index 0000000000..d760e5d57a --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/controller/package-info.java @@ -0,0 +1,6 @@ +/** + * 提供 RESTful API 给前端: + * 1. admin 包:提供给管理后台 yudao-ui-admin 前端项目 + * 2. app 包:提供给用户 APP yudao-ui-app 前端项目,它的 Controller 和 VO 都要添加 App 前缀,用于和管理后台进行区分 + */ +package cn.iocoder.yudao.module.mes.controller; diff --git a/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/convert/ajreport/package-info.java b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/convert/ajreport/package-info.java new file mode 100644 index 0000000000..f711d0eca3 --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/convert/ajreport/package-info.java @@ -0,0 +1,4 @@ +/** + * TODO 占位,后续删除 + */ +package cn.iocoder.yudao.module.mes.convert.ajreport; diff --git a/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/dal/dataobject/ajreport/package-info.java b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/dal/dataobject/ajreport/package-info.java new file mode 100644 index 0000000000..f79f3cbf27 --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/dal/dataobject/ajreport/package-info.java @@ -0,0 +1,4 @@ +/** + * TODO 芋艿:占位,待删除 + */ +package cn.iocoder.yudao.module.mes.dal.dataobject.ajreport; diff --git a/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/dal/mysql/ajreport/package-info.java b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/dal/mysql/ajreport/package-info.java new file mode 100644 index 0000000000..ea44b293b1 --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/dal/mysql/ajreport/package-info.java @@ -0,0 +1,4 @@ +/** + * TODO 芋艿:占位,待删除 + */ +package cn.iocoder.yudao.module.mes.dal.mysql.ajreport; diff --git a/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/package-info.java b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/package-info.java new file mode 100644 index 0000000000..7ef20296ae --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/package-info.java @@ -0,0 +1,6 @@ +/** + * 属于 report 模块的 framework 封装 + * + * @author 芋道源码 + */ +package cn.iocoder.yudao.module.mes.framework; diff --git a/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/security/config/SecurityConfiguration.java b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/security/config/SecurityConfiguration.java new file mode 100644 index 0000000000..a3337766b7 --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/security/config/SecurityConfiguration.java @@ -0,0 +1,33 @@ +package cn.iocoder.yudao.module.mes.framework.security.config; + +import cn.iocoder.yudao.framework.security.config.AuthorizeRequestsCustomizer; +import cn.iocoder.yudao.module.system.api.oauth2.OAuth2TokenApi; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.security.config.annotation.web.builders.HttpSecurity; +import org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer; + +import javax.annotation.Resource; + +/** + * Report 模块的 Security 配置 + */ +@Configuration("mesSecurityConfiguration") +public class SecurityConfiguration { + + @Resource + private OAuth2TokenApi oauth2TokenApi; + + @Bean("mesAuthorizeRequestsCustomizer") + public AuthorizeRequestsCustomizer authorizeRequestsCustomizer() { + return new AuthorizeRequestsCustomizer() { + + @Override + public void customize(ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry registry) { + registry.antMatchers("/mes/open/**").permitAll(); // 积木报表 + } + + }; + } + +} diff --git a/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/security/core/package-info.java b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/security/core/package-info.java new file mode 100644 index 0000000000..269cc31b34 --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/security/core/package-info.java @@ -0,0 +1,4 @@ +/** + * 占位 + */ +package cn.iocoder.yudao.module.mes.framework.security.core; diff --git a/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/web/config/MesWebConfiguration.java b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/web/config/MesWebConfiguration.java new file mode 100644 index 0000000000..994f621e0f --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/web/config/MesWebConfiguration.java @@ -0,0 +1,24 @@ +package cn.iocoder.yudao.module.mes.framework.web.config; + +import cn.iocoder.yudao.framework.swagger.config.YudaoSwaggerAutoConfiguration; +import org.springdoc.core.GroupedOpenApi; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * mes 模块的 web 组件的 Configuration + * + * @author 芋道源码 + */ +@Configuration(proxyBeanMethods = false) +public class MesWebConfiguration { + + /** + * crm 模块的 API 分组 + */ + @Bean + public GroupedOpenApi mesGroupedOpenApi() { + return YudaoSwaggerAutoConfiguration.buildGroupedOpenApi("mes"); + } + +} diff --git a/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/web/package-info.java b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/web/package-info.java new file mode 100644 index 0000000000..bc625493b5 --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/framework/web/package-info.java @@ -0,0 +1,4 @@ +/** + * crm 模块的 web 拓展封装 + */ +package cn.iocoder.yudao.module.mes.framework.web; diff --git a/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/package-info.java b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/package-info.java new file mode 100644 index 0000000000..840b9b0e31 --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/package-info.java @@ -0,0 +1,9 @@ +/** + * report 模块,主要实现数据可视化报表等功能: + * 1. 基于「积木报表」实现,打印设计、报表设计、图形设计、大屏设计等。URL 前缀是 /jmreport,表名前缀是 jimu_ + * + * 由于「积木报表」的大屏设计器需要收费,后续会自研,对应的是: + * 1. Controller URL:以 /report/ 开头,避免和其它 Module 冲突 + * 2. DataObject 表名:以 report_ 开头,方便在数据库中区分 + */ +package cn.iocoder.yudao.module.mes; diff --git a/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/service/ajreport/package-info.java b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/service/ajreport/package-info.java new file mode 100644 index 0000000000..def41426ae --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-biz/src/main/java/cn/iocoder/yudao/module/mes/service/ajreport/package-info.java @@ -0,0 +1,4 @@ +/** + * TODO 芋艿:占位,待删除 + */ +package cn.iocoder.yudao.module.mes.service.ajreport; diff --git a/yudao-module-mes/yudao-module-mes-biz/src/test/resources/application-unit-test.yaml b/yudao-module-mes/yudao-module-mes-biz/src/test/resources/application-unit-test.yaml new file mode 100644 index 0000000000..eb823d904a --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-biz/src/test/resources/application-unit-test.yaml @@ -0,0 +1,53 @@ +spring: + main: + lazy-initialization: true # 开启懒加载,加快速度 + banner-mode: off # 单元测试,禁用 Banner + +--- #################### 数据库相关配置 #################### + +spring: + # 数据源配置项 + datasource: + name: ruoyi-vue-pro + url: jdbc:h2:mem:testdb;MODE=MYSQL;DATABASE_TO_UPPER=false;NON_KEYWORDS=value; # MODE 使用 MySQL 模式;DATABASE_TO_UPPER 配置表和字段使用小写 + driver-class-name: org.h2.Driver + username: sa + password: + druid: + async-init: true # 单元测试,异步初始化 Druid 连接池,提升启动速度 + initial-size: 1 # 单元测试,配置为 1,提升启动速度 + sql: + init: + schema-locations: classpath:/sql/create_tables.sql + + # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优 + redis: + host: 127.0.0.1 # 地址 + port: 16379 # 端口(单元测试,使用 16379 端口) + database: 0 # 数据库索引 + + +mybatis: + lazy-initialization: true # 单元测试,设置 MyBatis Mapper 延迟加载,加速每个单元测试 + +--- #################### 定时任务相关配置 #################### + +--- #################### 配置中心相关配置 #################### + +--- #################### 服务保障相关配置 #################### + +# Lock4j 配置项(单元测试,禁用 Lock4j) + +--- #################### 监控相关配置 #################### + +--- #################### 芋道相关配置 #################### + +# 芋道配置项,设置当前项目所有自定义的配置 +yudao: + info: + base-package: cn.iocoder.yudao.module + captcha: + timeout: 5m + width: 160 + height: 60 + enable: true diff --git a/yudao-module-mes/yudao-module-mes-biz/src/test/resources/logback.xml b/yudao-module-mes/yudao-module-mes-biz/src/test/resources/logback.xml new file mode 100644 index 0000000000..daf756bff0 --- /dev/null +++ b/yudao-module-mes/yudao-module-mes-biz/src/test/resources/logback.xml @@ -0,0 +1,4 @@ + + + + diff --git a/yudao-module-mes/yudao-module-mes-biz/src/test/resources/sql/clean.sql b/yudao-module-mes/yudao-module-mes-biz/src/test/resources/sql/clean.sql new file mode 100644 index 0000000000..e69de29bb2 diff --git a/yudao-module-mes/yudao-module-mes-biz/src/test/resources/sql/create_tables.sql b/yudao-module-mes/yudao-module-mes-biz/src/test/resources/sql/create_tables.sql new file mode 100644 index 0000000000..e69de29bb2 diff --git a/yudao-server/pom.xml b/yudao-server/pom.xml index 6c97dabf36..8884e86b63 100644 --- a/yudao-server/pom.xml +++ b/yudao-server/pom.xml @@ -113,7 +113,12 @@ cn.iocoder.boot yudao-spring-boot-starter-protection - + + + cn.iocoder.boot + yudao-module-mes-biz + ${revision} +