wanghongzhi 1 tahun lalu
induk
melakukan
16a6d6daff

+ 295 - 0
maven/settings/settings_qdport.xml

@@ -0,0 +1,295 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!--
+ | This is the configuration file for Maven. It can be specified at two levels:
+ |
+ |  1. User Level. This settings.xml file provides configuration for a single user,
+ |                 and is normally provided in ${user.home}/.m2/settings.xml.
+ |
+ |                 NOTE: This location can be overridden with the CLI option:
+ |
+ |                 -s /path/to/user/settings.xml
+ |
+ |  2. Global Level. This settings.xml file provides configuration for all Maven
+ |                 users on a machine (assuming they're all using the same Maven
+ |                 installation). It's normally provided in
+ |                 ${maven.conf}/settings.xml.
+ |
+ |                 NOTE: This location can be overridden with the CLI option:
+ |
+ |                 -gs /path/to/global/settings.xml
+ |
+ | The sections in this sample file are intended to give you a running start at
+ | getting the most out of your Maven installation. Where appropriate, the default
+ | values (values used when the setting is not specified) are provided.
+ |
+ |-->
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
+  <!-- localRepository
+   | The path to the local repository maven will use to store artifacts.
+   |
+   | Default: ${user.home}/.m2/repository
+  <localRepository>/path/to/local/repo</localRepository>
+  -->
+
+  <!-- interactiveMode
+   | This will determine whether maven prompts you when it needs input. If set to false,
+   | maven will use a sensible default value, perhaps based on some other setting, for
+   | the parameter in question.
+   |
+   | Default: true
+  <interactiveMode>true</interactiveMode>
+  -->
+
+  <!-- offline
+   | Determines whether maven should attempt to connect to the network when executing a build.
+   | This will have an effect on artifact downloads, artifact deployment, and others.
+   |
+   | Default: false
+  <offline>false</offline>
+  -->
+
+  <!-- pluginGroups
+   | This is a list of additional group identifiers that will be searched when resolving plugins by their prefix, i.e.
+   | when invoking a command line like "mvn prefix:goal". Maven will automatically add the group identifiers
+   | "org.apache.maven.plugins" and "org.codehaus.mojo" if these are not already contained in the list.
+   |-->
+  <pluginGroups>
+    <!-- pluginGroup
+     | Specifies a further group identifier to use for plugin lookup.
+    <pluginGroup>com.your.plugins</pluginGroup>
+    -->
+  </pluginGroups>
+
+  <!-- proxies
+   | This is a list of proxies which can be used on this machine to connect to the network.
+   | Unless otherwise specified (by system property or command-line switch), the first proxy
+   | specification in this list marked as active will be used.
+   |-->
+  <proxies>
+    <!-- proxy
+     | Specification for one proxy, to be used in connecting to the network.
+     |
+    <proxy>
+      <id>optional</id>
+      <active>true</active>
+      <protocol>http</protocol>
+      <username>proxyuser</username>
+      <password>proxypass</password>
+      <host>proxy.host.net</host>
+      <port>80</port>
+      <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
+    </proxy>
+    -->
+  </proxies>
+
+  <!-- servers
+   | This is a list of authentication profiles, keyed by the server-id used within the system.
+   | Authentication profiles can be used whenever maven must make a connection to a remote server.
+   |-->
+  <servers>
+    <!-- server
+     | Specifies the authentication information to use when connecting to a particular server, identified by
+     | a unique name within the system (referred to by the 'id' attribute below).
+     |
+     | NOTE: You should either specify username/password OR privateKey/passphrase, since these pairings are
+     |       used together.
+     |
+    <server>
+      <id>deploymentRepo</id>
+      <username>repouser</username>
+      <password>repopwd</password>
+    </server>
+    -->
+
+    <!-- Another sample, using keys to authenticate.
+    <server>
+      <id>siteServer</id>
+      <privateKey>/path/to/private/key</privateKey>
+      <passphrase>optional; leave empty if not used.</passphrase>
+    </server>
+    -->
+  </servers>
+
+  <!-- mirrors
+   | This is a list of mirrors to be used in downloading artifacts from remote repositories.
+   |
+   | It works like this: a POM may declare a repository to use in resolving certain artifacts.
+   | However, this repository may have problems with heavy traffic at times, so people have mirrored
+   | it to several places.
+   |
+   | That repository definition will have a unique id, so we can create a mirror reference for that
+   | repository, to be used as an alternate download site. The mirror site will be the preferred
+   | server for that repository.
+   |-->
+  <mirrors>
+    <!-- mirror
+     | Specifies a repository mirror site to use instead of a given repository. The repository that
+     | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
+     | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
+     |
+    <mirror>
+      <id>mirrorId</id>
+      <mirrorOf>repositoryId</mirrorOf>
+      <name>Human Readable Name for this Mirror.</name>
+      <url>http://my.repository.com/repo/path</url>
+    </mirror>
+     -->
+
+
+<!--<mirror>
+    <id>huaweicloud</id>
+    <mirrorOf>*</mirrorOf>
+    <url>https://mirrors.huaweicloud.com/repository/maven/</url>
+</mirror>-->
+	  
+	  
+	  <!-- <mirror>
+         <id>nexus-aliyun</id>
+         <mirrorOf>*</mirrorOf>
+         <name>Nexus aliyun</name>
+         <url>http://maven.aliyun.com/nexus/content/groups/public</url>
+      </mirror> -->
+	  
+	  <mirror>
+         <id>qdport-release</id>
+         <mirrorOf>*</mirrorOf>
+         <name>Release Repository</name>
+         <url>http://10.236.3.33:8081/repository/maven-public/</url>
+      </mirror>
+	 
+
+  </mirrors>
+
+  <!-- profiles
+   | This is a list of profiles which can be activated in a variety of ways, and which can modify
+   | the build process. Profiles provided in the settings.xml are intended to provide local machine-
+   | specific paths and repository locations which allow the build to work in the local environment.
+   |
+   | For example, if you have an integration testing plugin - like cactus - that needs to know where
+   | your Tomcat instance is installed, you can provide a variable here such that the variable is
+   | dereferenced during the build process to configure the cactus plugin.
+   |
+   | As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles
+   | section of this document (settings.xml) - will be discussed later. Another way essentially
+   | relies on the detection of a system property, either matching a particular value for the property,
+   | or merely testing its existence. Profiles can also be activated by JDK version prefix, where a
+   | value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'.
+   | Finally, the list of active profiles can be specified directly from the command line.
+   |
+   | NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact
+   |       repositories, plugin repositories, and free-form properties to be used as configuration
+   |       variables for plugins in the POM.
+   |
+   |-->
+  <profiles>
+    <!-- profile
+     | Specifies a set of introductions to the build process, to be activated using one or more of the
+     | mechanisms described above. For inheritance purposes, and to activate profiles via <activatedProfiles/>
+     | or the command line, profiles have to have an ID that is unique.
+     |
+     | An encouraged best practice for profile identification is to use a consistent naming convention
+     | for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.
+     | This will make it more intuitive to understand what the set of introduced profiles is attempting
+     | to accomplish, particularly when you only have a list of profile id's for debug.
+     |
+     | This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.
+    <profile>
+      <id>jdk-1.4</id>
+
+      <activation>
+        <jdk>1.4</jdk>
+      </activation>
+
+      <repositories>
+        <repository>
+          <id>jdk14</id>
+          <name>Repository for JDK 1.4 builds</name>
+          <url>http://www.myhost.com/maven/jdk14</url>
+          <layout>default</layout>
+          <snapshotPolicy>always</snapshotPolicy>
+        </repository>
+      </repositories>
+    </profile>
+    -->
+
+    <!--
+     | Here is another profile, activated by the system property 'target-env' with a value of 'dev',
+     | which provides a specific path to the Tomcat instance. To use this, your plugin configuration
+     | might hypothetically look like:
+     |
+     | ...
+     | <plugin>
+     |   <groupId>org.myco.myplugins</groupId>
+     |   <artifactId>myplugin</artifactId>
+     |
+     |   <configuration>
+     |     <tomcatLocation>${tomcatPath}</tomcatLocation>
+     |   </configuration>
+     | </plugin>
+     | ...
+     |
+     | NOTE: If you just wanted to inject this configuration whenever someone set 'target-env' to
+     |       anything, you could just leave off the <value/> inside the activation-property.
+     |
+    <profile>
+      <id>env-dev</id>
+
+      <activation>
+        <property>
+          <name>target-env</name>
+          <value>dev</value>
+        </property>
+      </activation>
+
+      <properties>
+        <tomcatPath>/path/to/tomcat/instance</tomcatPath>
+      </properties>
+    </profile>
+    -->
+<profile>  
+		<id>jdk-1.8</id>  
+		 <activation>  
+			  <activeByDefault>true</activeByDefault>  
+			  <jdk>1.8</jdk>  
+		 </activation>  
+		<properties>  
+			<maven.compiler.source>1.8</maven.compiler.source>  
+			<maven.compiler.target>1.8</maven.compiler.target>  
+			<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>  
+		</properties>   
+</profile> 
+
+
+  </profiles>
+
+  <!-- activeProfiles
+   | List of profiles that are active for all builds.
+   |
+  <activeProfiles>
+    <activeProfile>alwaysActiveProfile</activeProfile>
+    <activeProfile>anotherAlwaysActiveProfile</activeProfile>
+  </activeProfiles>
+  -->
+</settings>

+ 126 - 0
pom.xml

