Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
framework-tools
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 669bf3fd
authored
Jul 02, 2024
by
henry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置
1 parent
0a6dfc0b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
308 additions
and
73 deletions
arch-base/pom.xml
arch-clouds/attach/pom.xml
arch-clouds/log/pom.xml
arch-clouds/log/src/main/java/org/arch/log/config/LogAutoConfiguration.java
arch-clouds/mybatis/pom.xml
arch-clouds/mybatis/src/main/java/org/arch/config/MybatisConfig.java
arch-clouds/nacos/pom.xml
arch-clouds/office/pom.xml
arch-clouds/pom.xml
arch-gateway/pom.xml
arch-overall/pom.xml
arch-overall/src/main/java/org/arch/modules/ArchOverallApp.java
arch-overall/src/main/java/org/arch/modules/design/controller/ArchiElementController.java
arch-base/src/main/java/org/arch/modules/archoverall/dto/ArchiElePropertyDTO.java → arch-overall/src/main/java/org/arch/modules/design/dto/ArchiElePropertyDTO.java
arch-base/src/main/java/org/arch/modules/archoverall/dto/ArchiElementDTO.java → arch-overall/src/main/java/org/arch/modules/design/dto/ArchiElementDTO.java
arch-base/src/main/java/org/arch/modules/base/dto/BasePageEntity.java → arch-overall/src/main/java/org/arch/modules/design/dto/BasePageEntity.java
arch-base/src/main/java/org/arch/modules/archoverall/dto/BatchUpdateDTO.java → arch-overall/src/main/java/org/arch/modules/design/dto/BatchUpdateDTO.java
arch-overall/src/main/java/org/arch/modules/design/mapper/ArchiElementMapper.java
arch-overall/src/main/java/org/arch/modules/design/service/ArchiElementService.java
arch-overall/src/main/java/org/arch/modules/design/service/impl/ArchiElementImpl.java
logs/eadc-architecture_error.log
logs/eadc-architecture_info.log
arch-base/pom.xml
View file @
669bf3f
...
@@ -10,6 +10,8 @@
...
@@ -10,6 +10,8 @@
</parent>
</parent>
<artifactId>
arch-base
</artifactId>
<artifactId>
arch-base
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<groupId>
org.arch.base
</groupId>
<name>
基础功能公共服务
</name>
<name>
基础功能公共服务
</name>
<properties>
<properties>
<maven.compiler.source>
8
</maven.compiler.source>
<maven.compiler.source>
8
</maven.compiler.source>
...
@@ -17,39 +19,276 @@
...
@@ -17,39 +19,276 @@
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
</properties>
</properties>
<dependencies>
<dependencies>
<!--引入AOP -->
<!-- Shiro安全认证 -->
<dependency>
<dependency>
<groupId>
org.a
spectj
</groupId>
<groupId>
org.a
pache.shiro
</groupId>
<artifactId>
aspectjrt
</artifactId>
<artifactId>
shiro-spring
</artifactId>
</dependency>
</dependency>
<!--nacos client-->
<!--SpringBoot2.4.x之后默认不加载bootstrap.yml文件,需要在pom里加上依赖-->
<dependency>
<dependency>
<groupId>
org.aspectj
</groupId>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
aspectjweaver
</artifactId>
<artifactId>
spring-cloud-starter-bootstrap
</artifactId>
</dependency>
<dependency>
<groupId>
com.alibaba.cloud
</groupId>
<artifactId>
spring-cloud-starter-alibaba-nacos-discovery
</artifactId>
</dependency>
<dependency>
<groupId>
com.alibaba.cloud
</groupId>
<artifactId>
spring-cloud-starter-alibaba-nacos-config
</artifactId>
</dependency>
<!--openfeign-->
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-openfeign
</artifactId>
</dependency>
<!--sentinel依赖-->
<dependency>
<groupId>
com.alibaba.cloud
</groupId>
<artifactId>
spring-cloud-starter-alibaba-sentinel
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.
github.davidfantasy
</groupId>
<groupId>
com.
mysql
</groupId>
<artifactId>
my
batis-plus-generator-ui
</artifactId>
<artifactId>
my
sql-connector-j
</artifactId>
</dependency>
</dependency>
<!-- druid数据源驱动 -->
<dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<groupId>
com.alibaba
</groupId>
<artifactId>
javax.servlet-api
</artifactId>
<artifactId>
druid-spring-boot-starter
</artifactId>
</dependency>
</dependency>
<!--FTP包-->
<dependency>
<dependency>
<groupId>
com
.fasterxml.jackson.core
</groupId>
<groupId>
com
mons-net
</groupId>
<artifactId>
jackson-databind
</artifactId>
<artifactId>
commons-net
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-configuration-processor
</artifactId>
<optional>
true
</optional>
</dependency>
<!--jwt-->
<dependency>
<groupId>
com.auth0
</groupId>
<artifactId>
java-jwt
</artifactId>
<version>
3.2.0
</version>
</dependency>
<dependency>
<dependency>
<groupId>
io.jsonwebtoken
</groupId>
<groupId>
io.jsonwebtoken
</groupId>
<artifactId>
jjwt
</artifactId>
<artifactId>
jjwt
</artifactId>
<version>
0.7.0
</version>
</dependency>
</dependency>
<dependency>
<groupId>
commons-configuration
</groupId>
<artifactId>
commons-configuration
</artifactId>
<version>
1.10
</version>
</dependency>
<!-- mapstruct -->
<dependency>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct
</artifactId>
</dependency>
<!--redis-->
<dependency>
<groupId>
redis.clients
</groupId>
<artifactId>
jedis
</artifactId>
</dependency>
<dependency>
<groupId>
commons-fileupload
</groupId>
<artifactId>
commons-fileupload
</artifactId>
</dependency>
<!-- pdf -->
<dependency>
<groupId>
com.itextpdf
</groupId>
<artifactId>
html2pdf
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-test
</artifactId>
</dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
easyexcel
</artifactId>
<version>
3.2.1
</version>
</dependency>
<dependency>
<groupId>
org.codehaus.jackson
</groupId>
<artifactId>
jackson-core-asl
</artifactId>
</dependency>
<dependency>
<groupId>
commons-httpclient
</groupId>
<artifactId>
commons-httpclient
</artifactId>
<version>
3.1
</version>
</dependency>
<dependency>
<groupId>
com.thoughtworks.xstream
</groupId>
<artifactId>
xstream
</artifactId>
</dependency>
<!-- webservice 缺少的依赖 -->
<dependency>
<groupId>
org.apache.cxf
</groupId>
<artifactId>
cxf-spring-boot-starter-jaxws
</artifactId>
<version>
3.2.4
</version>
<exclusions>
<exclusion>
<artifactId>
logback-classic
</artifactId>
<groupId>
ch.qos.logback
</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
org.apache.cxf
</groupId>
<artifactId>
cxf-rt-transports-http-jetty
</artifactId>
</dependency>
<!-- isc 缺少的依赖 -->
<dependency>
<groupId>
xmlpull
</groupId>
<artifactId>
xmlpull
</artifactId>
<version>
1.1.3.1
</version>
</dependency>
<dependency>
<groupId>
org.json
</groupId>
<artifactId>
json
</artifactId>
<version>
20180130
</version>
</dependency>
<dependency>
<groupId>
org.codehaus.jackson
</groupId>
<artifactId>
jackson-mapper-asl
</artifactId>
</dependency>
<!-- 代码生成器使用模版 -->
<dependency>
<groupId>
org.freemarker
</groupId>
<artifactId>
freemarker
</artifactId>
<version>
2.3.30
</version>
</dependency>
<dependency>
<groupId>
commons-io
</groupId>
<artifactId>
commons-io
</artifactId>
</dependency>
<!--velocity代码生成使用模板 -->
<dependency>
<groupId>
org.apache.velocity
</groupId>
<artifactId>
velocity
</artifactId>
</dependency>
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
</dependency>
<dependency>
<dependency>
<groupId>
cn.hutool
</groupId>
<groupId>
cn.hutool
</groupId>
<artifactId>
hutool-all
</artifactId>
<artifactId>
hutool-all
</artifactId>
</dependency>
</dependency>
<!-- mxgraph -->
<dependency>
<groupId>
org.nasdanika.core
</groupId>
<artifactId>
mxgraph
</artifactId>
</dependency>
<dependency>
<groupId>
org.redisson
</groupId>
<artifactId>
redisson-spring-boot-starter
</artifactId>
<exclusions>
<exclusion>
<artifactId>
spring-boot-starter-actuator
</artifactId>
<groupId>
org.springframework.boot
</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
com.baomidou
</groupId>
<artifactId>
lock4j-redisson-spring-boot-starter
</artifactId>
</dependency>
<!--密码工具类-->
<dependency>
<groupId>
com.github.ulisesbocchio
</groupId>
<artifactId>
jasypt-spring-boot
</artifactId>
</dependency>
<!--单元测试-->
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.checkerframework
</groupId>
<artifactId>
checker-qual
</artifactId>
<version>
3.5.0
</version>
<scope>
compile
</scope>
</dependency>
<!--引入AOP -->
<dependency>
<groupId>
org.aspectj
</groupId>
<artifactId>
aspectjrt
</artifactId>
</dependency>
<dependency>
<groupId>
org.aspectj
</groupId>
<artifactId>
aspectjweaver
</artifactId>
</dependency>
<!--SM4-CBC加密需要-->
<!-- https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on -->
<dependency>
<groupId>
org.bouncycastle
</groupId>
<artifactId>
bcprov-jdk15on
</artifactId>
</dependency>
<!-- oss 多平台 -->
<dependency>
<groupId>
org.dromara.x-file-storage
</groupId>
<artifactId>
x-file-storage-spring
</artifactId>
<exclusions>
<exclusion>
<groupId>
cn.hutool
</groupId>
<artifactId>
hutool-all
</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- minio -->
<dependency>
<groupId>
io.minio
</groupId>
<artifactId>
minio
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.pdfbox
</groupId>
<artifactId>
pdfbox
</artifactId>
<scope>
compile
</scope>
</dependency>
<dependency>
<dependency>
<groupId>
org.
projectlombok
</groupId>
<groupId>
org.
apache.tika
</groupId>
<artifactId>
lombok
</artifactId>
<artifactId>
tika-parser-pdf-module
</artifactId>
<scope>
provided
</scope>
<scope>
compile
</scope>
</dependency>
</dependency>
</dependencies>
</dependencies>
...
...
arch-clouds/attach/pom.xml
View file @
669bf3f
...
@@ -4,13 +4,14 @@
...
@@ -4,13 +4,14 @@
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
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>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<parent>
<groupId>
org.arch
</groupId>
<groupId>
org.arch
.clouds
</groupId>
<artifactId>
arch-clouds
</artifactId>
<artifactId>
arch-clouds
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
</parent>
</parent>
<version>
1.0-SNAPSHOT
</version>
<name>
文件存储
</name>
<name>
文件存储
</name>
<artifactId>
attach
</artifactId>
<artifactId>
attach
</artifactId>
<groupId>
org.arch.attach
</groupId>
<properties>
<properties>
<maven.compiler.source>
8
</maven.compiler.source>
<maven.compiler.source>
8
</maven.compiler.source>
<maven.compiler.target>
8
</maven.compiler.target>
<maven.compiler.target>
8
</maven.compiler.target>
...
...
arch-clouds/log/pom.xml
View file @
669bf3f
...
@@ -4,14 +4,15 @@
...
@@ -4,14 +4,15 @@
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
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>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<parent>
<groupId>
org.arch
</groupId>
<groupId>
org.arch
.clouds
</groupId>
<artifactId>
arch-clouds
</artifactId>
<artifactId>
arch-clouds
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
<relativePath>
../pom.xml
</relativePath>
<relativePath>
../pom.xml
</relativePath>
</parent>
</parent>
<version>
1.0-SNAPSHOT
</version>
<name>
日志模块
</name>
<name>
日志模块
</name>
<artifactId>
log
</artifactId>
<artifactId>
log
</artifactId>
<groupId>
org.arch.log
</groupId>
<properties>
<properties>
<maven.compiler.source>
8
</maven.compiler.source>
<maven.compiler.source>
8
</maven.compiler.source>
<maven.compiler.target>
8
</maven.compiler.target>
<maven.compiler.target>
8
</maven.compiler.target>
...
@@ -19,18 +20,9 @@
...
@@ -19,18 +20,9 @@
</properties>
</properties>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
org.arch
</groupId>
<groupId>
org.arch
.mybatis
</groupId>
<artifactId>
mybatis
</artifactId>
<artifactId>
mybatis
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
</dependency>
</dependency>
<dependency>
<groupId>
org.arch
</groupId>
<artifactId>
arch-base
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-web
</artifactId>
</dependency>
</dependencies>
</dependencies>
</project>
</project>
\ No newline at end of file
arch-clouds/log/src/main/java/org/arch/log/config/LogAutoConfiguration.java
View file @
669bf3f
...
@@ -17,11 +17,11 @@ import org.springframework.beans.factory.annotation.Value;
...
@@ -17,11 +17,11 @@ import org.springframework.beans.factory.annotation.Value;
@Configuration
@Configuration
@ComponentScan
(
"org.arch.log"
)
@ComponentScan
(
"org.arch.log"
)
public
class
LogAutoConfiguration
{
public
class
LogAutoConfiguration
{
//
@Value("${log.enable.flag}")
@Value
(
"${log.enable.flag}"
)
private
boolean
logFlag
;
private
boolean
logFlag
;
//
@Value("${sql.enable.flag}")
@Value
(
"${sql.enable.flag}"
)
private
boolean
sqlFlag
;
private
boolean
sqlFlag
;
//
@Value("${xss.enable.flag}")
@Value
(
"${xss.enable.flag}"
)
private
boolean
xssFlag
;
private
boolean
xssFlag
;
public
LogAutoConfiguration
()
{
public
LogAutoConfiguration
()
{
log
.
info
(
"加载logging配置..."
);
log
.
info
(
"加载logging配置..."
);
...
...
arch-clouds/mybatis/pom.xml
View file @
669bf3f
...
@@ -4,13 +4,14 @@
...
@@ -4,13 +4,14 @@
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
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>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<parent>
<groupId>
org.arch
</groupId>
<groupId>
org.arch
.clouds
</groupId>
<artifactId>
arch-clouds
</artifactId>
<artifactId>
arch-clouds
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
<relativePath>
../pom.xml
</relativePath>
<relativePath>
../pom.xml
</relativePath>
</parent>
</parent>
<artifactId>
mybatis
</artifactId>
<artifactId>
mybatis
</artifactId>
<groupId>
org.arch.mybatis
</groupId>
<name>
mybatis组件
</name>
<name>
mybatis组件
</name>
<properties>
<properties>
<maven.compiler.source>
8
</maven.compiler.source>
<maven.compiler.source>
8
</maven.compiler.source>
...
@@ -18,29 +19,23 @@
...
@@ -18,29 +19,23 @@
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
</properties>
</properties>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
com.github.yulichang
</groupId>
<groupId>
com.github.yulichang
</groupId>
<artifactId>
mybatis-plus-join-boot-starter
</artifactId>
<artifactId>
mybatis-plus-join-boot-starter
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.baomidou
</groupId>
<groupId>
com.baomidou
</groupId>
<artifactId>
mybatis-plus-boot-starter
</artifactId>
<artifactId>
mybatis-plus-boot-starter
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.baomidou
</groupId>
<groupId>
com.baomidou
</groupId>
<artifactId>
mybatis-plus-extension
</artifactId>
<artifactId>
mybatis-plus-extension
</artifactId>
</dependency>
</dependency>
<!--数据源驱动-->
<dependency>
<!-- https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper-spring-boot-starter -->
<groupId>
com.mysql
</groupId>
<artifactId>
mysql-connector-j
</artifactId>
<scope>
runtime
</scope>
</dependency>
<!-- druid数据源驱动 -->
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
druid-spring-boot-starter
</artifactId>
</dependency>
<dependency>
<dependency>
<groupId>
com.github.pagehelper
</groupId>
<groupId>
com.github.pagehelper
</groupId>
<artifactId>
pagehelper-spring-boot-starter
</artifactId>
<artifactId>
pagehelper-spring-boot-starter
</artifactId>
...
@@ -56,5 +51,6 @@
...
@@ -56,5 +51,6 @@
</exclusion>
</exclusion>
</exclusions>
</exclusions>
</dependency>
</dependency>
</dependencies>
</dependencies>
</project>
</project>
\ No newline at end of file
arch-clouds/mybatis/src/main/java/org/arch/config/MybatisConfig.java
View file @
669bf3f
...
@@ -16,12 +16,14 @@ package org.arch.config;
...
@@ -16,12 +16,14 @@ package org.arch.config;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageHelper
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.mybatis.spring.annotation.MapperScan
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Configuration
;
import
java.util.Properties
;
import
java.util.Properties
;
@Slf4j
@Slf4j
@Configuration
@Configuration
@MapperScan
(
basePackages
=
{
"org.arch.*.mapper"
,
"org.arch.**.mapper"
})
public
class
MybatisConfig
{
public
class
MybatisConfig
{
public
MybatisConfig
()
{
public
MybatisConfig
()
{
log
.
info
(
"加载MybatisPlus配置..."
);
log
.
info
(
"加载MybatisPlus配置..."
);
...
...
arch-clouds/nacos/pom.xml
View file @
669bf3f
...
@@ -4,12 +4,13 @@
...
@@ -4,12 +4,13 @@
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
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>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<parent>
<groupId>
org.arch
</groupId>
<groupId>
org.arch
.clouds
</groupId>
<artifactId>
arch-clouds
</artifactId>
<artifactId>
arch-clouds
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
<relativePath>
../pom.xml
</relativePath>
<relativePath>
../pom.xml
</relativePath>
</parent>
</parent>
<artifactId>
nacos
</artifactId>
<artifactId>
nacos
</artifactId>
<groupId>
org.arch.nacos
</groupId>
<name>
注册中心
</name>
<name>
注册中心
</name>
<properties>
<properties>
<maven.compiler.source>
8
</maven.compiler.source>
<maven.compiler.source>
8
</maven.compiler.source>
...
...
arch-clouds/office/pom.xml
View file @
669bf3f
...
@@ -4,12 +4,13 @@
...
@@ -4,12 +4,13 @@
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
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>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<parent>
<groupId>
org.arch
</groupId>
<groupId>
org.arch
.clouds
</groupId>
<artifactId>
arch-clouds
</artifactId>
<artifactId>
arch-clouds
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
</parent>
</parent>
<artifactId>
office
</artifactId>
<artifactId>
office
</artifactId>
<groupId>
org.arch.office
</groupId>
<name>
在线文档
</name>
<name>
在线文档
</name>
<properties>
<properties>
<maven.compiler.source>
8
</maven.compiler.source>
<maven.compiler.source>
8
</maven.compiler.source>
...
...
arch-clouds/pom.xml
View file @
669bf3f
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
<name>
微服务组件
</name>
<name>
微服务组件
</name>
<packaging>
pom
</packaging>
<packaging>
pom
</packaging>
<artifactId>
arch-clouds
</artifactId>
<artifactId>
arch-clouds
</artifactId>
<groupId>
org.arch.clouds
</groupId>
<modules>
<modules>
<module>
log
</module>
<module>
log
</module>
<module>
office
</module>
<module>
office
</module>
...
...
arch-gateway/pom.xml
View file @
669bf3f
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<artifactId>
spring-cloud-starter-gateway
</artifactId>
<artifactId>
spring-cloud-starter-gateway
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.arch
</groupId>
<groupId>
org.arch
.nacos
</groupId>
<artifactId>
nacos
</artifactId>
<artifactId>
nacos
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
</dependency>
</dependency>
...
...
arch-overall/pom.xml
View file @
669bf3f
...
@@ -18,21 +18,23 @@
...
@@ -18,21 +18,23 @@
</properties>
</properties>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
org.arch
</groupId>
<groupId>
com.github.davidfantasy
</groupId>
<artifactId>
nacos
</artifactId>
<artifactId>
mybatis-plus-generator-ui
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.arch.log
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
<artifactId>
log
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<groupId>
org.arch.nacos
</groupId>
<artifactId>
spring-cloud-starter-loadbalancer
</artifactId>
<artifactId>
nacos
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.arch
</groupId>
<groupId>
org.arch
.base
</groupId>
<artifactId>
log
</artifactId>
<artifactId>
arch-base
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
...
...
arch-overall/src/main/java/org/arch/modules/ArchOverallApp.java
View file @
669bf3f
package
org
.
arch
.
modules
;
package
org
.
arch
.
modules
;
import
com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration
;
import
org.dromara.x.file.storage.spring.EnableFileStorage
;
import
org.mybatis.spring.annotation.MapperScan
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.cloud.client.discovery.EnableDiscoveryClient
;
import
org.springframework.cloud.client.discovery.EnableDiscoveryClient
;
import
org.springframework.transaction.annotation.EnableTransactionManagement
;
@SpringBootApplication
(
exclude
=
MybatisPlusAutoConfiguration
.
class
)
@SpringBootApplication
@EnableDiscoveryClient
@EnableDiscoveryClient
@MapperScan
(
basePackages
=
{
"org.arch.*.mapper"
,
"org.arch.**.mapper"
})
@EnableTransactionManagement
@EnableFileStorage
public
class
ArchOverallApp
{
public
class
ArchOverallApp
{
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
ArchOverallApp
.
class
,
args
);
SpringApplication
.
run
(
ArchOverallApp
.
class
,
args
);
...
...
arch-overall/src/main/java/org/arch/modules/design/controller/ArchiElementController.java
View file @
669bf3f
...
@@ -5,17 +5,17 @@ import io.swagger.annotations.Api;
...
@@ -5,17 +5,17 @@ import io.swagger.annotations.Api;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.RequiredArgsConstructor
;
import
lombok.RequiredArgsConstructor
;
import
org.arch.Result
;
import
org.arch.Result
;
import
org.arch.log.annotation.OperLog
;
import
org.arch.log.logenum.LogOperTypeEnum
;
import
org.arch.log.logenum.LogOperTypeEnum
;
import
org.arch.log.logenum.LogTypeEnum
;
import
org.arch.log.logenum.LogTypeEnum
;
import
org.arch.modules.
archoverall
.dto.BatchUpdateDTO
;
import
org.arch.modules.
design
.dto.BatchUpdateDTO
;
import
org.arch.modules.
archoverall
.dto.ArchiElementDTO
;
import
org.arch.modules.
design
.dto.ArchiElementDTO
;
import
org.arch.modules.design.entity.ArchiElement
;
import
org.arch.modules.design.entity.ArchiElement
;
import
org.arch.modules.design.service.ArchiElementService
;
import
org.arch.modules.design.service.ArchiElementService
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.arch.log.annotation.OperLog
;
@Api
(
tags
=
{
"元素管理"
})
@Api
(
tags
=
{
"元素管理"
})
@RestController
@RestController
...
...
arch-
base/src/main/java/org/arch/modules/archoverall
/dto/ArchiElePropertyDTO.java
→
arch-
overall/src/main/java/org/arch/modules/design
/dto/ArchiElePropertyDTO.java
View file @
669bf3f
package
org
.
arch
.
modules
.
archoverall
.
dto
;
package
org
.
arch
.
modules
.
design
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
...
...
arch-
base/src/main/java/org/arch/modules/archoverall
/dto/ArchiElementDTO.java
→
arch-
overall/src/main/java/org/arch/modules/design
/dto/ArchiElementDTO.java
View file @
669bf3f
package
org
.
arch
.
modules
.
archoverall
.
dto
;
package
org
.
arch
.
modules
.
design
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.EqualsAndHashCode
;
import
org.arch.modules.base.dto.BasePageEntity
;
import
java.util.List
;
import
java.util.List
;
...
...
arch-
base/src/main/java/org/arch/modules/base
/dto/BasePageEntity.java
→
arch-
overall/src/main/java/org/arch/modules/design
/dto/BasePageEntity.java
View file @
669bf3f
package
org
.
arch
.
modules
.
base
.
dto
;
package
org
.
arch
.
modules
.
design
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
...
...
arch-
base/src/main/java/org/arch/modules/archoverall
/dto/BatchUpdateDTO.java
→
arch-
overall/src/main/java/org/arch/modules/design
/dto/BatchUpdateDTO.java
View file @
669bf3f
package
org
.
arch
.
modules
.
archoverall
.
dto
;
package
org
.
arch
.
modules
.
design
.
dto
;
import
lombok.Data
;
import
lombok.Data
;
...
...
arch-overall/src/main/java/org/arch/modules/design/mapper/ArchiElementMapper.java
View file @
669bf3f
...
@@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
...
@@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.github.yulichang.base.MPJBaseMapper
;
import
com.github.yulichang.base.MPJBaseMapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
org.arch.modules.
archoverall
.dto.ArchiElementDTO
;
import
org.arch.modules.
design
.dto.ArchiElementDTO
;
import
org.arch.modules.design.entity.ArchiElement
;
import
org.arch.modules.design.entity.ArchiElement
;
import
java.util.List
;
import
java.util.List
;
...
...
arch-overall/src/main/java/org/arch/modules/design/service/ArchiElementService.java
View file @
669bf3f
...
@@ -2,8 +2,8 @@ package org.arch.modules.design.service;
...
@@ -2,8 +2,8 @@ package org.arch.modules.design.service;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
org.arch.modules.
archoverall
.dto.BatchUpdateDTO
;
import
org.arch.modules.
design
.dto.BatchUpdateDTO
;
import
org.arch.modules.
archoverall
.dto.ArchiElementDTO
;
import
org.arch.modules.
design
.dto.ArchiElementDTO
;
import
org.arch.modules.design.entity.ArchiEleProperty
;
import
org.arch.modules.design.entity.ArchiEleProperty
;
import
org.arch.modules.design.entity.ArchiElement
;
import
org.arch.modules.design.entity.ArchiElement
;
...
...
arch-overall/src/main/java/org/arch/modules/design/service/impl/ArchiElementImpl.java
View file @
669bf3f
...
@@ -10,8 +10,8 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
...
@@ -10,8 +10,8 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import
com.baomidou.mybatisplus.extension.plugins.pagination.PageDTO
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.PageDTO
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.github.xiaoymin.knife4j.core.util.StrUtil
;
import
com.github.xiaoymin.knife4j.core.util.StrUtil
;
import
org.arch.modules.
archoverall
.dto.BatchUpdateDTO
;
import
org.arch.modules.
design
.dto.BatchUpdateDTO
;
import
org.arch.modules.
archoverall
.dto.ArchiElementDTO
;
import
org.arch.modules.
design
.dto.ArchiElementDTO
;
import
org.arch.modules.design.mapper.ArchiElePropertyMapper
;
import
org.arch.modules.design.mapper.ArchiElePropertyMapper
;
import
org.arch.modules.design.entity.ArchiEleProperty
;
import
org.arch.modules.design.entity.ArchiEleProperty
;
import
org.arch.modules.design.entity.ArchiElement
;
import
org.arch.modules.design.entity.ArchiElement
;
...
...
logs/eadc-architecture_error.log
View file @
669bf3f
This diff is collapsed.
Click to expand it.
logs/eadc-architecture_info.log
View file @
669bf3f
This diff could not be displayed because it is too large.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment