This commit is contained in:
zc
2026-02-27 10:50:07 +08:00
parent 0ee56404c2
commit 86527b9c21
611 changed files with 2741 additions and 2752 deletions

View File

@@ -3,11 +3,11 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>top.ysoft</groupId>
<artifactId>ysoft-admin</artifactId>
<groupId>top.wms</groupId>
<artifactId>wms-admin</artifactId>
<version>3.6.0-SNAPSHOT</version>
</parent>
<artifactId>ysoft-extension</artifactId>
<artifactId>wms-extension</artifactId>
<version>3.6.0-SNAPSHOT</version>
<packaging>pom</packaging>
<description>扩展模块(存放其他扩展模块)</description>
@@ -18,6 +18,6 @@
</license>
</licenses>
<modules>
<module>ysoft-extension-schedule-server</module>
<module>wms-extension-schedule-server</module>
</modules>
</project>

View File

@@ -2,16 +2,16 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>top.ysoft</groupId>
<artifactId>ysoft-admin</artifactId>
<groupId>top.wms</groupId>
<artifactId>wms-admin</artifactId>
<version>${revision}</version>
</parent>
<artifactId>ysoft-extension</artifactId>
<artifactId>wms-extension</artifactId>
<packaging>pom</packaging>
<description>扩展模块(存放其他扩展模块)</description>
<modules>
<module>ysoft-extension-schedule-server</module>
<module>wms-extension-schedule-server</module>
</modules>
</project>

View File

@@ -3,11 +3,11 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>top.ysoft</groupId>
<artifactId>ysoft-extension</artifactId>
<groupId>top.wms</groupId>
<artifactId>wms-extension</artifactId>
<version>3.6.0-SNAPSHOT</version>
</parent>
<artifactId>ysoft-extension-schedule-server</artifactId>
<artifactId>wms-extension-schedule-server</artifactId>
<version>3.6.0-SNAPSHOT</version>
<description>任务调度服务端</description>
<licenses>

View File

@@ -4,12 +4,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>top.ysoft</groupId>
<artifactId>ysoft-extension</artifactId>
<groupId>top.wms</groupId>
<artifactId>wms-extension</artifactId>
<version>${revision}</version>
</parent>
<artifactId>ysoft-extension-schedule-server</artifactId>
<artifactId>wms-extension-schedule-server</artifactId>
<description>任务调度服务端</description>
<properties>

View File

@@ -1,4 +1,4 @@
package top.ysoft.admin.extension.scheduling;
package top.wms.admin.extension.scheduling;
import cn.hutool.core.net.NetUtil;
import cn.hutool.core.util.URLUtil;

View File

@@ -3,12 +3,12 @@ server:
--- ### 数据源配置
spring.datasource:
url: jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:ysoft_admin_job}?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&rewriteBatchedStatements=true&autoReconnect=true&maxReconnects=10&failOverReadOnly=false
url: jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:wms_admin_job}?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&rewriteBatchedStatements=true&autoReconnect=true&maxReconnects=10&failOverReadOnly=false
username: ${DB_USER:root}
password: ${DB_PWD:123456}
driver-class-name: com.mysql.cj.jdbc.Driver
# # PostgreSQL 配置
# url: jdbc:postgresql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:ysoft_admin_job}?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&rewriteBatchedStatements=true&autoReconnect=true&maxReconnects=10&failOverReadOnly=false
# url: jdbc:postgresql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:wms_admin_job}?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&rewriteBatchedStatements=true&autoReconnect=true&maxReconnects=10&failOverReadOnly=false
# username: ${DB_USER:root}
# password: ${DB_PWD:123456}
# driver-class-name: org.postgresql.Driver

View File

@@ -1,7 +1,7 @@
--- ### Spring 配置
spring:
application:
name: ysoft-admin-schedule-server
name: wms-admin-schedule-server
## 环境配置
profiles:
# 启用的环境

View File

@@ -5,9 +5,9 @@
INSERT INTO `sj_namespace` (`id`, `name`, `unique_id`, `create_dt`, `update_dt`, `deleted`)
VALUES (1, 'Default', '764d604ec6fc45f68cd92514c40e9e1a', NOW(), NOW(), 0);
-- 默认分组:ysoft-admin
-- 默认分组:wms-admin
INSERT INTO `sj_group_config` (`id`, `namespace_id`, `group_name`, `description`, `token`, `group_status`, `version`, `group_partition`, `id_generator_mode`, `init_scene`, `bucket_index`, `create_dt`, `update_dt`)
VALUES (1, '764d604ec6fc45f68cd92514c40e9e1a', 'ysoft-admin', '默认分组', 'SJ_Wyz3dmsdbDOkDujOTSSoBjGQP1BMsVnj', 1, 1, 0, 2, 1, 119, NOW(), NOW());
VALUES (1, '764d604ec6fc45f68cd92514c40e9e1a', 'wms-admin', '默认分组', 'SJ_Wyz3dmsdbDOkDujOTSSoBjGQP1BMsVnj', 1, 1, 0, 2, 1, 119, NOW(), NOW());
-- 默认用户admin/admin
INSERT INTO `sj_system_user` (username, password, role)

View File

@@ -5,9 +5,9 @@
INSERT INTO sj_namespace (id, name, unique_id, create_dt, update_dt, deleted)
VALUES (1, 'Default', '764d604ec6fc45f68cd92514c40e9e1a', NOW(), NOW(), 0);
-- 默认分组:ysoft-admin
-- 默认分组:wms-admin
INSERT INTO sj_group_config (id, namespace_id, group_name, description, token, group_status, version, group_partition, id_generator_mode, init_scene, bucket_index, create_dt, update_dt)
VALUES (1, '764d604ec6fc45f68cd92514c40e9e1a', 'ysoft-admin', '默认分组', 'SJ_Wyz3dmsdbDOkDujOTSSoBjGQP1BMsVnj', 1, 1, 0, 2, 1, 119, NOW(), NOW());
VALUES (1, '764d604ec6fc45f68cd92514c40e9e1a', 'wms-admin', '默认分组', 'SJ_Wyz3dmsdbDOkDujOTSSoBjGQP1BMsVnj', 1, 1, 0, 2, 1, 119, NOW(), NOW());
-- 默认用户admin/admin
INSERT INTO sj_system_user (username, password, role)