@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>com.qdport</groupId>
+	<artifactId>qdport-boot-demo</artifactId>
+	<version>0.0.1-SNAPSHOT</version>
+	<name>qdport-boot-demo</name>
+	<description>demo project for qdport</description>
+	<properties>
+		<java.version>1.8</java.version>
+		<maven.compiler.source>8</maven.compiler.source>
+		<maven.compiler.target>8</maven.compiler.target>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+		<qdport-boot.project.version>v20240814-RELEASE</qdport-boot.project.version>
+		<qdport.cloud.version>1.1-SNAPSHOT</qdport.cloud.version>
+		<spring.boot.version>2.7.1</spring.boot.version>
+		<spring.platform.version>Cairo-SR8</spring.platform.version>
+	</properties>
+	<dependencies>
+		<dependency>
+			<groupId>org.springframework.boot</groupId>
+			<artifactId>spring-boot-starter</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>com.qdport</groupId>
+			<artifactId>qdport-module-auth</artifactId>
+			<version>${qdport-boot.project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>com.qdport</groupId>
+			<artifactId>qdport-module-generator</artifactId>
+			<version>${qdport-boot.project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>com.qdport</groupId>
+			<artifactId>qdport-module-resource</artifactId>
+			<version>${qdport-boot.project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>com.qdport</groupId>
+			<artifactId>qdport-module-system</artifactId>
+			<version>${qdport-boot.project.version}</version>
+		</dependency>
+<!--		<dependency>-->
+<!--			<groupId>com.qdport</groupId>-->
+<!--			<artifactId>qdport-module-workflow</artifactId>-->
+<!--			<version>${qdport-boot.project.version}</version>-->
+<!--		</dependency>-->
+
+		<dependency>
+			<groupId>org.springframework.boot</groupId>
+			<artifactId>spring-boot-starter-test</artifactId>
+			<scope>test</scope>
+		</dependency>
+	</dependencies>
+	<dependencyManagement>
+		<dependencies>
+			<dependency>
+				<groupId>com.qdport.cloud</groupId>
+				<artifactId>qdport-bom</artifactId>
+				<version>${qdport.cloud.version}</version>
+				<type>pom</type>
+				<scope>import</scope>
+			</dependency>
+			<dependency>
+				<groupId>org.springframework.boot</groupId>
+				<artifactId>spring-boot-dependencies</artifactId>
+				<version>${spring.boot.version}</version>
+				<type>pom</type>
+				<scope>import</scope>
+			</dependency>
+			<dependency>
+				<groupId>io.spring.platform</groupId>
+				<artifactId>platform-bom</artifactId>
+				<version>${spring.platform.version}</version>
+				<type>pom</type>
+				<scope>import</scope>
+			</dependency>
+		</dependencies>
+	</dependencyManagement>
+
+	<build>
+		<finalName>${artifactId}</finalName>
+		<plugins>
+			<plugin>
+				<groupId>org.springframework.boot</groupId>
+				<artifactId>spring-boot-maven-plugin</artifactId>
+				<version>${spring.boot.version}</version>
+				<executions>
+					<execution>
+						<goals>
+							<goal>repackage</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
+	<repositories>
+		<repository>
+			<id>qdport-release</id>
+			<name>Release Repository</name>
+			<url>http://10.236.3.33:8081/repository/maven-public/</url>
+		</repository>
+		<repository>
+			<id>aliyun-repos</id>
+			<name>Aliyun Repository</name>
+			<url>https://maven.aliyun.com/repository/public/</url>
+			<snapshots>
+				<enabled>false</enabled>
+			</snapshots>
+		</repository>
+	</repositories>
+	<pluginRepositories>
+		<pluginRepository>
+			<id>aliyun-plugin</id>
+			<name>aliyun-plugin</name>
+			<url>http://10.236.3.33:8081/repository/maven-public/</url>
+			<snapshots>
+				<enabled>false</enabled>
+			</snapshots>
+		</pluginRepository>
+	</pluginRepositories>
+
+</project>

+ 499 - 0
script/db/boot/mysql/BOOT_MYSQL_DATA.sql

@@ -0,0 +1,499 @@
+insert into t_top_menu (ID, CODE, NAME, SOURCE, SORT, IS_DEFAULT, CREATE_USER, CREATE_DEPT, CREATE_TIME, UPDATE_USER, UPDATE_TIME, STATUS, IS_DELETED)
+values  (1, '10001', '平台菜单', null, 1, 1, 1679036002075394050, 1635579166396092418, null, 2, '2023-04-23 14:13:55', 1, '0'),
+        (1661988539567120385, '10005', '工作流平台', null, 5, 0, 1670723238158213121, null, null, 2, '2023-05-26 14:52:00', null, '0');
+
+
+insert into t_sys_user (ID, DEPT_ID, USERNAME, PASSWORD, NAME, MOBILE, EMAIL, AVATAR, ADDRESS, STATE, TYPE, CODE, COMPANY, PROVINCE, CITY, EXT_TYPE, EXT_DEPT, EXT_CODE, EXT_CODE_HS, EXT_CODE_GH, EXT_CODE_GJ, EXT_CODE_GK, EXT_DDBB, UPDATED_AT, CREATED_AT, PASSWORD_WRONG_TIMES, LAST_LOGIN_DATE, EXT_UNIT_ID, EXT_MEMO, JOB, LAST_UPDATE_PWD_DATE)
+values  (1, 1635579167369170959, '099999', '1400e86e5679f760411e33a5a2267781d40adc19', '超级管理员', null, null, null, null, 0, null, 'admin', null, null, null, null, null, null, null, null, null, null, null, '2024-04-19 06:04:45', '2020-04-07 15:20:26', 0, '2024-04-08 17:27:50', null, null, null, '2024-04-16 08:44:49');
+
+insert into t_oss (ID, TENANT_ID, CATEGORY, OSS_CODE, ENDPOINT, ACCESS_KEY, SECRET_KEY, BUCKET_NAME, APP_ID, REGION, REMARK, CREATE_USER, CREATE_DEPT, CREATE_TIME, UPDATE_USER, UPDATE_TIME, STATUS, IS_DELETED)
+values  (1781149744537350146, null, 2, 'test1', 'localhos1t', 'ZJEKY0LSCKCLD064W36L', 'dNPDhFq54GdaoTvxYlSLkpViPQb2bmScZ5RMsBXJ', 'qdg', null, null, null, '1679036002075394050', '1635579174096834573', '2024-04-19 02:36:06', '1679036002075394050', '2024-04-19 02:36:55', 2, 1);
+
+insert into t_sys_role (ID, NAME, CODE, DESCRIPTION, SORT, STATE, UPDATED_AT, CREATED_AT, IS_SHOW)
+values  (1, '超级管理员', 'sysadmin', '超级管理员', 1, 0, null, null, 0),
+        (1754329580381216770, 'boot_test', 'boot_test', null, null, 0, '2024-02-05 10:22:20', '2024-02-05 10:22:20', null),
+        (1781137673938182145, '单体MYSQL测试角色', 'boot-mysql-test-role', '单体MYSQL测试角色', null, 0, '2024-04-19 09:48:08', '2024-04-19 09:48:08', null);
+
+insert into t_app_version (ID, TYPE, LATEST_VERSION, LATEST_APK, UP_INSTRUCTIONS, REVISE_DATE, COMMENTS, APP_ID, CREATE_USER, CREATE_TIME, UPDATE_USER, UPDATE_TIME, CREATE_DEPT, STATUS, IS_DELETED)
+values  ('1650674861940862978', 0, 'v1.0.1', 'www.example.com', null, '2023-04-25 09:35:29', null, '1', null, '2023-04-25 09:35:29', null, '2023-04-25 09:35:29', null, 1, 0);
+
+insert into t_attach (ID, TENANT_ID, LINK, DOMAIN_URL, NAME, ORIGINAL_NAME, EXTENSION, ATTACH_SIZE, CREATE_USER, CREATE_DEPT, CREATE_TIME, UPDATE_USER, UPDATE_TIME, STATUS, IS_DELETED)
+values  (1781147091359051777, null, '2', '2', '2', '2', '2', 2, 1679036002075394050, 1635579174096834573, '2024-04-19 02:25:33', 1679036002075394050, '2024-04-19 02:30:18', 1, 1),
+        (1781151011003248642, null, 'http://10.236.3.43:9000/qdg/upload/20240419/6c7a7a5dd7244878c98752775892895b.png', 'http://10.236.3.43:9000/qdg', 'upload/20240419/6c7a7a5dd7244878c98752775892895b.png', '2020-03-23_22.51.29.png', 'png', 3544019, 1679036002075394050, 1635579166396092418, '2024-04-19 02:41:08', 1679036002075394050, '2024-04-19 02:41:08', 1, 0);
+
+insert into r_sys_role_menu (ROLE_ID, MENU_ID)
+values  (1754329580381216770, 1762659463383281665),
+        (1754329580381216770, 192),
+        (1754329580381216770, 194),
+        (1754329580381216770, 195),
+        (1754329580381216770, 196),
+        (1754329580381216770, 193),
+        (1754329580381216770, 1762660776364011522),
+        (1754329580381216770, 1762660101475332097),
+        (1754329580381216770, 1762659927214583809),
+        (1754329580381216770, 1762659831794167810),
+        (1754329580381216770, 1762659730841464833),
+        (1754329580381216770, 1683778995270635522),
+        (1754329580381216770, 1683779065932075009),
+        (1754329580381216770, 1683779372176175106),
+        (1754329580381216770, 1683779623003942913),
+        (1754329580381216770, 49),
+        (1754329580381216770, 47),
+        (1754329580381216770, 3),
+        (1754329580381216770, 1684855093614813186),
+        (1754329580381216770, 182),
+        (1754329580381216770, 1638369338691358722),
+        (1754329580381216770, 1661992621925146626),
+        (1754329580381216770, 1661993654353076225),
+        (1754329580381216770, 1661993815397572610),
+        (1754329580381216770, 1664163437236396034),
+        (1754329580381216770, 1664163998501380098),
+        (1754329580381216770, 1664164150209355778),
+        (1754329580381216770, 1664164345202548737),
+        (1754329580381216770, 1664178729068994561),
+        (1754329580381216770, 1664178897243807746),
+        (1754329580381216770, 1664179012318732290),
+        (1754329580381216770, 1664179147119468546),
+        (1754329580381216770, 1664179259723948033),
+        (1754329580381216770, 1664179400128274434),
+        (1754329580381216770, 1664179503421399042),
+        (1754329580381216770, 1664182047325495297),
+        (1754329580381216770, 1664182188220555265),
+        (1754329580381216770, 1664182287101272065),
+        (1754329580381216770, 1664182369175412738),
+        (1754329580381216770, 1664182497936351234),
+        (1754329580381216770, 1664182579331014658),
+        (1, 192),
+        (1, 194),
+        (1, 195),
+        (1, 196),
+        (1754329580381216770, 1688749685683056642),
+        (1, 193),
+        (1, 1638400062911877121),
+        (1, 1687380104654622722),
+        (1, 1687380232337625089),
+        (1, 1687380449048924161),
+        (1, 1687649237719846914),
+        (1, 1638406083659108353),
+        (1, 1683778995270635522),
+        (1, 1683779065932075009),
+        (1, 1683779372176175106),
+        (1, 1683779623003942913),
+        (1, 49),
+        (1, 47),
+        (1, 3),
+        (1, 1684855093614813186),
+        (1, 182),
+        (1, 1638369338691358722),
+        (1, 1661992621925146626),
+        (1, 1661993654353076225),
+        (1, 1661993815397572610),
+        (1, 1664163437236396034),
+        (1, 1664163998501380098),
+        (1, 1664164150209355778),
+        (1, 1664164345202548737),
+        (1, 1664178729068994561),
+        (1, 1664178897243807746),
+        (1, 1664179012318732290),
+        (1, 1664179147119468546),
+        (1, 1664179259723948033),
+        (1, 1664179400128274434),
+        (1, 1664179503421399042),
+        (1, 1664182047325495297),
+        (1, 1664182188220555265),
+        (1, 1664182287101272065),
+        (1, 1664182369175412738),
+        (1, 1664182497936351234),
+        (1, 1664182579331014658),
+        (1, 1688749685683056642),
+        (1, 1762660776364011522),
+        (1, 1762660101475332097),
+        (1, 1762659927214583809),
+        (1, 1762659831794167810),
+        (1, 1762659730841464833),
+        (1, 3),
+        (1, 5),
+        (1, 6),
+        (1, 7),
+        (1, 8),
+        (1, 9),
+        (1, 47),
+        (1, 48),
+        (1, 49),
+        (1, 50),
+        (1, 55),
+        (1, 56),
+        (1, 145),
+        (1, 146),
+        (1, 147),
+        (1, 148),
+        (1, 181),
+        (1, 182),
+        (1, 186),
+        (1, 187),
+        (1, 188),
+        (1, 189),
+        (1, 190),
+        (1, 192),
+        (1, 193),
+        (1, 194),
+        (1, 195),
+        (1, 196),
+        (1, 247),
+        (1, 248),
+        (1, 249),
+        (1, 250),
+        (1, 251),
+        (1, 1),
+        (1, 2),
+        (1, 1638367957414776834),
+        (1, 1638369338691358722),
+        (1, 1638399698686906370),
+        (1, 1638400062911877121),
+        (1, 1638406083659108353),
+        (1, 1638437389741273089),
+        (1, 1638469645386067970),
+        (1, 1661992237236166658),
+        (1, 1661992372968038401),
+        (1, 1661992621925146626),
+        (1, 1661993654353076225),
+        (1, 1661993815397572610),
+        (1, 1664157385082216450),
+        (1, 1664157504871538689),
+        (1, 1664157992081891329),
+        (1, 1664162083805798402),
+        (1, 1664163437236396034),
+        (1, 1664163998501380098),
+        (1, 1664164150209355778),
+        (1, 1664164345202548737),
+        (1, 1664178729068994561),
+        (1, 1664178897243807746),
+        (1, 1664179012318732290),
+        (1, 1664179147119468546),
+        (1, 1664179259723948033),
+        (1, 1664179400128274434),
+        (1, 1664179503421399042),
+        (1, 1664182047325495297),
+        (1, 1664182188220555265),
+        (1, 1664182287101272065),
+        (1, 1664182369175412738),
+        (1, 1664182497936351234),
+        (1, 1664182579331014658),
+        (1, 1670994760432791554),
+        (1, 1671026561331146754),
+        (1, 1671033491629977602),
+        (1, 1676474224961884162),
+        (1, 1683778995270635522),
+        (1, 1683779065932075009),
+        (1, 1683779372176175106),
+        (1, 1683779623003942913),
+        (1, 1684855093614813186),
+        (1, 1687380104654622722),
+        (1, 1687380232337625089),
+        (1, 1687380449048924161),
+        (1, 1687649237719846914),
+        (1, 1688390462571810818),
+        (1, 1688749567760199682),
+        (1, 1688749685683056642),
+        (1754329580381216770, 1762659615074480130),
+        (1781137673938182145, 1),
+        (1781137673938182145, 1762659463383281665),
+        (1781137673938182145, 1762659615074480130),
+        (1781137673938182145, 1762660776364011522),
+        (1781137673938182145, 1762660101475332097),
+        (1, 1777215985532510210),
+        (1, 1777216539411324930),
+        (1, 1777218643492315138),
+        (1, 1777218865048035330),
+        (1, 1782667965017071618),
+        (1, 1783371935725363201),
+        (1, 1783372240391217154),
+        (1, 1783372479575597057),
+        (1, 1783372686140874753),
+        (1, 1777216667895439361),
+        (1, 1777219460102332417),
+        (1, 1783373405266878465),
+        (1, 1783373687338016769),
+        (1, 1783373891042779137),
+        (1, 1783374092725886978),
+        (1, 1783374309579792386),
+        (1, 1783374491302207490),
+        (1, 1777217414867427330),
+        (1, 1777219691195899906),
+        (1, 1783374958145019905),
+        (1, 1783375155969368066),
+        (1, 1783375393924816898),
+        (1, 1777219947157495809),
+        (1, 1777218350369185794),
+        (1, 1777220140628156417);
+
+
+insert into r_sys_user_role (USER_ID, ROLE_ID)
+values  (1777532304081887234, 1),
+        (1777894943407824898, 1775458150704816129),
+        (1, 2),
+        (1, 1),
+        (1754329803602075650, 1754329580381216770),
+        (1775427621330690049, 1754329580381216770),
+        (1775451447833731074, 1754329580381216770),
+        (1, 2),
+        (1, 1),
+        (1778354277959671809, 1754329580381216770),
+        (1781138278664638466, 1781137673938182145),
+        (1781138278664638466, 1),
+        (1781198775194611713, 1781137673938182145);
+
+
+insert into t_sys_menu (ID, PARENT_ID, NAME, CODE, ICON, PATH, DESCRIPTION, TYPE, SORT, SYSTEM_CODE, STATE, UPDATED_AT, CREATED_AT, MENU_TYPE)
+values  (1762659463383281665, 1, 'boot菜单', 'boot', null, '/boot', null, 1, 0, '10001', 0, '2024-02-28 10:07:05', '2024-02-28 10:02:19', 3),
+        (1, 0, '根目录', 'root', 'root1', '/', null, 1, 0, '10001', 0, '2024-06-25 08:09:57', '2024-05-11 15:09:07', 3),
+        (1762659615074480130, 1762659463383281665, '平台运维', 'boot-sys', 'ep-Briefcase', '/system', null, 1, 1, '10001', 0, '2024-03-04 09:41:42', '2024-02-28 10:02:55', 3),
+        (1762659730841464833, 1762659615074480130, '数据权限', 'boot-dataList', 'ep-Box', '/system/dataList', null, 1, 5, '10001', 0, '2024-04-02 00:47:41', '2024-02-28 10:03:23', 3),
+        (1762659831794167810, 1762659615074480130, '菜单管理', 'boot-menu', 'ep-Calendar', '/system/menu', null, 1, 4, '10001', 0, '2024-04-02 00:47:37', '2024-02-28 10:03:47', 3),
+        (1762659927214583809, 1762659615074480130, '角色管理', 'boot-role', 'ep-Collection', '/system/role', null, 1, 3, '10001', 0, '2024-04-02 00:47:30', '2024-02-28 10:04:09', 3),
+        (1762660101475332097, 1762659615074480130, '部门管理', 'boot-dept', 'ep-Money', '/system/dept', null, 1, 1, '10001', 0, '2024-04-02 00:47:18', '2024-02-28 10:04:51', 3),
+        (1762660776364011522, 1762659615074480130, '用户管理', 'boot-user', 'ep-Sugar', '/system/user', null, 1, 0, '10001', 0, '2024-02-28 10:31:29', '2024-02-28 10:07:32', 3),
+        (1774724813254107138, 1774724256531554306, '公告管理', 'boot-announcM', 'ep-Briefcase', '/message/announcement', null, 1, 0, '10001', 0, '2024-04-01 09:05:42', '2024-04-01 09:05:42', 3),
+        (1777215985532510210, 1762659463383281665, '协同办公', 'workFlow', 'ep-Notebook', '/workflow', '工作流-协同办公', 1, 1, '10001', 0, TIMESTAMP '2024-07-24 02:56:28', TIMESTAMP '2024-04-08 14:04:44', 3),
+        (1777216539411324930, 1777215985532510210, '流程设计', 'Processdesign', 'ep-Notebook', '/processDesign', '流程设计', 1, 3, '10001', 0, TIMESTAMP '2024-05-17 17:09:37', TIMESTAMP '2024-04-08 14:06:56', 3),
+        (1777218643492315138, 1777216539411324930, '模型设计', 'Modeldesign', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/design/model', '模型设计', 1, 0, '10001', 0, TIMESTAMP '2024-04-08 14:15:18', TIMESTAMP '2024-04-08 14:15:18', 3),
+        (1777218865048035330, 1777216539411324930, '表单设计', ' Formdesign', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/design/form', '表单设计', 1, 1, '10001', 0, TIMESTAMP '2024-04-08 14:16:11', TIMESTAMP '2024-04-08 14:16:11', 3),
+        (1782667965017071618, 1777216539411324930, '部署管理', 'bsgl', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/design/deployment', null, 1, 2, '10001', 0, TIMESTAMP '2024-04-23 15:11:53', TIMESTAMP '2024-04-23 15:08:57', 3),
+        (1783371935725363201, 1777216539411324930, '流程按钮', 'lcan', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/design/button', '流程按钮', 1, 3, '10001', 0, TIMESTAMP '2024-04-25 13:46:17', TIMESTAMP '2024-04-25 13:46:17', 3),
+        (1783372240391217154, 1777216539411324930, '流程分类', 'lcfl', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/design/category', null, 1, 4, '10001', 0, TIMESTAMP '2024-04-25 13:47:30', TIMESTAMP '2024-04-25 13:47:30', 3),
+        (1783372479575597057, 1777216539411324930, '表单默认值', 'bdmrz', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/design/form-default-values', null, 1, 5, '10001', 0, TIMESTAMP '2024-04-25 13:48:27', TIMESTAMP '2024-04-25 13:48:27', 3),
+        (1783372686140874753, 1777216539411324930, '流程表达式', 'lcbds', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/design/condition', null, 1, 6, '10001', 0, TIMESTAMP '2024-04-25 13:49:16', TIMESTAMP '2024-04-25 13:49:16', 3),
+        (1777216667895439361, 1777215985532510210, '我的事务', 'Mybusiness', 'ep-Notebook', '/myBusiness', '我的事务', 1, 1, '10001', 0, TIMESTAMP '2024-04-08 14:07:27', TIMESTAMP '2024-04-08 14:07:27', 3),
+        (1777219460102332417, 1777216667895439361, '新建流程', 'CreateNewProcess', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/process/start', null, 1, 0, '10001', 0, TIMESTAMP '2024-04-08 14:18:33', TIMESTAMP '2024-04-08 14:18:33', 3),
+        (1783373405266878465, 1777216667895439361, '待办事宜', 'dbsy', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/process/todo', null, 1, 1, '10001', 0, TIMESTAMP '2024-04-25 13:52:07', TIMESTAMP '2024-04-25 13:52:07', 3),
+        (1783373687338016769, 1777216667895439361, '我的请求', 'wdqq', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/process/send', null, 1, 2, '10001', 0, TIMESTAMP '2024-04-25 13:53:15', TIMESTAMP '2024-04-25 13:53:15', 3),
+        (1783373891042779137, 1777216667895439361, '我的已办', 'wdyb', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/process/my-done', null, 1, 3, '10001', 0, TIMESTAMP '2024-04-25 13:54:03', TIMESTAMP '2024-04-25 13:54:03', 3),
+        (1783374092725886978, 1777216667895439361, '办结事宜', 'bjsy', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/process/done', null, 1, 4, '10001', 0, TIMESTAMP '2024-04-25 13:54:51', TIMESTAMP '2024-04-25 13:54:51', 3),
+        (1783374309579792386, 1777216667895439361, '待签事务', 'dqsw', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/process/claim', null, 1, 5, '10001', 0, TIMESTAMP '2024-04-25 13:55:43', TIMESTAMP '2024-04-25 13:55:43', 3),
+        (1783374491302207490, 1777216667895439361, '抄送事宜', 'cssy', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/process/copy', null, 1, 6, '10001', 0, TIMESTAMP '2024-04-25 13:56:26', TIMESTAMP '2024-04-25 13:56:26', 3),
+        (1777217414867427330, 1777215985532510210, '流程运维', 'Processoperationmaintenance', 'ep-Notebook', '/processOperation ', '流程运维', 1, 2, '10001', 0, TIMESTAMP '2024-04-08 14:10:25', TIMESTAMP '2024-04-08 14:10:25', 3),
+        (1777219691195899906, 1777217414867427330, '运维调度', 'Operationandmaintenancescheduling', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/ops/index	', '运维调度', 1, 0, '10001', 0, TIMESTAMP '2024-04-08 14:19:28', TIMESTAMP '2024-04-08 14:19:28', 3),
+        (1783374958145019905, 1777217414867427330, '办结流程', 'bjlc', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/ops/done', null, 1, 1, '10001', 0, TIMESTAMP '2024-04-25 13:58:18', TIMESTAMP '2024-04-25 13:58:18', 3),
+        (1783375155969368066, 1777217414867427330, '流程列表', 'lclb', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/ops/list', null, 1, 2, '10001', 0, TIMESTAMP '2024-04-25 13:59:05', TIMESTAMP '2024-04-25 13:59:05', 3),
+        (1783375393924816898, 1777217414867427330, '流程代理', 'lcdl', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/ops/proxy', null, 1, 3, '10001', 0, TIMESTAMP '2024-04-25 14:00:02', TIMESTAMP '2024-04-25 14:00:02', 3),
+        (1777219947157495809, 1777218113659445249, '请假流程业务示例', 'Business example of leave process', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/demo/leave/index', '请假流程业务示例', 1, 0, '10001', 0, TIMESTAMP '2024-04-08 14:20:29', TIMESTAMP '2024-04-08 14:20:29', 3),
+        (1777218350369185794, 1777215985532510210, '流程统计', 'Processstatistics', 'ep-Notebook', '/processStatistics', '流程统计', 1, 5, '10001', 0, TIMESTAMP '2024-05-17 17:09:42', TIMESTAMP '2024-04-08 14:14:08', 3),
+        (1777220140628156417, 1777218350369185794, '总览', 'Overview', 'ep-Notebook', '/tjmchild/workflow/plugin/workflow/statistics/index', '总览', 1, 0, '10001', 0, TIMESTAMP '2024-04-08 14:21:15', TIMESTAMP '2024-04-08 14:21:15', 3);
+
+
+
+
+insert into t_client (ID, CLIENT_ID, CLIENT_SECRET, RESOURCE_IDS, SCOPE, AUTHORIZED_GRANT_TYPES, WEB_SERVER_REDIRECT_URI, AUTHORITIES, ACCESS_TOKEN_VALIDITY, REFRESH_TOKEN_VALIDITY, ADDITIONAL_INFORMATION, AUTOAPPROVE, CREATE_USER, CREATE_DEPT, CREATE_TIME, UPDATE_USER, UPDATE_TIME, STATUS, IS_DELETED, CLIENT_NAME, TWO_FACTOR_AUTH, LOGOUT_ADDRESS, IS_LOGON_CONF, MODIFY_USER)
+values  (1686651849468997633, 'test2', '2794B0A633FF12BA8612628390892BE4', null, 'all', 'refresh_token,password,authorization_code,captcha,social,edge', null, null, 3600, 604800, null, 'true', 2, null, '2023-08-02 16:15:12', null, null, 0, 1, '测试2', null, null, 0, null),
+        (1666610333753716737, 'frame-demo', 'F1F09CFFC2E5F7719ADC2025447AE7BA', null, 'all', 'refresh_token,password,authorization_code,captcha,social,edge', 'http://sgzl-ui.10.236.3.36.nip.io/sgzl', null, 3600, 604800, null, 'true', 1635577609139097602, null, '2023-06-08 08:57:22', null, null, 0, 0, '边端平台', null, null, 0, null);
+
+insert into t_dict (ID, PARENT_ID, CODE, DICT_KEY, DICT_VALUE, SORT, REMARK, IS_SEALED, IS_DELETED)
+values  (1000000000000000001, 1, 'sys_user_sex', '0', '男', 1, '性别男', 0, 0),
+        (1000000000000000002, 1, 'sys_user_sex', '1', '女', 1, '性别女', 0, 0),
+        (1000000000000000003, 1, 'sys_user_sex', '2', '未知', 1, '性别未知', 0, 0),
+        (1000000000000000004, 2, 'sys_show_hide', '0', '显示', 1, '显示菜单', 0, 0),
+        (1000000000000000005, 2, 'sys_show_hide', '1', '隐藏', 1, '隐藏菜单', 0, 0),
+        (1000000000000000006, 3, 'sys_normal_disable', '0', '正常', 1, '正常状态', 0, 0),
+        (1000000000000000007, 3, 'sys_normal_disable', '1', '停用', 1, '停用状态', 0, 0),
+        (1000000000000000008, 4, 'sys_job_status', '0', '正常', 1, '正常状态', 0, 0),
+        (1000000000000000009, 4, 'sys_job_status', '1', '暂停', 1, '停用状态', 0, 0),
+        (1000000000000000010, 5, 'sys_job_group', 'DEFAULT', '默认', 1, '默认分组', 0, 0),
+        (1000000000000000011, 5, 'sys_job_group', 'SYSTEM', '系统', 1, '系统分组', 0, 0),
+        (1000000000000000012, 6, 'sys_yes_no', 'Y', '是', 1, '系统默认是', 0, 0),
+        (1000000000000000013, 6, 'sys_yes_no', 'N', '否', 1, '系统默认否', 0, 0),
+        (1000000000000000014, 7, 'sys_notice_type', '1', '通知', 1, '通知', 0, 0),
+        (1000000000000000015, 7, 'sys_notice_type', '2', '公告', 1, '公告', 0, 0),
+        (1000000000000000016, 8, 'sys_notice_status', '0', '正常', 1, '正常状态', 0, 0),
+        (1000000000000000017, 8, 'sys_notice_status', '1', '关闭', 1, '关闭状态', 0, 0),
+        (1000000000000000018, 9, 'sys_oper_type', '0', '其他', 1, '其他操作', 0, 0),
+        (1000000000000000019, 9, 'sys_oper_type', '1', '新增', 1, '新增操作', 0, 0),
+        (1000000000000000020, 9, 'sys_oper_type', '2', '修改', 1, '修改操作', 0, 0),
+        (1000000000000000021, 9, 'sys_oper_type', '3', '删除', 1, '删除操作', 0, 0),
+        (1000000000000000022, 9, 'sys_oper_type', '4', '授权', 1, '授权操作', 0, 0),
+        (1000000000000000023, 9, 'sys_oper_type', '5', '导出', 1, '导出操作', 0, 0),
+        (1000000000000000024, 9, 'sys_oper_type', '6', '导入', 1, '导入操作', 0, 0),
+        (1000000000000000025, 9, 'sys_oper_type', '7', '强退', 1, '强退操作', 0, 0),
+        (1000000000000000026, 9, 'sys_oper_type', '8', '生成代码', 1, '生成操作', 0, 0),
+        (1000000000000000027, 9, 'sys_oper_type', '9', '清空数据', 1, '清空操作', 0, 0),
+        (1000000000000000028, 10, 'sys_common_status', '0', '成功', 1, '正常状态', 0, 0),
+        (1000000000000000029, 10, 'sys_common_status', '1', '失败', 1, '停用状态', 0, 0),
+        (1000000000000000100, 100, 'sys_process_category', 'leave', '请假流程', 1, null, 0, 0),
+        (1000000000000000101, 100, 'sys_process_category', 'oa', 'OA流程', 1, null, 0, 0),
+        (1000000000000000102, 101, 'common_status', '0', '正常', 1, null, 0, 0),
+        (1000000000000000103, 101, 'common_status', '1', '禁用', 1, null, 0, 0),
+        (1000000000000000104, 102, 'sys_listener_type', '1', '任务监听', 1, null, 0, 0),
+        (1000000000000000105, 102, 'sys_listener_type', '2', '执行监听', 1, null, 0, 0),
+        (1000000000000000106, 103, 'sys_listener_value_type', '1', 'JAVA类', 1, null, 0, 0),
+        (1000000000000000107, 103, 'sys_listener_value_type', '2', '表达式', 1, null, 0, 0),
+        (1000000000000000108, 103, 'sys_listener_value_type', '3', '代理表达式', 1, null, 0, 0),
+        (1100000000000000007, 0, 'sys_notice_type', '-1', '通知类型', 1, '通知类型列表', 0, 0),
+        (1100000000000000008, 0, 'sys_notice_status', '-1', '通知状态', 1, '通知状态列表', 0, 0),
+        (1100000000000000009, 0, 'sys_oper_type', '-1', '操作类型', 1, '操作类型列表', 0, 0),
+        (1100000000000000010, 0, 'sys_common_status', '-1', '系统状态', 1, '登录状态列表', 0, 0),
+        (1100000000000000100, 0, 'sys_process_category', '-1', '流程分类', 1, null, 0, 0),
+        (1100000000000000101, 0, 'common_status', '-1', '通用状态', 1, null, 0, 0),
+        (1100000000000000102, 0, 'sys_listener_type', '-1', '监听类型', 1, null, 0, 0),
+        (1100000000000000103, 0, 'sys_listener_value_type', '-1', '监听值类型', 1, null, 0, 0),
+        (1100000000000000104, 0, 'sys_listener_event_type', '-1', '监听属性', 1, null, 0, 0),
+        (1123598814738675201, 0, 'sex', '-1', '性别', 1, null, 0, 0),
+        (1123598814738675202, 1123598814738675201, 'sex', '1', '男', 1, null, 0, 0),
+        (1123598814738675203, 1123598814738675201, 'sex', '2', '女', 2, null, 0, 0),
+        (1123598814738675204, 0, 'notice', '-1', '通知类型', 2, null, 0, 0),
+        (1123598814738675205, 1123598814738675204, 'notice', '1', '发布通知', 1, null, 0, 0),
+        (1123598814738675206, 1123598814738675204, 'notice', '2', '批转通知', 2, null, 0, 0),
+        (1123598814738675207, 1123598814738675204, 'notice', '3', '转发通知', 3, null, 0, 0),
+        (1123598814738675208, 1123598814738675204, 'notice', '4', '指示通知', 4, null, 0, 0),
+        (1123598814738675209, 1123598814738675204, 'notice', '5', '任免通知', 5, null, 0, 0),
+        (1123598814738675210, 1123598814738675204, 'notice', '6', '事务通知', 6, null, 0, 0),
+        (1123598814738675211, 0, 'menu_category', '-1', '菜单类型', 3, null, 0, 0),
+        (1123598814738675212, 1123598814738675211, 'menu_category', '1', '菜单', 1, null, 0, 0),
+        (1123598814738675213, 1123598814738675211, 'menu_category', '2', '按钮', 2, null, 0, 0),
+        (1123598814738675214, 0, 'button_func', '-1', '按钮功能', 4, null, 0, 0),
+        (1123598814738675215, 1123598814738675214, 'button_func', '1', '工具栏', 1, null, 0, 0),
+        (1123598814738675216, 1123598814738675214, 'button_func', '2', '操作栏', 2, null, 0, 0),
+        (1123598814738675217, 1123598814738675214, 'button_func', '3', '工具操作栏', 3, null, 0, 0),
+        (1123598814738675218, 0, 'yes_no', '-1', '是否', 5, null, 0, 0),
+        (1123598814738675219, 1123598814738675218, 'yes_no', '1', '否', 1, null, 0, 0),
+        (1123598814738675220, 1123598814738675218, 'yes_no', '2', '是', 2, null, 0, 0),
+        (1123598814738675221, 0, 'flow', '-1', '流程类型', 5, null, 0, 0),
+        (1123598814738675222, 1123598814738675221, 'flow', '1', '请假流程', 1, 'leave', 0, 0),
+        (1123598814738675223, 1123598814738675221, 'flow', '2', '报销流程', 2, 'expense', 0, 0),
+        (1123598814738675227, 0, 'org_category', '-1', '机构类型', 7, null, 0, 0),
+        (1123598814738675228, 1123598814738675227, 'org_category', '1', '公司', 1, null, 0, 0),
+        (1123598814738675229, 1123598814738675227, 'org_category', '2', '部门', 2, null, 0, 0),
+        (1123598814738675230, 1123598814738675227, 'org_category', '3', '小组', 3, null, 0, 0),
+        (1123598814738675231, 0, 'data_scope_type', '-1', '数据权限', 8, null, 0, 0),
+        (1123598814738675232, 1123598814738675231, 'data_scope_type', '1', '全部可见', 1, null, 0, 0),
+        (1123598814738675233, 1123598814738675231, 'data_scope_type', '2', '本人可见', 2, null, 0, 0),
+        (1123598814738675234, 1123598814738675231, 'data_scope_type', '3', '所在机构可见', 3, null, 0, 0),
+        (1123598814738675235, 1123598814738675231, 'data_scope_type', '4', '所在机构及子级可见', 4, null, 0, 0),
+        (1123598814738675236, 1123598814738675231, 'data_scope_type', '5', '自定义', 5, null, 0, 0),
+        (1123598814738675237, 0, 'api_scope_type', '-1', '接口权限', 10, null, 0, 0),
+        (1123598814738675238, 1123598814738675237, 'api_scope_type', '1', '系统接口', 1, null, 0, 0),
+        (1123598814738675239, 1123598814738675237, 'api_scope_type', '2', '业务接口', 2, null, 0, 0),
+        (1123598814738675240, 0, 'scope_category', '-1', '权限类型', 10, null, 0, 0),
+        (1123598814738675241, 1123598814738675240, 'scope_category', '1', '数据权限', 1, null, 0, 0),
+        (1123598814738675242, 1123598814738675240, 'scope_category', '2', '接口权限', 2, null, 0, 0),
+        (1123598814738676224, 0, 'oss', '-1', '对象存储类型', 6, null, 0, 0),
+        (1123598814738676225, 1123598814738676224, 'oss', '1', 'minio', 1, null, 0, 0),
+        (1123598814738676226, 1123598814738676224, 'oss', '2', 'qiniu', 2, null, 0, 0),
+        (1123598814738676227, 1123598814738676224, 'oss', '3', 'ali', 3, null, 0, 0),
+        (1123598814738676228, 1123598814738676224, 'oss', '4', 'tencent', 4, null, 0, 0),
+        (1123598814738677220, 0, 'sms', '-1', '短信服务类型', 11, null, 0, 0),
+        (1123598814738677221, 1123598814738677220, 'sms', '1', 'yunpian', 1, null, 0, 0),
+        (1123598814738677222, 1123598814738677220, 'sms', '2', 'qiniu', 2, null, 0, 0),
+        (1123598814738677223, 1123598814738677220, 'sms', '3', 'ali', 3, null, 0, 0),
+        (1123598814738677224, 1123598814738677220, 'sms', '4', 'tencent', 4, null, 0, 0),
+        (1123598814738777220, 0, 'post_category', '-1', '岗位类型', 12, null, 0, 0),
+        (1123598814738777221, 1123598814738777220, 'post_category', '1', '高层', 1, null, 0, 0),
+        (1123598814738777222, 1123598814738777220, 'post_category', '2', '中层', 2, null, 0, 0),
+        (1123598814738777223, 1123598814738777220, 'post_category', '3', '基层', 3, null, 0, 0),
+        (1123598814738777224, 1123598814738777220, 'post_category', '4', '其他', 4, null, 0, 0),
+        (1123598814738777230, 0, 'region', '-1', '行政区划', 13, null, 0, 0),
+        (1123598814738777231, 1123598814738777230, 'region', '0', '国家', 0, null, 0, 0),
+        (1123598814738777232, 1123598814738777230, 'region', '1', '省份/直辖市', 1, null, 0, 0),
+        (1123598814738777233, 1123598814738777230, 'region', '2', '地市', 2, null, 0, 0),
+        (1123598814738777234, 1123598814738777230, 'region', '3', '区县', 3, null, 0, 0),
+        (1123598814738777235, 1123598814738777230, 'region', '4', '乡镇', 4, null, 0, 0),
+        (1123598814738777236, 1123598814738777230, 'region', '5', '村委', 5, null, 0, 0),
+        (1123598814738778200, 0, 'user_type', '-1', '用户平台', 14, null, 0, 0),
+        (1123598814738778201, 1123598814738778200, 'user_type', '1', 'WEB', 1, null, 0, 0),
+        (1123598814738778202, 1123598814738778200, 'user_type', '2', 'APP', 2, null, 0, 0),
+        (1123598814738778203, 1123598814738778200, 'user_type', '3', 'OTHER', 3, null, 0, 0),
+        (1123598814738778204, 0, 'app_type', '1', 'Web应用', 1, null, 0, 0),
+        (1123598814738778205, 0, 'app_type', '2', '移动应用', 2, null, 0, 0),
+        (1123598814738778206, 0, 'app_type', '3', '数据应用', 3, null, 0, 0),
+        (1123598814738778207, 0, 'app_type', '4', '4C客户端应用', 4, null, 0, 0),
+        (1123598814738778208, 0, 'app_type', '5', 'AI应用', 5, null, 0, 0),
+        (1123598814738778209, 0, 'app_type', '6', '第三方应用', 6, null, 0, 0),
+        (1123598814738778210, 0, 'app_type', '7', '算法应用', 7, null, 0, 0);
+
+
+insert into t_param (ID, PARAM_NAME, PARAM_KEY, PARAM_VALUE, REMARK, CREATE_USER, CREATE_DEPT, CREATE_TIME, UPDATE_USER, UPDATE_TIME, STATUS, IS_DELETED)
+values  (4, '当前日志总容量', 'es.total.capacity', '1024', null, null, null, null, null, null, null, 0),
+        (5, '日志已使用容量', 'es.used.capacity', '331', null, null, null, null, null, null, null, 0),
+        (1123598819738675201, '是否开启注册功能', 'account.registerUser', 'true', '开启注册', 1123598821738675201, 1123598813738675201, '2018-12-28 12:19:01', 1123598821738675201, '2018-12-28 12:19:01', 1, 0),
+        (1123598819738675202, '账号初始密码', 'account.initPassword', '123456', '初始密码', 1123598821738675201, 1123598813738675201, '2018-12-28 12:19:01', 1123598821738675201, '2018-12-28 12:19:01', 1, 0),
+        (1123598819738675203, '账号错误锁定次数', 'account.failCount', '5', '锁定次数', 1123598821738675201, 1123598813738675201, '2021-12-01 12:00:00', 1123598821738675201, '2021-12-01 12:00:00', 1, 0),
+        (1238706101399142402, '租户默认管理密码', 'tenant.default.password', 'admin', null, 1123598821738675201, 1123598813738675201, '2020-03-14 13:58:43', 1123598821738675201, '2020-03-14 13:58:43', 1, 0),
+        (1238706160295559170, '租户默认账号额度', 'tenant.default.accountNumber', '100', null, 1123598821738675201, 1123598813738675201, '2020-03-14 13:58:57', 1123598821738675201, '2020-03-14 13:58:57', 1, 0),
+        (1238706330076790786, '租户默认菜单集合', 'tenant.default.menuCode', 'desk,flow,work,monitor,resource,role,user,dept,post,dictbiz,topmenu', null, 1123598821738675201, 1123598813738675201, '2020-03-14 13:59:38', 1123598821738675201, '2020-03-14 13:59:38', 1, 0),
+        (1640239194376769537, '测试1', 'tes1t', 'true1', '01', null, null, '2023-03-27 14:27:52', null, '2023-03-27 14:31:31', 1, 1);
+
+insert into t_scope_data (ID, MENU_ID, RESOURCE_CODE, SCOPE_NAME, SCOPE_FIELD, SCOPE_CLASS, SCOPE_COLUMN, SCOPE_TYPE, SCOPE_VALUE, REMARK, CREATE_USER, CREATE_DEPT, CREATE_TIME, UPDATE_USER, UPDATE_TIME, STATUS, IS_DELETED, SORT)
+values  (1722184428242403329, 1, 'root', '根目录[全部可见]', '*', '2222', '-', 1, null, null, 1722063562541436929, 1635579166396092418, '2023-11-08 17:28:58', 1722063562541436929, '2023-11-08 17:28:58', 1, 0, null),
+        (1781145531492937730, 1762660776364011522, 'boot-user', '用户管理[全部可见]', '*', 'cccc', '-id', 1, null, '0', 1, 1635579167369170959, '2024-04-19 02:19:21', 1, '2024-04-19 02:19:21', 1, 0, null),
+        (1781145768806658050, 1762660101475332097, 'boot-dept', '部门管理[全部可见]', '*', 'bbbbbbbbb', '-', 1, null, '0', 1, 1635579167369170959, '2024-04-19 02:20:18', 1, '2024-04-19 02:20:18', 1, 0, null),
+        (1781145861098123266, 1762660776364011522, 'boot-user', '用户管理[全部可见]', '*', 'mmmmmmmmmm', '-', 1, null, '0', 1, 1635579167369170959, '2024-04-19 02:20:40', 1, '2024-04-19 02:22:32', 1, 1, null),
+        (1781145911656263681, 1762659730841464833, 'boot-dataList', '数据权限[本人可见]', '*', 'llllllllll', '-', 2, null, '0', 1, 1635579167369170959, '2024-04-19 02:20:52', 1, '2024-04-19 02:20:52', 1, 0, null);
+
+
+insert into t_sys_dept (ID, PARENT_ID, NAME, CODE, DESCRIPTION, SORT, STATE, UPDATED_AT, CREATED_AT, ANCESTORS, DEPT_TYPE)
+values  (1635579166396092418, 1678687232259869038, '山东港口青岛港', 'GS', null, null, 0, '2023-08-01 17:30:37', '2023-03-14 17:50:36', null, 1),
+        (1678687232259869038, 0, '青岛港人力资源组织机构', '101', null, null, 0, '2023-08-01 17:30:37', '2023-07-11 16:46:44', null, 1),
+        (1773616023045742593, 1773615972835729410, 'bbbb', 'bbbb', null, 0, 0, '2024-03-29 07:39:46', '2024-03-29 07:39:46', null, 0),
+        (1773628759733510146, 1773616023045742593, 'ccddd2222', 'cc', 'cc', 0, 0, '2024-03-29 08:57:07', '2024-03-29 08:30:23', null, 0),
+        (1776776893506592770, 1773616023045742593, 'czg', 'czg', 'czg', 0, 0, '2024-04-07 00:59:56', '2024-04-07 00:59:56', null, 0),
+        (1776784491278573569, 1773615972835729410, 'vvv', 'vv', 'v', 0, 0, '2024-04-07 01:30:08', '2024-04-07 01:30:08', null, 0),
+        (1781199004224581633, 1781198933487644674, 'sadasdf', 'asdfadsf', null, 0, 0, '2024-04-19 05:51:50', '2024-04-19 05:51:50', null, null);
+
+
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('datetime', 'Date', 'java.util.Date', now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('date', 'Date', 'java.util.Date', now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('tinyint', 'Integer', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('smallint', 'Integer', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('mediumint', 'Integer', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('int', 'Integer', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('integer', 'Integer', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('bigint', 'Long', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('float', 'Float', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('double', 'Double', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('decimal', 'BigDecimal', 'java.math.BigDecimal', now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('bit', 'Boolean', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('char', 'String', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('varchar', 'String', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('tinytext', 'String', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('text', 'String', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('mediumtext', 'String', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('longtext', 'String', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('timestamp', 'Date', 'java.util.Date', now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('NUMBER', 'Integer', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('BINARY_INTEGER', 'Integer', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('BINARY_FLOAT', 'Float', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('BINARY_DOUBLE', 'Double', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('VARCHAR2', 'String', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('NVARCHAR', 'String', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('NVARCHAR2', 'String', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('CLOB', 'String', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('int8', 'Long', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('int4', 'Integer', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('int2', 'Integer', NULL, now());
+INSERT INTO gen_field_type (column_type, attr_type, package_name, create_time) VALUES ('numeric', 'BigDecimal', 'java.math.BigDecimal', now());
+
+INSERT INTO gen_base_class (package_name, code, fields, remark, create_time) VALUES ('com.qdport.core.mp.base', 'BaseEntity', 'id,create_time,update_user,update_time,status,is_deleted', '使用该基类,则需要表里有这些字段', now());
+
+
+INSERT INTO qdport_wf_model_scope (id, model_id, model_key, type, val, text) VALUES (1808051835136233473, 'ac5c5dc0de3b4f96727cda8da30207e4', 'AppAudit', 'WF_ALL', 'WF_ALL', null);
+INSERT INTO qdport_wf_model_scope (id, model_id, model_key, type, val, text) VALUES (1808051846846730241, '62d518b837911f65e6d10e6d90b31b28', 'projectRelease', 'WF_ALL', 'WF_ALL', null);
+
+INSERT INTO qdport_wf_form_default_values (id, name, content, field_type, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1399346112331087873, '当前操作人姓名', '${this.$store.getters.userInfo.nick_name}', 'input', 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-05-31 20:44:46', 1123598821738675201, TIMESTAMP '2021-05-31 20:56:32', '1', 0, '000000');
+INSERT INTO qdport_wf_form_default_values (id, name, content, field_type, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1399347906465595393, '当前操作人部门', '${this.$store.getters.userInfo.dept_name}', 'input', 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-05-31 20:51:54', 1123598821738675201, TIMESTAMP '2021-05-31 20:56:41', '1', 0, '000000');
+INSERT INTO qdport_wf_form_default_values (id, name, content, field_type, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1399717069960855553, '当前日期', '${this.dateFormat(new Date(),"yyyy-MM-dd")}', 'input', 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-06-01 21:18:50', 1123598821738675201, TIMESTAMP '2021-06-01 21:34:25', '1', 0, '000000');
+INSERT INTO qdport_wf_form_default_values (id, name, content, field_type, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1399717187904684034, '当前操作人职位', '${this.$store.getters.userInfo.post_name}', 'input', 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-06-01 21:19:18', 1123598821738675201, TIMESTAMP '2021-06-01 21:19:18', '1', 0, '000000');
+INSERT INTO qdport_wf_form_default_values (id, name, content, field_type, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1399717285564858369, '当前时间', '${this.dateFormat(new Date(),"hh:mm:ss")}', 'input', 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-06-01 21:19:41', 1123598821738675201, TIMESTAMP '2021-06-01 21:34:34', '1', 0, '000000');
+INSERT INTO qdport_wf_form_default_values (id, name, content, field_type, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1399718803940655106, '当前操作人姓名和日期', '${this.$store.getters.userInfo.nick_name} - ${this.dateFormat(new Date(),"yyyy-MM-dd")}', 'input', 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-06-01 21:25:43', 1123598821738675201, TIMESTAMP '2021-06-01 21:34:40', '1', 0, '000000');
+INSERT INTO qdport_wf_form_default_values (id, name, content, field_type, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1408401952027443201, '当前操作人姓名', '${this.$store.getters.userInfo.nick_name}', 'input', 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-06-25 20:29:27', 1123598821738675201, TIMESTAMP '2021-06-25 20:29:32', '1', 1, '000000');
+
+INSERT INTO qdport_wf_condition (id, name, expression, type, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1408267023015739393, '流程发起人', 'applyUser', 'user', 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-06-25 11:33:17', 1123598821738675201, TIMESTAMP '2021-06-25 11:33:17', '1', 0, '000000');
+INSERT INTO qdport_wf_condition (id, name, expression, type, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1408267100878798850, '当前操作人', 'currentUser', 'user', 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-06-25 11:33:36', 1123598821738675201, TIMESTAMP '2021-06-25 11:33:36', '1', 0, '000000');
+INSERT INTO qdport_wf_condition (id, name, expression, type, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1408305933398896641, '上级部门领导', 'leader', 'user', 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-06-25 14:07:54', 1123598821738675201, TIMESTAMP '2021-06-25 14:07:54', '1', 0, '000000');
+
+INSERT INTO qdport_wf_button (id, button_key, name, display, sort, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1394176899911041025, 'wf_pass', '通过', 1, 1, 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-05-16 14:24:10', 1123598821738675201, TIMESTAMP '2021-05-16 14:24:10', '1', 0, '000000');
+INSERT INTO qdport_wf_button (id, button_key, name, display, sort, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1394177198465794050, 'wf_reject', '驳回', 1, 2, 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-05-16 14:25:21', 1123598821738675201, TIMESTAMP '2021-05-16 14:25:21', '1', 0, '000000');
+INSERT INTO qdport_wf_button (id, button_key, name, display, sort, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1394179125421326337, 'wf_print', '打印', 1, 3, 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-05-16 14:33:01', 1123598821738675201, TIMESTAMP '2021-05-16 14:33:01', '1', 0, '000000');
+INSERT INTO qdport_wf_button (id, button_key, name, display, sort, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1394609969089761281, 'wf_transfer', '转办', 1, 4, 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-05-16 19:05:02', 1123598821738675201, TIMESTAMP '2021-05-16 19:05:02', '1', 0, '000000');
+INSERT INTO qdport_wf_button (id, button_key, name, display, sort, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1394610036672581634, 'wf_delegate', '委托', 1, 5, 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-05-16 19:05:18', 1123598821738675201, TIMESTAMP '2021-05-16 19:05:18', '1', 0, '000000');
+INSERT INTO qdport_wf_button (id, button_key, name, display, sort, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1395271519601426433, 'wf_terminate', '终止', 1, 6, 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-05-20 14:53:48', 1123598821738675201, TIMESTAMP '2021-05-20 14:53:48', '1', 0, '000000');
+INSERT INTO qdport_wf_button (id, button_key, name, display, sort, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1395274709692579841, 'wf_add_instance', '加签', 1, 7, 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-05-20 15:06:28', 1123598821738675201, TIMESTAMP '2021-05-20 15:06:28', '1', 0, '000000');
+INSERT INTO qdport_wf_button (id, button_key, name, display, sort, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1395274774674931713, 'wf_del_instance', '减签', 1, 8, 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-05-20 15:06:44', 1123598821738675201, TIMESTAMP '2021-05-20 15:06:44', '1', 0, '000000');
+INSERT INTO qdport_wf_button (id, button_key, name, display, sort, create_user, create_dept, create_time, update_user, update_time, status, is_deleted, tenant_id) VALUES (1395274955986305025, 'wf_rollback', '指定回退', 1, 9, 1123598821738675201, 1123598813738675201, TIMESTAMP '2021-05-20 15:07:27', 1123598821738675201, TIMESTAMP '2021-05-20 15:07:27', '1', 0, '000000');

File diff ditekan karena terlalu besar
+ 1482 - 0
script/db/boot/mysql/BOOT_MYSQL_TABLE.sql


File diff ditekan karena terlalu besar
+ 357 - 0
script/db/boot/oracle/BOOT_ORACLE_DATA.sql


File diff ditekan karena terlalu besar
+ 5058 - 0
script/db/boot/oracle/BOOT_ORACLE_TABLE.sql


+ 15 - 0
src/main/java/com/qdport/QdportBootDemoApplication.java

@@ -0,0 +1,15 @@
+package com.qdport;
+
+import com.qdport.core.strikeup.QdportApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.scheduling.annotation.EnableScheduling;
+
+@SpringBootApplication
+@EnableScheduling
+public class QdportBootDemoApplication {
+
+	public static void main(String[] args) {
+		QdportApplication.run("qdport-boot-demo", QdportBootDemoApplication.class, args);
+	}
+
+}

+ 4 - 0
src/main/java/com/qdport/controller/TestController.java

@@ -0,0 +1,4 @@
+package com.qdport.controller;
+
+public class TestController {
+}

+ 92 - 0
src/main/resources/application-dev.yml

@@ -0,0 +1,92 @@
+# 数据源配置
+spring:
+  datasource:
+    driver-class-name: oracle.jdbc.driver.OracleDriver
+    url: jdbc:oracle:thin:@10.236.2.150:1521:orcl
+    username: ZCGX
+    password: ZCGX!2409
+  redis:
+    # redis 单机环境配置
+    host: localhost
+    port: 6379
+    password:
+    database: 0
+    ssl: false
+
+# 配置
+qdport:
+  prop:
+    user:
+      # 用户安全策略开关
+      security-policy-enable: false
+  # 框架许可证配置
+  license:
+    # -----------------------请联系相关人员获取许可证-----------------------
+    context: "WGNmT0pgl+tbb44iqxgfT2t+sy/v+4wb9UEwK2tXpz8CG/X9b2RUTZrAXwIlFlpLrMVdwvx4t+F8usRv58J9hB5Ca7zfY1cxrUV7705vV/ecbc4hPvhnHZJWDVyl2gDR8gvbFySFJVytdJRC32rsD6+Wc2kQvFnrFa45d6Xe9Ks="
+  # 分布式锁配置
+  lock:
+    # 是否启用分布式锁
+    enabled: true
+    # redis服务地址
+    address: redis://localhost:6379
+    password:
+    database: 2
+  # 本地文件上传
+  file:
+    remote-mode: true
+    upload-domain: http://localhost:8999
+    remote-path: /usr/share/nginx/html
+  # 第三方登陆
+  social:
+    tokenUrl: http://eplattest.qdgwlds.com/cloud/oauth/token
+    userInfoUrl: http://eplattest.qdgwlds.com/cloud/user
+    refreshUrl: http://eplattest.qdgwlds.com/cloud/oauth/token
+    oauth:
+      eplat:
+        client-id: frame-demo
+        client-secret: 4997E6FA4A2D50A5A2166FDF44E1F87F
+        redirect-uri: http://你的前端项目访问域名/baoxin
+    enabled: true
+  # 安全配置 接口放行等
+  secure:
+    enabled: true
+    skip-url:
+      - /qdport-chat/weixin
+      - /assets/**
+      - /generator.html
+      - /favicon.ico
+      - /qdg-logo-w.png
+      - /gen/**
+
+oss:
+  enabled: false
+  name: minio
+  tenant-mode: false
+  endpoint: 127.0.0.0
+  access-key: 你的项目配置
+  secret-key: 你的项目配置
+  bucketName: 你的项目配置
+
+flowable:
+  activity-font-name: \u5B8B\u4F53
+  label-font-name: \u5B8B\u4F53
+  annotation-font-name: \u5B8B\u4F53
+  check-process-definitions: false
+  database-schema-update: true # 升级flowable 表自动更新
+  async-executor-activate: false # 定时任务
+  app:
+    enabled: false
+  cmmn:
+    enabled: false
+  idm:
+    enabled: false
+  dmn:
+    enabled: false
+  form:
+    enabled: false
+  content:
+    enabled: false
+  eventregistry:
+    enabled: false
+  custom-mybatis-x-m-l-mappers:
+    - com/qdport/workflow/process/mapper/WfProcessDefinition.xml

+ 92 - 0
src/main/resources/application-prod.yml

@@ -0,0 +1,92 @@
+# 数据源配置
+spring:
+  datasource:
+    driver-class-name: oracle.jdbc.driver.OracleDriver
+    url: jdbc:oracle:thin:@10.236.3.79:1521:orcl
+    username: 你的项目配置
+    password: 你的项目配置
+  redis:
+    # redis 单机环境配置
+    host: 127.0.0.1
+    port: 6379
+    password: 123456
+    database: 0
+    ssl: false
+
+# 配置
+qdport:
+  prop:
+    user:
+      # 用户安全策略开关
+      security-policy-enable: true
+  # 框架许可证配置
+  license:
+    # -----------------------请联系相关人员获取许可证-----------------------
+    context:
+  # 分布式锁配置
+  lock:
+    # 是否启用分布式锁
+    enabled: true
+    # redis服务地址
+    address: redis://127.0.0.1:6379
+    password: 123456
+    database: 2
+  # 本地文件上传
+  file:
+    remote-mode: true
+    upload-domain: http://localhost:8999
+    remote-path: /usr/share/nginx/html
+  # 第三方登陆
+  social:
+    tokenUrl: http://cloud.qdpi.net.cn/cloud/oauth/token
+    userInfoUrl: http://cloud.qdpi.net.cn/cloud/user
+    refreshUrl: http://cloud.qdpi.net.cn/cloud/oauth/token
+    oauth:
+      eplat:
+        client-id: frame-demo
+        client-secret: 4997E6FA4A2D50A5A2166FDF44E1F87F
+        redirect-uri: http://你的前端项目访问域名/baoxin
+    enabled: true
+  # 安全配置 接口放行等
+  secure:
+    enabled: true
+    skip-url:
+      - /qdport-chat/weixin
+      - /assets/**
+      - /generator.html
+      - /favicon.ico
+      - /qdg-logo-w.png
+      - /gen/**
+
+oss:
+  enabled: false
+  name: minio
+  tenant-mode: false
+  endpoint: 127.0.0.0
+  access-key: 你的项目配置
+  secret-key: 你的项目配置
+  bucketName: 你的项目配置
+
+flowable:
+  activity-font-name: \u5B8B\u4F53
+  label-font-name: \u5B8B\u4F53
+  annotation-font-name: \u5B8B\u4F53
+  check-process-definitions: false
+  database-schema-update: true # 升级flowable 表自动更新
+  async-executor-activate: false # 定时任务
+  app:
+    enabled: false
+  cmmn:
+    enabled: false
+  idm:
+    enabled: false
+  dmn:
+    enabled: false
+  form:
+    enabled: false
+  content:
+    enabled: false
+  eventregistry:
+    enabled: false
+  custom-mybatis-x-m-l-mappers:
+    - com/qdport/workflow/process/mapper/WfProcessDefinition.xml

+ 92 - 0
src/main/resources/application-test.yml

@@ -0,0 +1,92 @@
+# 数据源配置
+spring:
+  datasource:
+    driver-class-name: oracle.jdbc.driver.OracleDriver
+    url: jdbc:oracle:thin:@10.236.3.79:1521:orcl
+    username: 你的项目配置
+    password: 你的项目配置
+  redis:
+    # redis 单机环境配置
+    host: 127.0.0.1
+    port: 6379
+    password: 123456
+    database: 0
+    ssl: false
+
+# 配置
+qdport:
+  prop:
+    user:
+      # 用户安全策略开关
+      security-policy-enable: true
+  # 框架许可证配置
+  license:
+    # -----------------------请联系相关人员获取许可证-----------------------
+    context:
+  # 分布式锁配置
+  lock:
+    # 是否启用分布式锁
+    enabled: true
+    # redis服务地址
+    address: redis://127.0.0.1:6379
+    password: 123456
+    database: 2
+  # 本地文件上传
+  file:
+    remote-mode: true
+    upload-domain: http://localhost:8999
+    remote-path: /usr/share/nginx/html
+  # 第三方登陆
+  social:
+    tokenUrl: http://eplattest.qdgwlds.com/cloud/oauth/token
+    userInfoUrl: http://eplattest.qdgwlds.com/cloud/user
+    refreshUrl: http://eplattest.qdgwlds.com/cloud/oauth/token
+    oauth:
+      eplat:
+        client-id: frame-demo
+        client-secret: 4997E6FA4A2D50A5A2166FDF44E1F87F
+        redirect-uri: http://你的前端项目访问域名/baoxin
+    enabled: true
+  # 安全配置 接口放行等
+  secure:
+    enabled: true
+    skip-url:
+      - /qdport-chat/weixin
+      - /assets/**
+      - /generator.html
+      - /favicon.ico
+      - /qdg-logo-w.png
+      - /gen/**
+
+oss:
+  enabled: false
+  name: minio
+  tenant-mode: false
+  endpoint: 127.0.0.0
+  access-key: 你的项目配置
+  secret-key: 你的项目配置
+  bucketName: 你的项目配置
+
+flowable:
+  activity-font-name: \u5B8B\u4F53
+  label-font-name: \u5B8B\u4F53
+  annotation-font-name: \u5B8B\u4F53
+  check-process-definitions: false
+  database-schema-update: true # 升级flowable 表自动更新
+  async-executor-activate: false # 定时任务
+  app:
+    enabled: false
+  cmmn:
+    enabled: false
+  idm:
+    enabled: false
+  dmn:
+    enabled: false
+  form:
+    enabled: false
+  content:
+    enabled: false
+  eventregistry:
+    enabled: false
+  custom-mybatis-x-m-l-mappers:
+    - com/qdport/workflow/process/mapper/WfProcessDefinition.xml

+ 105 - 0
src/main/resources/application.yml

@@ -0,0 +1,105 @@
+#spring:
+#  profiles:
+#    active: dev
+#服务器配置
+server:
+  port: 8000
+  undertow:
+    threads:
+      # 设置IO线程数, 它主要执行非阻塞的任务,它们会负责多个连接, 默认设置每个CPU核心一个线程
+      io: 16
+      # 阻塞任务线程池, 当执行类似servlet请求阻塞操作, undertow会从这个线程池中取得线程,它的值设置取决于系统的负载
+      worker: 400
+    # 以下的配置会影响buffer,这些buffer会用于服务器连接的IO操作,有点类似netty的池化内存管理
+    buffer-size: 1024
+    # 是否分配的直接内存
+    direct-buffers: true
+#knife4j配置
+knife4j:
+  #启用
+  enable: true
+  #基础认证
+  basic:
+    enable: false
+  #增强配置
+  setting:
+    enableSwaggerModels: true
+    enableDocumentManage: true
+    enableHost: false
+    enableHostText: http://localhost
+    enableRequestCache: true
+    enableFilterMultipartApis: false
+    enableFilterMultipartApiMethodType: POST
+    language: zh-CN
+    enableFooter: false
+    enableFooterCustom: true
+    footerCustomContent: Copyright © 2022  All Rights Reserved
+
+#swagger公共信息
+swagger:
+  title: 接口文档系统
+  description: 接口文档系统
+  version: 3.0.1.RELEASE
+  license:
+  license-url:
+  terms-of-service-url:
+  contact:
+    name:
+    email:
+    url:
+
+qdport:
+  #token配置
+  token:
+    #是否有状态
+    state: false
+  #redis序列化方式
+  redis:
+    serializer-type: protostuff
+  #权限关
+  data-scope:
+    enabled: false
+  #接口配置
+  api:
+    #报文加密配置
+    crypto:
+      #启用报文加密配置
+      enabled: false
+      #使用AesUtil.genAesKey()生成
+      aes-key: O2BEeIv399qHQNhD6aGW8R8DEj4bqHXm
+      #使用DesUtil.genDesKey()生成
+      des-key: jMVCBsFGDQr1USHo
+  #jackson配置
+  jackson:
+    #null自动转空值
+    null-to-empty: true
+    #大数字自动转字符串
+    big-num-to-string: true
+    #支持text文本请求,与报文加密同时开启
+    support-text-plain: false
+  #xss配置
+  xss:
+    enabled: true
+    skip-url:
+      - /qdport-chat/weixin
+  #多租户配置
+  tenant:
+    #多租户增强
+    enhance: false
+    #多租户授权保护
+    license: false
+    #动态数据源功能
+    dynamic-datasource: false
+    #动态数据源全局扫描
+    dynamic-global: false
+    #多租户字段名
+    column: tenant_id
+    #排除多租户逻辑
+    exclude-tables:
+      - t_user
+  prop:
+    user-table: t_sys_user
+
+  # 新增用户和重置密码时的默认密码
+  user:
+    default-password: Qdport@2023!

+ 16 - 0
src/main/resources/logback-dev.xml

@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration debug="false">
+    <!--定义日志文件的存储地址 勿在 LogBack 的配置中使用相对路径-->
+    <property name="LOG_HOME" value="/usr/local/chengfa/logs" />
+    <!-- 控制台输出 -->
+    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+        <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
+            <!--格式化输出:%d表示日期,%thread表示线程名,%-5level:级别从左显示5个字符宽度%msg:日志消息,%n是换行符-->
+            <pattern>===%red(%d{yyyy-MM-dd HH:mm:ss}) %green([%thread]) %highlight(%-5level) %boldMagenta(%logger{36}) Line:%-3L - %gray(%msg%n)</pattern>
+        </encoder>
+    </appender>
+    <!-- 日志输出级别 -->
+    <root level="INFO">
+        <appender-ref ref="STDOUT" />
+    </root>
+</configuration>

+ 13 - 0
src/test/java/com/qdport/QdportBootDemoApplicationTests.java

@@ -0,0 +1,13 @@
+package com.qdport;
+
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+@SpringBootTest
+class QdportBootDemoApplicationTests {
+
+	@Test
+	void contextLoads() {
+	}
+
+}