From 6235eaf1ec66255731d32b57ae06d81b37593030 Mon Sep 17 00:00:00 2001 From: haha Date: Thu, 2 Jan 2025 22:17:00 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=8C=E5=A4=84=E7=90=86=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yanzhu-auth/src/main/resources/bootstrap.yml | 27 ------------ .../src/main/resources/bootstrap.yml | 42 ------------------- .../src/main/resources/bootstrap.yml | 27 ------------ .../src/main/resources/bootstrap.yml | 31 -------------- .../src/main/resources/bootstrap.yml | 27 ------------ 5 files changed, 154 deletions(-) delete mode 100644 yanzhu-auth/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-gateway/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-modules/yanzhu-file/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-modules/yanzhu-system/src/main/resources/bootstrap.yml diff --git a/yanzhu-auth/src/main/resources/bootstrap.yml b/yanzhu-auth/src/main/resources/bootstrap.yml deleted file mode 100644 index d54c82d2..00000000 --- a/yanzhu-auth/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9200 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-auth - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: lijun - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-gateway/src/main/resources/bootstrap.yml b/yanzhu-gateway/src/main/resources/bootstrap.yml deleted file mode 100644 index 884c5efc..00000000 --- a/yanzhu-gateway/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,42 +0,0 @@ -# Tomcat -server: - port: 8080 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-gateway - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: lijun - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} - sentinel: - # 取消控制台懒加载 - eager: true - transport: - # 控制台地址 - dashboard: 62.234.3.186:8718 - # nacos配置持久化 - datasource: - ds1: - nacos: - server-addr: @discovery.server-addr@ - dataId: sentinel-ruoyi-gateway - groupId: DEFAULT_GROUP - data-type: json - rule-type: gw-flow diff --git a/yanzhu-modules/yanzhu-file/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-file/src/main/resources/bootstrap.yml deleted file mode 100644 index 284fda00..00000000 --- a/yanzhu-modules/yanzhu-file/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9300 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-file - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: lijun - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml deleted file mode 100644 index 629215d5..00000000 --- a/yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,31 +0,0 @@ -# Tomcat -server: - port: 9208 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-manage - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: lijun - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} - -logging: - level: - com.ycx.manage.mapper: DEBUG \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-system/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-system/src/main/resources/bootstrap.yml deleted file mode 100644 index efe975fc..00000000 --- a/yanzhu-modules/yanzhu-system/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9201 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-system - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: lijun - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} From 044fd616b18bb6601e31d10522998f8f08b4c7e8 Mon Sep 17 00:00:00 2001 From: haha Date: Thu, 2 Jan 2025 22:23:31 +0800 Subject: [PATCH 2/7] Revert "Auxiliary commit to revert individual files from 6235eaf1ec66255731d32b57ae06d81b37593030" This reverts commit 5c9cc4c94d570cce4146f82df5f847458d3b7ca6. --- yanzhu-auth/src/main/resources/bootstrap.yml | 27 ++++++++++++ .../src/main/resources/bootstrap.yml | 42 +++++++++++++++++++ .../src/main/resources/bootstrap.yml | 27 ++++++++++++ .../src/main/resources/bootstrap.yml | 31 ++++++++++++++ .../src/main/resources/bootstrap.yml | 27 ++++++++++++ 5 files changed, 154 insertions(+) create mode 100644 yanzhu-auth/src/main/resources/bootstrap.yml create mode 100644 yanzhu-gateway/src/main/resources/bootstrap.yml create mode 100644 yanzhu-modules/yanzhu-file/src/main/resources/bootstrap.yml create mode 100644 yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml create mode 100644 yanzhu-modules/yanzhu-system/src/main/resources/bootstrap.yml diff --git a/yanzhu-auth/src/main/resources/bootstrap.yml b/yanzhu-auth/src/main/resources/bootstrap.yml new file mode 100644 index 00000000..d54c82d2 --- /dev/null +++ b/yanzhu-auth/src/main/resources/bootstrap.yml @@ -0,0 +1,27 @@ +# Tomcat +server: + port: 9200 + +# Spring +spring: + application: + # 应用名称 + name: yanzhu-auth + profiles: + # 环境配置 + active: dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: @discovery.server-addr@ + # 服务分组 + group: lijun + config: + # 配置中心地址 + server-addr: @discovery.server-addr@ + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-gateway/src/main/resources/bootstrap.yml b/yanzhu-gateway/src/main/resources/bootstrap.yml new file mode 100644 index 00000000..884c5efc --- /dev/null +++ b/yanzhu-gateway/src/main/resources/bootstrap.yml @@ -0,0 +1,42 @@ +# Tomcat +server: + port: 8080 + +# Spring +spring: + application: + # 应用名称 + name: yanzhu-gateway + profiles: + # 环境配置 + active: dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: @discovery.server-addr@ + # 服务分组 + group: lijun + config: + # 配置中心地址 + server-addr: @discovery.server-addr@ + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + sentinel: + # 取消控制台懒加载 + eager: true + transport: + # 控制台地址 + dashboard: 62.234.3.186:8718 + # nacos配置持久化 + datasource: + ds1: + nacos: + server-addr: @discovery.server-addr@ + dataId: sentinel-ruoyi-gateway + groupId: DEFAULT_GROUP + data-type: json + rule-type: gw-flow diff --git a/yanzhu-modules/yanzhu-file/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-file/src/main/resources/bootstrap.yml new file mode 100644 index 00000000..284fda00 --- /dev/null +++ b/yanzhu-modules/yanzhu-file/src/main/resources/bootstrap.yml @@ -0,0 +1,27 @@ +# Tomcat +server: + port: 9300 + +# Spring +spring: + application: + # 应用名称 + name: yanzhu-file + profiles: + # 环境配置 + active: dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: @discovery.server-addr@ + # 服务分组 + group: lijun + config: + # 配置中心地址 + server-addr: @discovery.server-addr@ + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml new file mode 100644 index 00000000..629215d5 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml @@ -0,0 +1,31 @@ +# Tomcat +server: + port: 9208 + +# Spring +spring: + application: + # 应用名称 + name: yanzhu-manage + profiles: + # 环境配置 + active: dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: @discovery.server-addr@ + # 服务分组 + group: lijun + config: + # 配置中心地址 + server-addr: @discovery.server-addr@ + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + +logging: + level: + com.ycx.manage.mapper: DEBUG \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-system/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-system/src/main/resources/bootstrap.yml new file mode 100644 index 00000000..efe975fc --- /dev/null +++ b/yanzhu-modules/yanzhu-system/src/main/resources/bootstrap.yml @@ -0,0 +1,27 @@ +# Tomcat +server: + port: 9201 + +# Spring +spring: + application: + # 应用名称 + name: yanzhu-system + profiles: + # 环境配置 + active: dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: @discovery.server-addr@ + # 服务分组 + group: lijun + config: + # 配置中心地址 + server-addr: @discovery.server-addr@ + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} From 4a39d7507b96bd04f8a6b43ce30bf9082171ddaf Mon Sep 17 00:00:00 2001 From: haha Date: Thu, 2 Jan 2025 22:30:19 +0800 Subject: [PATCH 3/7] update .gitignore --- pom.xml | 412 ------------------ yanzhu-api/pom.xml | 22 - yanzhu-api/yanzhu-api-system/pom.xml | 28 -- yanzhu-auth/pom.xml | 154 ------- yanzhu-auth/src/main/resources/bootstrap.yml | 27 -- yanzhu-common/pom.xml | 29 -- yanzhu-common/yanzhu-common-core/pom.xml | 147 ------- yanzhu-common/yanzhu-common-datascope/pom.xml | 27 -- .../yanzhu-common-datasource/pom.xml | 35 -- yanzhu-common/yanzhu-common-log/pom.xml | 27 -- yanzhu-common/yanzhu-common-mapper/pom.xml | 33 -- .../mapper/manage/ProMilestoneMapper.xml | 8 +- yanzhu-common/yanzhu-common-redis/pom.xml | 33 -- yanzhu-common/yanzhu-common-security/pom.xml | 39 -- yanzhu-common/yanzhu-common-swagger/pom.xml | 34 -- yanzhu-gateway/pom.xml | 190 -------- .../src/main/resources/bootstrap.yml | 42 -- yanzhu-modules/pom.xml | 28 -- yanzhu-modules/yanzhu-file/pom.xml | 168 ------- .../yanzhu/file/utils/FileUploadUtils.java | 5 +- .../src/main/resources/bootstrap.yml | 27 -- yanzhu-modules/yanzhu-flowable/pom.xml | 213 --------- .../src/main/resources/bootstrap.yml | 27 -- yanzhu-modules/yanzhu-gen/pom.xml | 137 ------ .../src/main/resources/bootstrap.yml | 27 -- yanzhu-modules/yanzhu-job/pom.xml | 143 ------ .../src/main/resources/bootstrap.yml | 27 -- yanzhu-modules/yanzhu-manage/pom.xml | 279 ------------ .../src/main/resources/bootstrap.yml | 31 -- yanzhu-modules/yanzhu-system/pom.xml | 193 -------- .../src/main/resources/bootstrap.yml | 27 -- yanzhu-modules/yanzhu-wechat/pom.xml | 154 ------- .../src/main/resources/bootstrap.yml | 27 -- yanzhu-monitor/pom.xml | 119 ----- .../src/main/resources/bootstrap.yml | 27 -- yanzhu-rocketmq/pom.xml | 144 ------ .../src/main/resources/bootstrap.yml | 38 -- .../src/views/manage/proProjectInfo/index.vue | 2 + 38 files changed, 10 insertions(+), 3120 deletions(-) delete mode 100644 pom.xml delete mode 100644 yanzhu-api/pom.xml delete mode 100644 yanzhu-api/yanzhu-api-system/pom.xml delete mode 100644 yanzhu-auth/pom.xml delete mode 100644 yanzhu-auth/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-common/pom.xml delete mode 100644 yanzhu-common/yanzhu-common-core/pom.xml delete mode 100644 yanzhu-common/yanzhu-common-datascope/pom.xml delete mode 100644 yanzhu-common/yanzhu-common-datasource/pom.xml delete mode 100644 yanzhu-common/yanzhu-common-log/pom.xml delete mode 100644 yanzhu-common/yanzhu-common-mapper/pom.xml delete mode 100644 yanzhu-common/yanzhu-common-redis/pom.xml delete mode 100644 yanzhu-common/yanzhu-common-security/pom.xml delete mode 100644 yanzhu-common/yanzhu-common-swagger/pom.xml delete mode 100644 yanzhu-gateway/pom.xml delete mode 100644 yanzhu-gateway/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-modules/pom.xml delete mode 100644 yanzhu-modules/yanzhu-file/pom.xml delete mode 100644 yanzhu-modules/yanzhu-file/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-modules/yanzhu-flowable/pom.xml delete mode 100644 yanzhu-modules/yanzhu-flowable/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-modules/yanzhu-gen/pom.xml delete mode 100644 yanzhu-modules/yanzhu-gen/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-modules/yanzhu-job/pom.xml delete mode 100644 yanzhu-modules/yanzhu-job/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-modules/yanzhu-manage/pom.xml delete mode 100644 yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-modules/yanzhu-system/pom.xml delete mode 100644 yanzhu-modules/yanzhu-system/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-modules/yanzhu-wechat/pom.xml delete mode 100644 yanzhu-modules/yanzhu-wechat/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-monitor/pom.xml delete mode 100644 yanzhu-monitor/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-rocketmq/pom.xml delete mode 100644 yanzhu-rocketmq/src/main/resources/bootstrap.yml diff --git a/pom.xml b/pom.xml deleted file mode 100644 index 0ea61c65..00000000 --- a/pom.xml +++ /dev/null @@ -1,412 +0,0 @@ - - - 4.0.0 - - com.yanzhu - yanzhu - 3.6.2 - - yanzhu - http://www.sxyanzhu.com - 研筑微服务系统 - - - 3.6.2 - UTF-8 - UTF-8 - 1.8 - 2.7.7 - 2021.0.5 - 2021.0.4.0 - 2.7.10 - 3.0.0 - 1.6.2 - 1.27.2 - 2.3.3 - 1.4.6 - 1.2.16 - 3.5.2 - 2.16.1 - 1.18.16 - 2.3 - 2.0.23 - 0.9.1 - 8.2.2 - 5.3.0 - 2.5.1 - 4.0.6.B - 4.0.6.B - 2.14.2 - 5.8.20 - 1.9.1 - 2.1.7 - 1.12.0 - 1.0 - 5.5.13 - 15.8.0 - - - - - - - - - org.springframework.cloud - spring-cloud-dependencies - ${spring-cloud.version} - pom - import - - - - - com.alibaba.cloud - spring-cloud-alibaba-dependencies - ${spring-cloud-alibaba.version} - pom - import - - - - - org.springframework.boot - spring-boot-dependencies - ${spring-boot.version} - pom - import - - - - - com.github.tobato - fastdfs-client - ${tobato.version} - - - - - io.swagger - swagger-models - ${swagger.core.version} - - - io.swagger - swagger-annotations - ${swagger.core.version} - - - - - pro.fessional - kaptcha - ${kaptcha.version} - - - - - com.github.pagehelper - pagehelper-spring-boot-starter - ${pagehelper.boot.version} - - - - - commons-io - commons-io - ${commons.io.version} - - - - - org.apache.poi - poi-ooxml - ${poi.version} - - - - - com.lowagie - itext - ${lowagie.version} - - - - com.lowagie - itext-rtf - ${lowagie.version} - - - - com.lowagie - iTextAsian - ${lowagie.iTextAsian.version} - - - - - org.apache.poi - poi - ${poi.version} - - - - org.apache.poi - poi-ooxml-schemas - 4.1.2 - - - - com.deepoove - poi-tl - ${poi-tl.version} - - - - - org.aspectj - aspectjweaver - ${aspectjweaver.version} - - - - com.aspose - aspose-words - ${aspose.words.version} - - - - - org.apache.velocity - velocity-engine-core - ${velocity.version} - - - - - com.alibaba.fastjson2 - fastjson2 - ${fastjson.version} - - - - - io.jsonwebtoken - jjwt - ${jjwt.version} - - - - - com.alibaba - transmittable-thread-local - ${transmittable-thread-local.version} - - - - - com.belerweb - pinyin4j - ${pinyin4j.version} - - - - - com.github.binarywang - weixin-java-mp - ${weixin.mp.version} - - - - - com.github.binarywang - weixin-java-miniapp - ${weixin.miniapp.version} - - - - - com.yanzhu - yanzhu-common-core - ${yanzhu.version} - - - - - com.yanzhu - yanzhu-common-swagger - ${yanzhu.version} - - - - - com.yanzhu - yanzhu-common-security - ${yanzhu.version} - - - - - com.yanzhu - yanzhu-common-datascope - ${yanzhu.version} - - - - - com.yanzhu - yanzhu-common-datasource - ${yanzhu.version} - - - - - com.yanzhu - yanzhu-common-log - ${yanzhu.version} - - - - - com.yanzhu - yanzhu-common-redis - ${yanzhu.version} - - - - - com.yanzhu - yanzhu-api-system - ${yanzhu.version} - - - - net.sf.mpxj - mpxj - 13.0.2 - - - - - - - yanzhu-api - yanzhu-common - yanzhu-auth - yanzhu-gateway - yanzhu-modules - yanzhu-monitor - yanzhu-rocketmq - - pom - - - - - org.springframework.cloud - spring-cloud-starter-bootstrap - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - ${spring-boot.version} - - - - repackage - - - - - - org.apache.maven.plugins - maven-compiler-plugin - - ${java.version} - ${java.version} - ${project.build.sourceEncoding} - - - - - - - - - public - aliyun nexus - https://maven.aliyun.com/repository/public - - true - - - - - - - public - aliyun nexus - https://maven.aliyun.com/repository/public - - true - - - false - - - - - - - - 本地服务器环境 - - - 本地服务器环境 - 62.234.3.186:8848 - - - - - 测试服务器环境 - - 测试服务器环境 - 62.234.3.186:8848 - - - - true - - - - 线上服务器环境 - - 线上服务器环境 - 0.0.0.0:8848 - - - - - docker测试环境1 - - docker测试环境1 - http://0.0.0.0:5001 - - - - docker测试环境2 - - docker测试环境2 - http://0.0.0.0:5001 - - - - - \ No newline at end of file diff --git a/yanzhu-api/pom.xml b/yanzhu-api/pom.xml deleted file mode 100644 index 47ec57cf..00000000 --- a/yanzhu-api/pom.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - com.yanzhu - yanzhu - 3.6.2 - - 4.0.0 - - - yanzhu-api-system - - - yanzhu-api - pom - - - yanzhu-api系统接口 - - - diff --git a/yanzhu-api/yanzhu-api-system/pom.xml b/yanzhu-api/yanzhu-api-system/pom.xml deleted file mode 100644 index be9fb913..00000000 --- a/yanzhu-api/yanzhu-api-system/pom.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - com.yanzhu - yanzhu-api - 3.6.2 - - 4.0.0 - - yanzhu-api-system - - - yanzhu-api-system系统接口模块 - - - - - - - com.yanzhu - yanzhu-common-core - - - - - \ No newline at end of file diff --git a/yanzhu-auth/pom.xml b/yanzhu-auth/pom.xml deleted file mode 100644 index be53cfe8..00000000 --- a/yanzhu-auth/pom.xml +++ /dev/null @@ -1,154 +0,0 @@ - - - com.yanzhu - yanzhu - 3.6.2 - - 4.0.0 - - yanzhu-auth - - - yanzhu-auth认证授权中心 - - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-web - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - com.yanzhu - yanzhu-common-security - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - 2.5.15 - - true - - - - - repackage - - - - - - org.apache.maven.plugins - maven-war-plugin - 3.1.0 - - false - ${project.artifactId} - - - - ${project.artifactId} - - - - src/main/resources - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/yanzhu-auth/src/main/resources/bootstrap.yml b/yanzhu-auth/src/main/resources/bootstrap.yml deleted file mode 100644 index d54c82d2..00000000 --- a/yanzhu-auth/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9200 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-auth - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: lijun - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-common/pom.xml b/yanzhu-common/pom.xml deleted file mode 100644 index 882033ed..00000000 --- a/yanzhu-common/pom.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - com.yanzhu - yanzhu - 3.6.2 - - 4.0.0 - - - yanzhu-common-log - yanzhu-common-core - yanzhu-common-redis - yanzhu-common-swagger - yanzhu-common-security - yanzhu-common-datascope - yanzhu-common-datasource - yanzhu-common-mapper - - - yanzhu-common - pom - - - yanzhu-common通用模块 - - - diff --git a/yanzhu-common/yanzhu-common-core/pom.xml b/yanzhu-common/yanzhu-common-core/pom.xml deleted file mode 100644 index 474002f4..00000000 --- a/yanzhu-common/yanzhu-common-core/pom.xml +++ /dev/null @@ -1,147 +0,0 @@ - - - - com.yanzhu - yanzhu-common - 3.6.2 - - 4.0.0 - - yanzhu-common-core - - - yanzhu-common-core核心模块 - - - - - - - org.springframework.cloud - spring-cloud-starter-openfeign - - - - - org.springframework.cloud - spring-cloud-starter-loadbalancer - - - - - org.springframework - spring-context-support - - - - - org.springframework - spring-web - - - - - com.alibaba - transmittable-thread-local - - - - - com.github.pagehelper - pagehelper-spring-boot-starter - - - - - org.springframework.boot - spring-boot-starter-validation - - - - - com.fasterxml.jackson.core - jackson-databind - - - - - com.alibaba.fastjson2 - fastjson2 - - - - - io.jsonwebtoken - jjwt - - - - - javax.xml.bind - jaxb-api - - - - - org.apache.commons - commons-lang3 - - - - - commons-io - commons-io - - - - - org.apache.poi - poi-ooxml - - - - - javax.servlet - javax.servlet-api - - - - - io.swagger - swagger-annotations - - - - org.projectlombok - lombok - - - - - com.belerweb - pinyin4j - - - - - com.github.binarywang - weixin-java-mp - - - - - com.github.binarywang - weixin-java-miniapp - - - - - cn.hutool - hutool-core - ${hutool.version} - - - - diff --git a/yanzhu-common/yanzhu-common-datascope/pom.xml b/yanzhu-common/yanzhu-common-datascope/pom.xml deleted file mode 100644 index a836d788..00000000 --- a/yanzhu-common/yanzhu-common-datascope/pom.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - com.yanzhu - yanzhu-common - 3.6.2 - - 4.0.0 - - yanzhu-common-datascope - - - yanzhu-common-datascope权限范围 - - - - - - - com.yanzhu - yanzhu-common-security - - - - \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-datasource/pom.xml b/yanzhu-common/yanzhu-common-datasource/pom.xml deleted file mode 100644 index d8933f3d..00000000 --- a/yanzhu-common/yanzhu-common-datasource/pom.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - com.yanzhu - yanzhu-common - 3.6.2 - - 4.0.0 - - yanzhu-common-datasource - - - yanzhu-common-datasource多数据源 - - - - - - - com.alibaba - druid-spring-boot-starter - ${druid.version} - - - - - com.baomidou - dynamic-datasource-spring-boot-starter - ${dynamic-ds.version} - - - - \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-log/pom.xml b/yanzhu-common/yanzhu-common-log/pom.xml deleted file mode 100644 index ee55dd7c..00000000 --- a/yanzhu-common/yanzhu-common-log/pom.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - com.yanzhu - yanzhu-common - 3.6.2 - - 4.0.0 - - yanzhu-common-log - - - yanzhu-common-log日志记录 - - - - - - - com.yanzhu - yanzhu-common-security - - - - \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/pom.xml b/yanzhu-common/yanzhu-common-mapper/pom.xml deleted file mode 100644 index 9ec699b0..00000000 --- a/yanzhu-common/yanzhu-common-mapper/pom.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - com.yanzhu - yanzhu-common - 3.6.2 - - 4.0.0 - - yanzhu-common-mapper - - - yanzhu-common-mapper - - - - - - - com.yanzhu - yanzhu-common-security - - - org.projectlombok - lombok - provided - - - - - \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProMilestoneMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProMilestoneMapper.xml index 92b918eb..f4512124 100644 --- a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProMilestoneMapper.xml +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProMilestoneMapper.xml @@ -103,10 +103,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" comid = #{comid}, project_id = #{projectId}, node_name = #{nodeName}, - scheduled_start = #{scheduledStart}, - scheduled_end = #{scheduledEnd}, - actual_start = #{actualStart}, - actual_end = #{actualEnd}, + scheduled_start = #{scheduledStart}, + scheduled_end = #{scheduledEnd}, + actual_start = #{actualStart}, + actual_end = #{actualEnd}, days = #{days}, explain_info = #{explainInfo}, is_del = #{isDel}, diff --git a/yanzhu-common/yanzhu-common-redis/pom.xml b/yanzhu-common/yanzhu-common-redis/pom.xml deleted file mode 100644 index 371bda26..00000000 --- a/yanzhu-common/yanzhu-common-redis/pom.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - com.yanzhu - yanzhu-common - 3.6.2 - - 4.0.0 - - yanzhu-common-redis - - - yanzhu-common-redis缓存服务 - - - - - - - org.springframework.boot - spring-boot-starter-data-redis - - - - - com.yanzhu - yanzhu-common-core - - - - \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-security/pom.xml b/yanzhu-common/yanzhu-common-security/pom.xml deleted file mode 100644 index ee89269e..00000000 --- a/yanzhu-common/yanzhu-common-security/pom.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - com.yanzhu - yanzhu-common - 3.6.2 - - 4.0.0 - - yanzhu-common-security - - - yanzhu-common-security安全模块 - - - - - - - org.springframework - spring-webmvc - - - - - com.yanzhu - yanzhu-api-system - - - - - com.yanzhu - yanzhu-common-redis - - - - - diff --git a/yanzhu-common/yanzhu-common-swagger/pom.xml b/yanzhu-common/yanzhu-common-swagger/pom.xml deleted file mode 100644 index b8aa9b90..00000000 --- a/yanzhu-common/yanzhu-common-swagger/pom.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - com.yanzhu - yanzhu-common - 3.6.2 - - 4.0.0 - - yanzhu-common-swagger - - - yanzhu-common-swagger系统接口 - - - - - - - org.springframework.boot - spring-boot-starter-web - - - - - io.springfox - springfox-swagger2 - ${swagger.fox.version} - - - - diff --git a/yanzhu-gateway/pom.xml b/yanzhu-gateway/pom.xml deleted file mode 100644 index c9e9bbf2..00000000 --- a/yanzhu-gateway/pom.xml +++ /dev/null @@ -1,190 +0,0 @@ - - - com.yanzhu - yanzhu - 3.6.2 - - 4.0.0 - - yanzhu-gateway - - - yanzhu-gateway网关模块 - - - - - - - org.springframework.cloud - spring-cloud-starter-gateway - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - com.alibaba.cloud - spring-cloud-alibaba-sentinel-gateway - - - - - com.alibaba.csp - sentinel-datasource-nacos - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - org.springframework.cloud - spring-cloud-loadbalancer - - - - - pro.fessional - kaptcha - - - - - com.yanzhu - yanzhu-common-redis - - - - - io.springfox - springfox-swagger-ui - ${swagger.fox.version} - - - io.springfox - springfox-swagger2 - ${swagger.fox.version} - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - 2.5.15 - - true - - - - - repackage - - - - - - org.apache.maven.plugins - maven-war-plugin - 3.1.0 - - false - ${project.artifactId} - - - - ${project.artifactId} - - - - src/main/resources - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/yanzhu-gateway/src/main/resources/bootstrap.yml b/yanzhu-gateway/src/main/resources/bootstrap.yml deleted file mode 100644 index 884c5efc..00000000 --- a/yanzhu-gateway/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,42 +0,0 @@ -# Tomcat -server: - port: 8080 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-gateway - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: lijun - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} - sentinel: - # 取消控制台懒加载 - eager: true - transport: - # 控制台地址 - dashboard: 62.234.3.186:8718 - # nacos配置持久化 - datasource: - ds1: - nacos: - server-addr: @discovery.server-addr@ - dataId: sentinel-ruoyi-gateway - groupId: DEFAULT_GROUP - data-type: json - rule-type: gw-flow diff --git a/yanzhu-modules/pom.xml b/yanzhu-modules/pom.xml deleted file mode 100644 index 800e5a5a..00000000 --- a/yanzhu-modules/pom.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - com.yanzhu - yanzhu - 3.6.2 - - 4.0.0 - - - yanzhu-system - yanzhu-gen - yanzhu-job - yanzhu-file - yanzhu-manage - yanzhu-wechat - yanzhu-flowable - - - yanzhu-modules - pom - - - yanzhu-modules分布式模块 - - - diff --git a/yanzhu-modules/yanzhu-file/pom.xml b/yanzhu-modules/yanzhu-file/pom.xml deleted file mode 100644 index 5296cfce..00000000 --- a/yanzhu-modules/yanzhu-file/pom.xml +++ /dev/null @@ -1,168 +0,0 @@ - - - - com.yanzhu - yanzhu-modules - 3.6.2 - - 4.0.0 - - yanzhu-modules-file - - - yanzhu-modules-file文件服务 - - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - com.github.tobato - fastdfs-client - - - - - io.minio - minio - ${minio.version} - - - - - com.yanzhu - yanzhu-api-system - - - - - com.yanzhu - yanzhu-common-swagger - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - 2.5.15 - - true - - - - - repackage - - - - - - org.apache.maven.plugins - maven-war-plugin - 3.1.0 - - false - ${project.artifactId} - - - - ${project.artifactId} - - - - src/main/resources - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-file/src/main/java/com/yanzhu/file/utils/FileUploadUtils.java b/yanzhu-modules/yanzhu-file/src/main/java/com/yanzhu/file/utils/FileUploadUtils.java index fd0e78bf..b6593d10 100644 --- a/yanzhu-modules/yanzhu-file/src/main/java/com/yanzhu/file/utils/FileUploadUtils.java +++ b/yanzhu-modules/yanzhu-file/src/main/java/com/yanzhu/file/utils/FileUploadUtils.java @@ -10,7 +10,10 @@ import java.util.Objects; import cn.hutool.core.img.ImgUtil; import cn.hutool.core.io.FileUtil; +import com.alibaba.nacos.common.utils.MD5Utils; +import com.yanzhu.common.core.utils.ServletUtils; import com.yanzhu.common.core.utils.file.FileUtils; +import com.yanzhu.common.core.utils.uuid.UUID; import org.apache.commons.io.FilenameUtils; import org.springframework.web.multipart.MultipartFile; import com.yanzhu.common.core.exception.file.FileNameLengthLimitExceededException; @@ -260,7 +263,7 @@ public class FileUploadUtils public static final String extractFilename(MultipartFile file) { return StringUtils.format("{}/{}_{}.{}", DateUtils.datePath(), - FilenameUtils.getBaseName(file.getOriginalFilename()), Seq.getId(Seq.uploadSeqType), FileTypeUtils.getExtension(file)); + MD5Utils.md5Hex(FilenameUtils.getBaseName(file.getOriginalFilename()),"utf-8"), Seq.getId(Seq.uploadSeqType), FileTypeUtils.getExtension(file)); } private static final File getAbsoluteFile(String uploadDir, String fileName) throws IOException diff --git a/yanzhu-modules/yanzhu-file/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-file/src/main/resources/bootstrap.yml deleted file mode 100644 index 284fda00..00000000 --- a/yanzhu-modules/yanzhu-file/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9300 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-file - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: lijun - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-modules/yanzhu-flowable/pom.xml b/yanzhu-modules/yanzhu-flowable/pom.xml deleted file mode 100644 index 7339194c..00000000 --- a/yanzhu-modules/yanzhu-flowable/pom.xml +++ /dev/null @@ -1,213 +0,0 @@ - - - - yanzhu - com.yanzhu - 3.6.2 - ../../pom.xml - - 4.0.0 - - yanzhu-modules-flowable - - - 6.7.2 - 17 - 17 - - - - yanzhu-modules-flowable工作流模块 - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - io.springfox - springfox-swagger-ui - ${swagger.fox.version} - - - - - org.apache.velocity - velocity-engine-core - - - - - mysql - mysql-connector-java - - - - - com.yanzhu - yanzhu-common-log - - - - - com.yanzhu - yanzhu-common-swagger - - - - org.projectlombok - lombok - provided - - - - - com.yanzhu - yanzhu-common-mapper - 3.6.2 - compile - - - - - com.googlecode.aviator - aviator - 5.3.3 - - - - org.flowable - flowable-spring-boot-starter - ${flowable.version} - - - org.flowable - flowable-spring-security - - - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - 2.5.15 - - true - - - - - repackage - - - - - - org.apache.maven.plugins - maven-war-plugin - 3.1.0 - - false - ${project.artifactId} - - - - ${project.artifactId} - - - - src/main/resources - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-flowable/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-flowable/src/main/resources/bootstrap.yml deleted file mode 100644 index caefefeb..00000000 --- a/yanzhu-modules/yanzhu-flowable/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9205 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-flowable - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: JiangYuQi - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-modules/yanzhu-gen/pom.xml b/yanzhu-modules/yanzhu-gen/pom.xml deleted file mode 100644 index be477070..00000000 --- a/yanzhu-modules/yanzhu-gen/pom.xml +++ /dev/null @@ -1,137 +0,0 @@ - - - - com.yanzhu - yanzhu-modules - 3.6.2 - - 4.0.0 - - yanzhu-modules-gen - - - yanzhu-modules-gen代码生成 - - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - io.springfox - springfox-swagger-ui - ${swagger.fox.version} - - - - - org.apache.velocity - velocity-engine-core - - - - - mysql - mysql-connector-java - - - - - com.yanzhu - yanzhu-common-log - - - - - com.yanzhu - yanzhu-common-swagger - - - - - - ${project.artifactId} - - - org.springframework.boot - spring-boot-maven-plugin - - - - repackage - - - - - - - com.spotify - docker-maven-plugin - 1.2.0 - - - ${project.build.finalName} - latest - - openjdk:latest - - ["java", "-jar", "/${project.build.finalName}.jar"] - - true - ${configuration.docker-one-Host} - - - / - - ${project.build.directory} - - ${project.build.finalName}.jar - - - - - - build-image - package - - build - - - - - - - - - src/main/resources - true - - - - - \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-gen/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-gen/src/main/resources/bootstrap.yml deleted file mode 100644 index 15150440..00000000 --- a/yanzhu-modules/yanzhu-gen/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9202 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-gen - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: lijun - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-modules/yanzhu-job/pom.xml b/yanzhu-modules/yanzhu-job/pom.xml deleted file mode 100644 index 3f990b9e..00000000 --- a/yanzhu-modules/yanzhu-job/pom.xml +++ /dev/null @@ -1,143 +0,0 @@ - - - - com.yanzhu - yanzhu-modules - 3.6.2 - - 4.0.0 - - yanzhu-modules-job - - - yanzhu-modules-job定时任务 - - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - io.springfox - springfox-swagger-ui - ${swagger.fox.version} - - - - - org.quartz-scheduler - quartz - - - com.mchange - c3p0 - - - - - - - mysql - mysql-connector-java - - - - - com.yanzhu - yanzhu-common-log - - - - - com.yanzhu - yanzhu-common-swagger - - - - - - ${project.artifactId} - - - org.springframework.boot - spring-boot-maven-plugin - - - - repackage - - - - - - - com.spotify - docker-maven-plugin - 1.2.0 - - - ${project.build.finalName} - latest - - openjdk:latest - - ["java", "-jar", "/${project.build.finalName}.jar"] - - true - ${configuration.docker-two-Host} - - - / - - ${project.build.directory} - - ${project.build.finalName}.jar - - - - - - build-image - package - - build - - - - - - - - - src/main/resources - true - - - - - \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-job/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-job/src/main/resources/bootstrap.yml deleted file mode 100644 index 9ac3298f..00000000 --- a/yanzhu-modules/yanzhu-job/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9203 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-job - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: JiangYuQi - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-modules/yanzhu-manage/pom.xml b/yanzhu-modules/yanzhu-manage/pom.xml deleted file mode 100644 index efb0abec..00000000 --- a/yanzhu-modules/yanzhu-manage/pom.xml +++ /dev/null @@ -1,279 +0,0 @@ - - - - yanzhu - com.yanzhu - 3.6.2 - ../../pom.xml - - 4.0.0 - - yanzhu-modules-manage - - - 17 - 17 - - - - yanzhu-modules-manage业务模块 - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - io.springfox - springfox-swagger-ui - ${swagger.fox.version} - - - - - org.apache.velocity - velocity-engine-core - - - - - mysql - mysql-connector-java - - - - - com.yanzhu - yanzhu-common-log - - - - - com.yanzhu - yanzhu-common-swagger - - - - com.squareup.okhttp3 - okhttp - 4.9.3 - - - - - com.yanzhu - yanzhu-common-mapper - 3.6.2 - compile - - - - - org.apache.poi - poi - - - - - org.apache.poi - poi-ooxml - - - - org.apache.poi - poi-ooxml-schemas - - - - com.lowagie - itext - - - - com.lowagie - itext-rtf - - - - com.lowagie - iTextAsian - 1.0.0 - system - ${pom.basedir}/libs/iTextAsian-1.0.0.jar - - - - com.deepoove - poi-tl - - - - - - org.aspectj - aspectjweaver - - - - com.aspose - aspose-words - 15.8.0 - system - ${pom.basedir}/libs/aspose-words-15.8.0-jdk16.jar - - - - - - com.itextpdf - itextpdf - ${itextpdf.version} - - - - - org.jsoup - jsoup - 1.17.2 - - - - com.aspose - aspose-tasks - 24.10 - system - ${pom.basedir}/libs/aspose-tasks-24.10-jdk17.jar - - - net.sf.mpxj - mpxj - 13.5.1 - - - - - - - org.springframework.boot - spring-boot-maven-plugin - 2.5.15 - - true - true - - - - - repackage - - - - - - org.apache.maven.plugins - maven-war-plugin - 3.1.0 - - false - ${project.artifactId} - - - - ${project.artifactId} - - - - src/main/resources - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml deleted file mode 100644 index 629215d5..00000000 --- a/yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,31 +0,0 @@ -# Tomcat -server: - port: 9208 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-manage - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: lijun - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} - -logging: - level: - com.ycx.manage.mapper: DEBUG \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-system/pom.xml b/yanzhu-modules/yanzhu-system/pom.xml deleted file mode 100644 index ad21b65d..00000000 --- a/yanzhu-modules/yanzhu-system/pom.xml +++ /dev/null @@ -1,193 +0,0 @@ - - - - com.yanzhu - yanzhu-modules - 3.6.2 - - 4.0.0 - - yanzhu-modules-system - - - yanzhu-modules-system系统模块 - - - - - - - org.apache.shardingsphere - shardingsphere-jdbc-core-spring-boot-starter - 5.1.2 - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - io.springfox - springfox-swagger-ui - ${swagger.fox.version} - - - - - mysql - mysql-connector-java - - - - - com.yanzhu - yanzhu-common-datasource - - - - - com.yanzhu - yanzhu-common-log - - - - - com.yanzhu - yanzhu-common-swagger - - - - - com.yanzhu - yanzhu-common-datascope - - - com.yanzhu - yanzhu-common-mapper - 3.6.2 - compile - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - 2.5.15 - - true - - - - - repackage - - - - - - org.apache.maven.plugins - maven-war-plugin - 3.1.0 - - false - ${project.artifactId} - - - - ${project.artifactId} - - - - src/main/resources - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-system/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-system/src/main/resources/bootstrap.yml deleted file mode 100644 index efe975fc..00000000 --- a/yanzhu-modules/yanzhu-system/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9201 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-system - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: lijun - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-modules/yanzhu-wechat/pom.xml b/yanzhu-modules/yanzhu-wechat/pom.xml deleted file mode 100644 index 39d06841..00000000 --- a/yanzhu-modules/yanzhu-wechat/pom.xml +++ /dev/null @@ -1,154 +0,0 @@ - - - - yanzhu - com.yanzhu - 3.6.2 - ../../pom.xml - - 4.0.0 - - yanzhu-modules-wechat - - - 17 - 17 - - - - yanzhu-modules-wechat微信模块 - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - io.springfox - springfox-swagger-ui - ${swagger.fox.version} - - - - - org.apache.velocity - velocity-engine-core - - - - - mysql - mysql-connector-java - - - - - com.yanzhu - yanzhu-common-log - - - - - com.yanzhu - yanzhu-common-swagger - - - org.projectlombok - lombok - provided - - - - - com.yanzhu - yanzhu-common-mapper - 3.6.2 - compile - - - - - - ${project.artifactId} - - - org.springframework.boot - spring-boot-maven-plugin - - - - repackage - - - - - - - com.spotify - docker-maven-plugin - 1.2.0 - - - ${project.build.finalName} - latest - - openjdk:latest - - ["java", "-jar", "/${project.build.finalName}.jar"] - - true - ${configuration.docker-one-Host} - - - / - - ${project.build.directory} - - ${project.build.finalName}.jar - - - - - - build-image - package - - build - - - - - - - - - src/main/resources - true - - - - \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-wechat/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-wechat/src/main/resources/bootstrap.yml deleted file mode 100644 index c9ae24ee..00000000 --- a/yanzhu-modules/yanzhu-wechat/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9206 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-wechat - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: JiangYuQi - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-monitor/pom.xml b/yanzhu-monitor/pom.xml deleted file mode 100644 index 103688b4..00000000 --- a/yanzhu-monitor/pom.xml +++ /dev/null @@ -1,119 +0,0 @@ - - - yanzhu - com.yanzhu - 3.6.2 - - 4.0.0 - - yanzhu-monitor - - - yanzhu-monitor监控中心 - - - - - - - de.codecentric - spring-boot-admin-starter-server - ${spring-boot-admin.version} - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-web - - - - - org.springframework.boot - spring-boot-starter-security - - - - - - ${project.artifactId} - - - org.springframework.boot - spring-boot-maven-plugin - - - - repackage - - - - - - - com.spotify - docker-maven-plugin - 1.2.0 - - - ${project.build.finalName} - latest - - openjdk:latest - - ["java", "-jar", "/${project.build.finalName}.jar"] - - true - - ${configuration.docker-one-Host} - - - / - - ${project.build.directory} - - ${project.build.finalName}.jar - - - - - - build-image - package - - build - - - - - - - - - src/main/resources - true - - - - - \ No newline at end of file diff --git a/yanzhu-monitor/src/main/resources/bootstrap.yml b/yanzhu-monitor/src/main/resources/bootstrap.yml deleted file mode 100644 index 2c9a1c66..00000000 --- a/yanzhu-monitor/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9100 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-monitor - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: JiangYuQi - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-rocketmq/pom.xml b/yanzhu-rocketmq/pom.xml deleted file mode 100644 index 52ca2869..00000000 --- a/yanzhu-rocketmq/pom.xml +++ /dev/null @@ -1,144 +0,0 @@ - - - - yanzhu - com.yanzhu - 3.6.2 - - 4.0.0 - - yanzhu-rocketmq - - - - - org.apache.rocketmq - rocketmq-client - 4.9.0 - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - com.alibaba.nacos - nacos-client - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - mysql - mysql-connector-java - - - - - com.yanzhu - yanzhu-common-log - - - - - com.yanzhu - yanzhu-common-swagger - - - com.yanzhu - yanzhu-common-security - - - org.projectlombok - lombok - - - - - org.yaml - snakeyaml - 1.28 - - - - - ${project.artifactId} - - - org.springframework.boot - spring-boot-maven-plugin - - - - repackage - - - - - - - com.spotify - docker-maven-plugin - 1.2.0 - - - ${project.build.finalName} - latest - - openjdk:latest - - ["java", "-jar", "/${project.build.finalName}.jar"] - - true - ${configuration.docker-one-Host} - - - / - - ${project.build.directory} - - ${project.build.finalName}.jar - - - - - - build-image - package - - build - - - - - - - - - src/main/resources - true - - - - - \ No newline at end of file diff --git a/yanzhu-rocketmq/src/main/resources/bootstrap.yml b/yanzhu-rocketmq/src/main/resources/bootstrap.yml deleted file mode 100644 index 368854c9..00000000 --- a/yanzhu-rocketmq/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,38 +0,0 @@ -# Tomcat -server: - port: 9207 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-rocketmq - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: JiangYuQi - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} - - redisson: - singleServerConfig: - address: redis://localhost:6379 - -logging: - level: - com.yanzhu.app.mapper: DEBUG - - - diff --git a/yanzhu-ui-vue3/src/views/manage/proProjectInfo/index.vue b/yanzhu-ui-vue3/src/views/manage/proProjectInfo/index.vue index 5da913ae..3cbf6b6d 100644 --- a/yanzhu-ui-vue3/src/views/manage/proProjectInfo/index.vue +++ b/yanzhu-ui-vue3/src/views/manage/proProjectInfo/index.vue @@ -716,6 +716,8 @@ function submitForm() { getList(); }); } + }else{ + proxy.$modal.msgError("请检查必填数据(项目基本信息)"); } }); } From 011b93719126b4636517bb6a03f254f7969c7000 Mon Sep 17 00:00:00 2001 From: haha Date: Thu, 2 Jan 2025 22:30:19 +0800 Subject: [PATCH 4/7] update .gitignore --- pom.xml | 412 ------------------ yanzhu-api/pom.xml | 22 - yanzhu-api/yanzhu-api-system/pom.xml | 28 -- yanzhu-auth/pom.xml | 154 ------- yanzhu-auth/src/main/resources/bootstrap.yml | 27 -- yanzhu-common/pom.xml | 29 -- yanzhu-common/yanzhu-common-core/pom.xml | 147 ------- yanzhu-common/yanzhu-common-datascope/pom.xml | 27 -- .../yanzhu-common-datasource/pom.xml | 35 -- yanzhu-common/yanzhu-common-log/pom.xml | 27 -- yanzhu-common/yanzhu-common-mapper/pom.xml | 33 -- .../mapper/manage/ProMilestoneMapper.xml | 8 +- yanzhu-common/yanzhu-common-redis/pom.xml | 33 -- yanzhu-common/yanzhu-common-security/pom.xml | 39 -- yanzhu-common/yanzhu-common-swagger/pom.xml | 34 -- yanzhu-gateway/pom.xml | 190 -------- .../src/main/resources/bootstrap.yml | 42 -- yanzhu-modules/pom.xml | 28 -- yanzhu-modules/yanzhu-file/pom.xml | 168 ------- .../yanzhu/file/utils/FileUploadUtils.java | 5 +- .../src/main/resources/bootstrap.yml | 27 -- yanzhu-modules/yanzhu-flowable/pom.xml | 213 --------- .../src/main/resources/bootstrap.yml | 27 -- yanzhu-modules/yanzhu-gen/pom.xml | 137 ------ .../src/main/resources/bootstrap.yml | 27 -- yanzhu-modules/yanzhu-job/pom.xml | 143 ------ .../src/main/resources/bootstrap.yml | 27 -- yanzhu-modules/yanzhu-manage/pom.xml | 279 ------------ .../src/main/resources/bootstrap.yml | 31 -- yanzhu-modules/yanzhu-system/pom.xml | 193 -------- .../src/main/resources/bootstrap.yml | 27 -- yanzhu-modules/yanzhu-wechat/pom.xml | 154 ------- .../src/main/resources/bootstrap.yml | 27 -- yanzhu-monitor/pom.xml | 119 ----- .../src/main/resources/bootstrap.yml | 27 -- yanzhu-rocketmq/pom.xml | 144 ------ .../src/main/resources/bootstrap.yml | 38 -- .../src/views/manage/proProjectInfo/index.vue | 2 + 38 files changed, 10 insertions(+), 3120 deletions(-) delete mode 100644 pom.xml delete mode 100644 yanzhu-api/pom.xml delete mode 100644 yanzhu-api/yanzhu-api-system/pom.xml delete mode 100644 yanzhu-auth/pom.xml delete mode 100644 yanzhu-auth/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-common/pom.xml delete mode 100644 yanzhu-common/yanzhu-common-core/pom.xml delete mode 100644 yanzhu-common/yanzhu-common-datascope/pom.xml delete mode 100644 yanzhu-common/yanzhu-common-datasource/pom.xml delete mode 100644 yanzhu-common/yanzhu-common-log/pom.xml delete mode 100644 yanzhu-common/yanzhu-common-mapper/pom.xml delete mode 100644 yanzhu-common/yanzhu-common-redis/pom.xml delete mode 100644 yanzhu-common/yanzhu-common-security/pom.xml delete mode 100644 yanzhu-common/yanzhu-common-swagger/pom.xml delete mode 100644 yanzhu-gateway/pom.xml delete mode 100644 yanzhu-gateway/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-modules/pom.xml delete mode 100644 yanzhu-modules/yanzhu-file/pom.xml delete mode 100644 yanzhu-modules/yanzhu-file/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-modules/yanzhu-flowable/pom.xml delete mode 100644 yanzhu-modules/yanzhu-flowable/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-modules/yanzhu-gen/pom.xml delete mode 100644 yanzhu-modules/yanzhu-gen/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-modules/yanzhu-job/pom.xml delete mode 100644 yanzhu-modules/yanzhu-job/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-modules/yanzhu-manage/pom.xml delete mode 100644 yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-modules/yanzhu-system/pom.xml delete mode 100644 yanzhu-modules/yanzhu-system/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-modules/yanzhu-wechat/pom.xml delete mode 100644 yanzhu-modules/yanzhu-wechat/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-monitor/pom.xml delete mode 100644 yanzhu-monitor/src/main/resources/bootstrap.yml delete mode 100644 yanzhu-rocketmq/pom.xml delete mode 100644 yanzhu-rocketmq/src/main/resources/bootstrap.yml diff --git a/pom.xml b/pom.xml deleted file mode 100644 index 0ea61c65..00000000 --- a/pom.xml +++ /dev/null @@ -1,412 +0,0 @@ - - - 4.0.0 - - com.yanzhu - yanzhu - 3.6.2 - - yanzhu - http://www.sxyanzhu.com - 研筑微服务系统 - - - 3.6.2 - UTF-8 - UTF-8 - 1.8 - 2.7.7 - 2021.0.5 - 2021.0.4.0 - 2.7.10 - 3.0.0 - 1.6.2 - 1.27.2 - 2.3.3 - 1.4.6 - 1.2.16 - 3.5.2 - 2.16.1 - 1.18.16 - 2.3 - 2.0.23 - 0.9.1 - 8.2.2 - 5.3.0 - 2.5.1 - 4.0.6.B - 4.0.6.B - 2.14.2 - 5.8.20 - 1.9.1 - 2.1.7 - 1.12.0 - 1.0 - 5.5.13 - 15.8.0 - - - - - - - - - org.springframework.cloud - spring-cloud-dependencies - ${spring-cloud.version} - pom - import - - - - - com.alibaba.cloud - spring-cloud-alibaba-dependencies - ${spring-cloud-alibaba.version} - pom - import - - - - - org.springframework.boot - spring-boot-dependencies - ${spring-boot.version} - pom - import - - - - - com.github.tobato - fastdfs-client - ${tobato.version} - - - - - io.swagger - swagger-models - ${swagger.core.version} - - - io.swagger - swagger-annotations - ${swagger.core.version} - - - - - pro.fessional - kaptcha - ${kaptcha.version} - - - - - com.github.pagehelper - pagehelper-spring-boot-starter - ${pagehelper.boot.version} - - - - - commons-io - commons-io - ${commons.io.version} - - - - - org.apache.poi - poi-ooxml - ${poi.version} - - - - - com.lowagie - itext - ${lowagie.version} - - - - com.lowagie - itext-rtf - ${lowagie.version} - - - - com.lowagie - iTextAsian - ${lowagie.iTextAsian.version} - - - - - org.apache.poi - poi - ${poi.version} - - - - org.apache.poi - poi-ooxml-schemas - 4.1.2 - - - - com.deepoove - poi-tl - ${poi-tl.version} - - - - - org.aspectj - aspectjweaver - ${aspectjweaver.version} - - - - com.aspose - aspose-words - ${aspose.words.version} - - - - - org.apache.velocity - velocity-engine-core - ${velocity.version} - - - - - com.alibaba.fastjson2 - fastjson2 - ${fastjson.version} - - - - - io.jsonwebtoken - jjwt - ${jjwt.version} - - - - - com.alibaba - transmittable-thread-local - ${transmittable-thread-local.version} - - - - - com.belerweb - pinyin4j - ${pinyin4j.version} - - - - - com.github.binarywang - weixin-java-mp - ${weixin.mp.version} - - - - - com.github.binarywang - weixin-java-miniapp - ${weixin.miniapp.version} - - - - - com.yanzhu - yanzhu-common-core - ${yanzhu.version} - - - - - com.yanzhu - yanzhu-common-swagger - ${yanzhu.version} - - - - - com.yanzhu - yanzhu-common-security - ${yanzhu.version} - - - - - com.yanzhu - yanzhu-common-datascope - ${yanzhu.version} - - - - - com.yanzhu - yanzhu-common-datasource - ${yanzhu.version} - - - - - com.yanzhu - yanzhu-common-log - ${yanzhu.version} - - - - - com.yanzhu - yanzhu-common-redis - ${yanzhu.version} - - - - - com.yanzhu - yanzhu-api-system - ${yanzhu.version} - - - - net.sf.mpxj - mpxj - 13.0.2 - - - - - - - yanzhu-api - yanzhu-common - yanzhu-auth - yanzhu-gateway - yanzhu-modules - yanzhu-monitor - yanzhu-rocketmq - - pom - - - - - org.springframework.cloud - spring-cloud-starter-bootstrap - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - ${spring-boot.version} - - - - repackage - - - - - - org.apache.maven.plugins - maven-compiler-plugin - - ${java.version} - ${java.version} - ${project.build.sourceEncoding} - - - - - - - - - public - aliyun nexus - https://maven.aliyun.com/repository/public - - true - - - - - - - public - aliyun nexus - https://maven.aliyun.com/repository/public - - true - - - false - - - - - - - - 本地服务器环境 - - - 本地服务器环境 - 62.234.3.186:8848 - - - - - 测试服务器环境 - - 测试服务器环境 - 62.234.3.186:8848 - - - - true - - - - 线上服务器环境 - - 线上服务器环境 - 0.0.0.0:8848 - - - - - docker测试环境1 - - docker测试环境1 - http://0.0.0.0:5001 - - - - docker测试环境2 - - docker测试环境2 - http://0.0.0.0:5001 - - - - - \ No newline at end of file diff --git a/yanzhu-api/pom.xml b/yanzhu-api/pom.xml deleted file mode 100644 index 47ec57cf..00000000 --- a/yanzhu-api/pom.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - com.yanzhu - yanzhu - 3.6.2 - - 4.0.0 - - - yanzhu-api-system - - - yanzhu-api - pom - - - yanzhu-api系统接口 - - - diff --git a/yanzhu-api/yanzhu-api-system/pom.xml b/yanzhu-api/yanzhu-api-system/pom.xml deleted file mode 100644 index be9fb913..00000000 --- a/yanzhu-api/yanzhu-api-system/pom.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - com.yanzhu - yanzhu-api - 3.6.2 - - 4.0.0 - - yanzhu-api-system - - - yanzhu-api-system系统接口模块 - - - - - - - com.yanzhu - yanzhu-common-core - - - - - \ No newline at end of file diff --git a/yanzhu-auth/pom.xml b/yanzhu-auth/pom.xml deleted file mode 100644 index be53cfe8..00000000 --- a/yanzhu-auth/pom.xml +++ /dev/null @@ -1,154 +0,0 @@ - - - com.yanzhu - yanzhu - 3.6.2 - - 4.0.0 - - yanzhu-auth - - - yanzhu-auth认证授权中心 - - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-web - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - com.yanzhu - yanzhu-common-security - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - 2.5.15 - - true - - - - - repackage - - - - - - org.apache.maven.plugins - maven-war-plugin - 3.1.0 - - false - ${project.artifactId} - - - - ${project.artifactId} - - - - src/main/resources - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/yanzhu-auth/src/main/resources/bootstrap.yml b/yanzhu-auth/src/main/resources/bootstrap.yml deleted file mode 100644 index d54c82d2..00000000 --- a/yanzhu-auth/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9200 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-auth - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: lijun - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-common/pom.xml b/yanzhu-common/pom.xml deleted file mode 100644 index 882033ed..00000000 --- a/yanzhu-common/pom.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - com.yanzhu - yanzhu - 3.6.2 - - 4.0.0 - - - yanzhu-common-log - yanzhu-common-core - yanzhu-common-redis - yanzhu-common-swagger - yanzhu-common-security - yanzhu-common-datascope - yanzhu-common-datasource - yanzhu-common-mapper - - - yanzhu-common - pom - - - yanzhu-common通用模块 - - - diff --git a/yanzhu-common/yanzhu-common-core/pom.xml b/yanzhu-common/yanzhu-common-core/pom.xml deleted file mode 100644 index 474002f4..00000000 --- a/yanzhu-common/yanzhu-common-core/pom.xml +++ /dev/null @@ -1,147 +0,0 @@ - - - - com.yanzhu - yanzhu-common - 3.6.2 - - 4.0.0 - - yanzhu-common-core - - - yanzhu-common-core核心模块 - - - - - - - org.springframework.cloud - spring-cloud-starter-openfeign - - - - - org.springframework.cloud - spring-cloud-starter-loadbalancer - - - - - org.springframework - spring-context-support - - - - - org.springframework - spring-web - - - - - com.alibaba - transmittable-thread-local - - - - - com.github.pagehelper - pagehelper-spring-boot-starter - - - - - org.springframework.boot - spring-boot-starter-validation - - - - - com.fasterxml.jackson.core - jackson-databind - - - - - com.alibaba.fastjson2 - fastjson2 - - - - - io.jsonwebtoken - jjwt - - - - - javax.xml.bind - jaxb-api - - - - - org.apache.commons - commons-lang3 - - - - - commons-io - commons-io - - - - - org.apache.poi - poi-ooxml - - - - - javax.servlet - javax.servlet-api - - - - - io.swagger - swagger-annotations - - - - org.projectlombok - lombok - - - - - com.belerweb - pinyin4j - - - - - com.github.binarywang - weixin-java-mp - - - - - com.github.binarywang - weixin-java-miniapp - - - - - cn.hutool - hutool-core - ${hutool.version} - - - - diff --git a/yanzhu-common/yanzhu-common-datascope/pom.xml b/yanzhu-common/yanzhu-common-datascope/pom.xml deleted file mode 100644 index a836d788..00000000 --- a/yanzhu-common/yanzhu-common-datascope/pom.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - com.yanzhu - yanzhu-common - 3.6.2 - - 4.0.0 - - yanzhu-common-datascope - - - yanzhu-common-datascope权限范围 - - - - - - - com.yanzhu - yanzhu-common-security - - - - \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-datasource/pom.xml b/yanzhu-common/yanzhu-common-datasource/pom.xml deleted file mode 100644 index d8933f3d..00000000 --- a/yanzhu-common/yanzhu-common-datasource/pom.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - com.yanzhu - yanzhu-common - 3.6.2 - - 4.0.0 - - yanzhu-common-datasource - - - yanzhu-common-datasource多数据源 - - - - - - - com.alibaba - druid-spring-boot-starter - ${druid.version} - - - - - com.baomidou - dynamic-datasource-spring-boot-starter - ${dynamic-ds.version} - - - - \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-log/pom.xml b/yanzhu-common/yanzhu-common-log/pom.xml deleted file mode 100644 index ee55dd7c..00000000 --- a/yanzhu-common/yanzhu-common-log/pom.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - com.yanzhu - yanzhu-common - 3.6.2 - - 4.0.0 - - yanzhu-common-log - - - yanzhu-common-log日志记录 - - - - - - - com.yanzhu - yanzhu-common-security - - - - \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/pom.xml b/yanzhu-common/yanzhu-common-mapper/pom.xml deleted file mode 100644 index 9ec699b0..00000000 --- a/yanzhu-common/yanzhu-common-mapper/pom.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - com.yanzhu - yanzhu-common - 3.6.2 - - 4.0.0 - - yanzhu-common-mapper - - - yanzhu-common-mapper - - - - - - - com.yanzhu - yanzhu-common-security - - - org.projectlombok - lombok - provided - - - - - \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProMilestoneMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProMilestoneMapper.xml index 92b918eb..f4512124 100644 --- a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProMilestoneMapper.xml +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProMilestoneMapper.xml @@ -103,10 +103,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" comid = #{comid}, project_id = #{projectId}, node_name = #{nodeName}, - scheduled_start = #{scheduledStart}, - scheduled_end = #{scheduledEnd}, - actual_start = #{actualStart}, - actual_end = #{actualEnd}, + scheduled_start = #{scheduledStart}, + scheduled_end = #{scheduledEnd}, + actual_start = #{actualStart}, + actual_end = #{actualEnd}, days = #{days}, explain_info = #{explainInfo}, is_del = #{isDel}, diff --git a/yanzhu-common/yanzhu-common-redis/pom.xml b/yanzhu-common/yanzhu-common-redis/pom.xml deleted file mode 100644 index 371bda26..00000000 --- a/yanzhu-common/yanzhu-common-redis/pom.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - com.yanzhu - yanzhu-common - 3.6.2 - - 4.0.0 - - yanzhu-common-redis - - - yanzhu-common-redis缓存服务 - - - - - - - org.springframework.boot - spring-boot-starter-data-redis - - - - - com.yanzhu - yanzhu-common-core - - - - \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-security/pom.xml b/yanzhu-common/yanzhu-common-security/pom.xml deleted file mode 100644 index ee89269e..00000000 --- a/yanzhu-common/yanzhu-common-security/pom.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - com.yanzhu - yanzhu-common - 3.6.2 - - 4.0.0 - - yanzhu-common-security - - - yanzhu-common-security安全模块 - - - - - - - org.springframework - spring-webmvc - - - - - com.yanzhu - yanzhu-api-system - - - - - com.yanzhu - yanzhu-common-redis - - - - - diff --git a/yanzhu-common/yanzhu-common-swagger/pom.xml b/yanzhu-common/yanzhu-common-swagger/pom.xml deleted file mode 100644 index b8aa9b90..00000000 --- a/yanzhu-common/yanzhu-common-swagger/pom.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - com.yanzhu - yanzhu-common - 3.6.2 - - 4.0.0 - - yanzhu-common-swagger - - - yanzhu-common-swagger系统接口 - - - - - - - org.springframework.boot - spring-boot-starter-web - - - - - io.springfox - springfox-swagger2 - ${swagger.fox.version} - - - - diff --git a/yanzhu-gateway/pom.xml b/yanzhu-gateway/pom.xml deleted file mode 100644 index c9e9bbf2..00000000 --- a/yanzhu-gateway/pom.xml +++ /dev/null @@ -1,190 +0,0 @@ - - - com.yanzhu - yanzhu - 3.6.2 - - 4.0.0 - - yanzhu-gateway - - - yanzhu-gateway网关模块 - - - - - - - org.springframework.cloud - spring-cloud-starter-gateway - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - com.alibaba.cloud - spring-cloud-alibaba-sentinel-gateway - - - - - com.alibaba.csp - sentinel-datasource-nacos - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - org.springframework.cloud - spring-cloud-loadbalancer - - - - - pro.fessional - kaptcha - - - - - com.yanzhu - yanzhu-common-redis - - - - - io.springfox - springfox-swagger-ui - ${swagger.fox.version} - - - io.springfox - springfox-swagger2 - ${swagger.fox.version} - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - 2.5.15 - - true - - - - - repackage - - - - - - org.apache.maven.plugins - maven-war-plugin - 3.1.0 - - false - ${project.artifactId} - - - - ${project.artifactId} - - - - src/main/resources - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/yanzhu-gateway/src/main/resources/bootstrap.yml b/yanzhu-gateway/src/main/resources/bootstrap.yml deleted file mode 100644 index 884c5efc..00000000 --- a/yanzhu-gateway/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,42 +0,0 @@ -# Tomcat -server: - port: 8080 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-gateway - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: lijun - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} - sentinel: - # 取消控制台懒加载 - eager: true - transport: - # 控制台地址 - dashboard: 62.234.3.186:8718 - # nacos配置持久化 - datasource: - ds1: - nacos: - server-addr: @discovery.server-addr@ - dataId: sentinel-ruoyi-gateway - groupId: DEFAULT_GROUP - data-type: json - rule-type: gw-flow diff --git a/yanzhu-modules/pom.xml b/yanzhu-modules/pom.xml deleted file mode 100644 index 800e5a5a..00000000 --- a/yanzhu-modules/pom.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - com.yanzhu - yanzhu - 3.6.2 - - 4.0.0 - - - yanzhu-system - yanzhu-gen - yanzhu-job - yanzhu-file - yanzhu-manage - yanzhu-wechat - yanzhu-flowable - - - yanzhu-modules - pom - - - yanzhu-modules分布式模块 - - - diff --git a/yanzhu-modules/yanzhu-file/pom.xml b/yanzhu-modules/yanzhu-file/pom.xml deleted file mode 100644 index 5296cfce..00000000 --- a/yanzhu-modules/yanzhu-file/pom.xml +++ /dev/null @@ -1,168 +0,0 @@ - - - - com.yanzhu - yanzhu-modules - 3.6.2 - - 4.0.0 - - yanzhu-modules-file - - - yanzhu-modules-file文件服务 - - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - com.github.tobato - fastdfs-client - - - - - io.minio - minio - ${minio.version} - - - - - com.yanzhu - yanzhu-api-system - - - - - com.yanzhu - yanzhu-common-swagger - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - 2.5.15 - - true - - - - - repackage - - - - - - org.apache.maven.plugins - maven-war-plugin - 3.1.0 - - false - ${project.artifactId} - - - - ${project.artifactId} - - - - src/main/resources - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-file/src/main/java/com/yanzhu/file/utils/FileUploadUtils.java b/yanzhu-modules/yanzhu-file/src/main/java/com/yanzhu/file/utils/FileUploadUtils.java index fd0e78bf..b6593d10 100644 --- a/yanzhu-modules/yanzhu-file/src/main/java/com/yanzhu/file/utils/FileUploadUtils.java +++ b/yanzhu-modules/yanzhu-file/src/main/java/com/yanzhu/file/utils/FileUploadUtils.java @@ -10,7 +10,10 @@ import java.util.Objects; import cn.hutool.core.img.ImgUtil; import cn.hutool.core.io.FileUtil; +import com.alibaba.nacos.common.utils.MD5Utils; +import com.yanzhu.common.core.utils.ServletUtils; import com.yanzhu.common.core.utils.file.FileUtils; +import com.yanzhu.common.core.utils.uuid.UUID; import org.apache.commons.io.FilenameUtils; import org.springframework.web.multipart.MultipartFile; import com.yanzhu.common.core.exception.file.FileNameLengthLimitExceededException; @@ -260,7 +263,7 @@ public class FileUploadUtils public static final String extractFilename(MultipartFile file) { return StringUtils.format("{}/{}_{}.{}", DateUtils.datePath(), - FilenameUtils.getBaseName(file.getOriginalFilename()), Seq.getId(Seq.uploadSeqType), FileTypeUtils.getExtension(file)); + MD5Utils.md5Hex(FilenameUtils.getBaseName(file.getOriginalFilename()),"utf-8"), Seq.getId(Seq.uploadSeqType), FileTypeUtils.getExtension(file)); } private static final File getAbsoluteFile(String uploadDir, String fileName) throws IOException diff --git a/yanzhu-modules/yanzhu-file/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-file/src/main/resources/bootstrap.yml deleted file mode 100644 index 284fda00..00000000 --- a/yanzhu-modules/yanzhu-file/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9300 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-file - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: lijun - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-modules/yanzhu-flowable/pom.xml b/yanzhu-modules/yanzhu-flowable/pom.xml deleted file mode 100644 index 7339194c..00000000 --- a/yanzhu-modules/yanzhu-flowable/pom.xml +++ /dev/null @@ -1,213 +0,0 @@ - - - - yanzhu - com.yanzhu - 3.6.2 - ../../pom.xml - - 4.0.0 - - yanzhu-modules-flowable - - - 6.7.2 - 17 - 17 - - - - yanzhu-modules-flowable工作流模块 - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - io.springfox - springfox-swagger-ui - ${swagger.fox.version} - - - - - org.apache.velocity - velocity-engine-core - - - - - mysql - mysql-connector-java - - - - - com.yanzhu - yanzhu-common-log - - - - - com.yanzhu - yanzhu-common-swagger - - - - org.projectlombok - lombok - provided - - - - - com.yanzhu - yanzhu-common-mapper - 3.6.2 - compile - - - - - com.googlecode.aviator - aviator - 5.3.3 - - - - org.flowable - flowable-spring-boot-starter - ${flowable.version} - - - org.flowable - flowable-spring-security - - - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - 2.5.15 - - true - - - - - repackage - - - - - - org.apache.maven.plugins - maven-war-plugin - 3.1.0 - - false - ${project.artifactId} - - - - ${project.artifactId} - - - - src/main/resources - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-flowable/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-flowable/src/main/resources/bootstrap.yml deleted file mode 100644 index caefefeb..00000000 --- a/yanzhu-modules/yanzhu-flowable/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9205 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-flowable - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: JiangYuQi - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-modules/yanzhu-gen/pom.xml b/yanzhu-modules/yanzhu-gen/pom.xml deleted file mode 100644 index be477070..00000000 --- a/yanzhu-modules/yanzhu-gen/pom.xml +++ /dev/null @@ -1,137 +0,0 @@ - - - - com.yanzhu - yanzhu-modules - 3.6.2 - - 4.0.0 - - yanzhu-modules-gen - - - yanzhu-modules-gen代码生成 - - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - io.springfox - springfox-swagger-ui - ${swagger.fox.version} - - - - - org.apache.velocity - velocity-engine-core - - - - - mysql - mysql-connector-java - - - - - com.yanzhu - yanzhu-common-log - - - - - com.yanzhu - yanzhu-common-swagger - - - - - - ${project.artifactId} - - - org.springframework.boot - spring-boot-maven-plugin - - - - repackage - - - - - - - com.spotify - docker-maven-plugin - 1.2.0 - - - ${project.build.finalName} - latest - - openjdk:latest - - ["java", "-jar", "/${project.build.finalName}.jar"] - - true - ${configuration.docker-one-Host} - - - / - - ${project.build.directory} - - ${project.build.finalName}.jar - - - - - - build-image - package - - build - - - - - - - - - src/main/resources - true - - - - - \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-gen/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-gen/src/main/resources/bootstrap.yml deleted file mode 100644 index 15150440..00000000 --- a/yanzhu-modules/yanzhu-gen/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9202 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-gen - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: lijun - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-modules/yanzhu-job/pom.xml b/yanzhu-modules/yanzhu-job/pom.xml deleted file mode 100644 index 3f990b9e..00000000 --- a/yanzhu-modules/yanzhu-job/pom.xml +++ /dev/null @@ -1,143 +0,0 @@ - - - - com.yanzhu - yanzhu-modules - 3.6.2 - - 4.0.0 - - yanzhu-modules-job - - - yanzhu-modules-job定时任务 - - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - io.springfox - springfox-swagger-ui - ${swagger.fox.version} - - - - - org.quartz-scheduler - quartz - - - com.mchange - c3p0 - - - - - - - mysql - mysql-connector-java - - - - - com.yanzhu - yanzhu-common-log - - - - - com.yanzhu - yanzhu-common-swagger - - - - - - ${project.artifactId} - - - org.springframework.boot - spring-boot-maven-plugin - - - - repackage - - - - - - - com.spotify - docker-maven-plugin - 1.2.0 - - - ${project.build.finalName} - latest - - openjdk:latest - - ["java", "-jar", "/${project.build.finalName}.jar"] - - true - ${configuration.docker-two-Host} - - - / - - ${project.build.directory} - - ${project.build.finalName}.jar - - - - - - build-image - package - - build - - - - - - - - - src/main/resources - true - - - - - \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-job/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-job/src/main/resources/bootstrap.yml deleted file mode 100644 index 9ac3298f..00000000 --- a/yanzhu-modules/yanzhu-job/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9203 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-job - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: JiangYuQi - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-modules/yanzhu-manage/pom.xml b/yanzhu-modules/yanzhu-manage/pom.xml deleted file mode 100644 index efb0abec..00000000 --- a/yanzhu-modules/yanzhu-manage/pom.xml +++ /dev/null @@ -1,279 +0,0 @@ - - - - yanzhu - com.yanzhu - 3.6.2 - ../../pom.xml - - 4.0.0 - - yanzhu-modules-manage - - - 17 - 17 - - - - yanzhu-modules-manage业务模块 - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - io.springfox - springfox-swagger-ui - ${swagger.fox.version} - - - - - org.apache.velocity - velocity-engine-core - - - - - mysql - mysql-connector-java - - - - - com.yanzhu - yanzhu-common-log - - - - - com.yanzhu - yanzhu-common-swagger - - - - com.squareup.okhttp3 - okhttp - 4.9.3 - - - - - com.yanzhu - yanzhu-common-mapper - 3.6.2 - compile - - - - - org.apache.poi - poi - - - - - org.apache.poi - poi-ooxml - - - - org.apache.poi - poi-ooxml-schemas - - - - com.lowagie - itext - - - - com.lowagie - itext-rtf - - - - com.lowagie - iTextAsian - 1.0.0 - system - ${pom.basedir}/libs/iTextAsian-1.0.0.jar - - - - com.deepoove - poi-tl - - - - - - org.aspectj - aspectjweaver - - - - com.aspose - aspose-words - 15.8.0 - system - ${pom.basedir}/libs/aspose-words-15.8.0-jdk16.jar - - - - - - com.itextpdf - itextpdf - ${itextpdf.version} - - - - - org.jsoup - jsoup - 1.17.2 - - - - com.aspose - aspose-tasks - 24.10 - system - ${pom.basedir}/libs/aspose-tasks-24.10-jdk17.jar - - - net.sf.mpxj - mpxj - 13.5.1 - - - - - - - org.springframework.boot - spring-boot-maven-plugin - 2.5.15 - - true - true - - - - - repackage - - - - - - org.apache.maven.plugins - maven-war-plugin - 3.1.0 - - false - ${project.artifactId} - - - - ${project.artifactId} - - - - src/main/resources - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml deleted file mode 100644 index 629215d5..00000000 --- a/yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,31 +0,0 @@ -# Tomcat -server: - port: 9208 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-manage - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: lijun - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} - -logging: - level: - com.ycx.manage.mapper: DEBUG \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-system/pom.xml b/yanzhu-modules/yanzhu-system/pom.xml deleted file mode 100644 index ad21b65d..00000000 --- a/yanzhu-modules/yanzhu-system/pom.xml +++ /dev/null @@ -1,193 +0,0 @@ - - - - com.yanzhu - yanzhu-modules - 3.6.2 - - 4.0.0 - - yanzhu-modules-system - - - yanzhu-modules-system系统模块 - - - - - - - org.apache.shardingsphere - shardingsphere-jdbc-core-spring-boot-starter - 5.1.2 - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - io.springfox - springfox-swagger-ui - ${swagger.fox.version} - - - - - mysql - mysql-connector-java - - - - - com.yanzhu - yanzhu-common-datasource - - - - - com.yanzhu - yanzhu-common-log - - - - - com.yanzhu - yanzhu-common-swagger - - - - - com.yanzhu - yanzhu-common-datascope - - - com.yanzhu - yanzhu-common-mapper - 3.6.2 - compile - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - 2.5.15 - - true - - - - - repackage - - - - - - org.apache.maven.plugins - maven-war-plugin - 3.1.0 - - false - ${project.artifactId} - - - - ${project.artifactId} - - - - src/main/resources - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-system/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-system/src/main/resources/bootstrap.yml deleted file mode 100644 index efe975fc..00000000 --- a/yanzhu-modules/yanzhu-system/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9201 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-system - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: lijun - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-modules/yanzhu-wechat/pom.xml b/yanzhu-modules/yanzhu-wechat/pom.xml deleted file mode 100644 index 39d06841..00000000 --- a/yanzhu-modules/yanzhu-wechat/pom.xml +++ /dev/null @@ -1,154 +0,0 @@ - - - - yanzhu - com.yanzhu - 3.6.2 - ../../pom.xml - - 4.0.0 - - yanzhu-modules-wechat - - - 17 - 17 - - - - yanzhu-modules-wechat微信模块 - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - io.springfox - springfox-swagger-ui - ${swagger.fox.version} - - - - - org.apache.velocity - velocity-engine-core - - - - - mysql - mysql-connector-java - - - - - com.yanzhu - yanzhu-common-log - - - - - com.yanzhu - yanzhu-common-swagger - - - org.projectlombok - lombok - provided - - - - - com.yanzhu - yanzhu-common-mapper - 3.6.2 - compile - - - - - - ${project.artifactId} - - - org.springframework.boot - spring-boot-maven-plugin - - - - repackage - - - - - - - com.spotify - docker-maven-plugin - 1.2.0 - - - ${project.build.finalName} - latest - - openjdk:latest - - ["java", "-jar", "/${project.build.finalName}.jar"] - - true - ${configuration.docker-one-Host} - - - / - - ${project.build.directory} - - ${project.build.finalName}.jar - - - - - - build-image - package - - build - - - - - - - - - src/main/resources - true - - - - \ No newline at end of file diff --git a/yanzhu-modules/yanzhu-wechat/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-wechat/src/main/resources/bootstrap.yml deleted file mode 100644 index c9ae24ee..00000000 --- a/yanzhu-modules/yanzhu-wechat/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9206 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-wechat - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: JiangYuQi - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-monitor/pom.xml b/yanzhu-monitor/pom.xml deleted file mode 100644 index 103688b4..00000000 --- a/yanzhu-monitor/pom.xml +++ /dev/null @@ -1,119 +0,0 @@ - - - yanzhu - com.yanzhu - 3.6.2 - - 4.0.0 - - yanzhu-monitor - - - yanzhu-monitor监控中心 - - - - - - - de.codecentric - spring-boot-admin-starter-server - ${spring-boot-admin.version} - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-web - - - - - org.springframework.boot - spring-boot-starter-security - - - - - - ${project.artifactId} - - - org.springframework.boot - spring-boot-maven-plugin - - - - repackage - - - - - - - com.spotify - docker-maven-plugin - 1.2.0 - - - ${project.build.finalName} - latest - - openjdk:latest - - ["java", "-jar", "/${project.build.finalName}.jar"] - - true - - ${configuration.docker-one-Host} - - - / - - ${project.build.directory} - - ${project.build.finalName}.jar - - - - - - build-image - package - - build - - - - - - - - - src/main/resources - true - - - - - \ No newline at end of file diff --git a/yanzhu-monitor/src/main/resources/bootstrap.yml b/yanzhu-monitor/src/main/resources/bootstrap.yml deleted file mode 100644 index 2c9a1c66..00000000 --- a/yanzhu-monitor/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Tomcat -server: - port: 9100 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-monitor - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: JiangYuQi - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/yanzhu-rocketmq/pom.xml b/yanzhu-rocketmq/pom.xml deleted file mode 100644 index 52ca2869..00000000 --- a/yanzhu-rocketmq/pom.xml +++ /dev/null @@ -1,144 +0,0 @@ - - - - yanzhu - com.yanzhu - 3.6.2 - - 4.0.0 - - yanzhu-rocketmq - - - - - org.apache.rocketmq - rocketmq-client - 4.9.0 - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - com.alibaba.nacos - nacos-client - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - mysql - mysql-connector-java - - - - - com.yanzhu - yanzhu-common-log - - - - - com.yanzhu - yanzhu-common-swagger - - - com.yanzhu - yanzhu-common-security - - - org.projectlombok - lombok - - - - - org.yaml - snakeyaml - 1.28 - - - - - ${project.artifactId} - - - org.springframework.boot - spring-boot-maven-plugin - - - - repackage - - - - - - - com.spotify - docker-maven-plugin - 1.2.0 - - - ${project.build.finalName} - latest - - openjdk:latest - - ["java", "-jar", "/${project.build.finalName}.jar"] - - true - ${configuration.docker-one-Host} - - - / - - ${project.build.directory} - - ${project.build.finalName}.jar - - - - - - build-image - package - - build - - - - - - - - - src/main/resources - true - - - - - \ No newline at end of file diff --git a/yanzhu-rocketmq/src/main/resources/bootstrap.yml b/yanzhu-rocketmq/src/main/resources/bootstrap.yml deleted file mode 100644 index 368854c9..00000000 --- a/yanzhu-rocketmq/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,38 +0,0 @@ -# Tomcat -server: - port: 9207 - -# Spring -spring: - application: - # 应用名称 - name: yanzhu-rocketmq - profiles: - # 环境配置 - active: dev - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: @discovery.server-addr@ - # 服务分组 - group: JiangYuQi - config: - # 配置中心地址 - server-addr: @discovery.server-addr@ - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} - - redisson: - singleServerConfig: - address: redis://localhost:6379 - -logging: - level: - com.yanzhu.app.mapper: DEBUG - - - diff --git a/yanzhu-ui-vue3/src/views/manage/proProjectInfo/index.vue b/yanzhu-ui-vue3/src/views/manage/proProjectInfo/index.vue index 5da913ae..3cbf6b6d 100644 --- a/yanzhu-ui-vue3/src/views/manage/proProjectInfo/index.vue +++ b/yanzhu-ui-vue3/src/views/manage/proProjectInfo/index.vue @@ -716,6 +716,8 @@ function submitForm() { getList(); }); } + }else{ + proxy.$modal.msgError("请检查必填数据(项目基本信息)"); } }); } From 0ab4165788565979ca320b5a670db96acd3c785b Mon Sep 17 00:00:00 2001 From: haha Date: Thu, 2 Jan 2025 22:40:43 +0800 Subject: [PATCH 5/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=BE=E5=83=8F?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E4=B8=8A=E4=BC=A0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yanzhu-ui-vue3/src/api/system/user.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yanzhu-ui-vue3/src/api/system/user.js b/yanzhu-ui-vue3/src/api/system/user.js index dc75a6d2..d0d83d00 100644 --- a/yanzhu-ui-vue3/src/api/system/user.js +++ b/yanzhu-ui-vue3/src/api/system/user.js @@ -114,6 +114,9 @@ export function uploadAvatar(data) { return request({ url: '/system/user/profile/avatar', method: 'post', + headers: { + 'Content-Type': 'multipart/form-data' + }, data: data }) } From 964a904cc1e426aad51e1d386056bf1f6795a6c9 Mon Sep 17 00:00:00 2001 From: haha Date: Thu, 2 Jan 2025 23:34:45 +0800 Subject: [PATCH 6/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8E=E5=8F=B0?= =?UTF-8?q?=E9=87=8C=E7=A8=8B=E7=A2=91=E7=AE=A1=E7=90=86=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E7=9A=84=E6=97=B6=E5=80=99=E5=A6=82=E6=9E=9C=E5=AE=9E=E9=99=85?= =?UTF-8?q?=E7=BB=93=E6=9D=9F=E6=97=A5=E6=9C=9F=E6=B2=A1=E6=9C=89=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=BF=9D=E5=AD=98=E7=9A=84=E6=97=B6=E5=80=99=E4=BC=9A?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=A1=AB=E5=85=85=E6=95=B0=E6=8D=AE=EF=BC=8C?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E6=94=B9=E6=88=90=E4=B8=8D=E5=A1=AB=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/manage/ProMilestoneMapper.xml | 2 +- yanzhu-ui-vue3/src/views/manage/milestone/index.vue | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProMilestoneMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProMilestoneMapper.xml index f4512124..906f084f 100644 --- a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProMilestoneMapper.xml +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProMilestoneMapper.xml @@ -107,7 +107,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" scheduled_end = #{scheduledEnd}, actual_start = #{actualStart}, actual_end = #{actualEnd}, - days = #{days}, + days = #{days}, explain_info = #{explainInfo}, is_del = #{isDel}, remark = #{remark}, diff --git a/yanzhu-ui-vue3/src/views/manage/milestone/index.vue b/yanzhu-ui-vue3/src/views/manage/milestone/index.vue index 8cbc1bf0..c553b080 100644 --- a/yanzhu-ui-vue3/src/views/manage/milestone/index.vue +++ b/yanzhu-ui-vue3/src/views/manage/milestone/index.vue @@ -136,6 +136,10 @@ function handleUpdate(row) { objs.forEach(it => { it.comId = userStore.currentComId; it.projectId = userStore.currentPrjId; + it.actualEnd=it.actualEnd?proxy.$dt(it.actualEnd).format("YYYY-MM-DD"):''; + it.actualStart=it.actualStart?proxy.$dt(it.actualStart).format("YYYY-MM-DD"):''; + it.scheduledEnd=it.scheduledEnd?proxy.$dt(it.scheduledEnd).format("YYYY-MM-DD"):''; + it.scheduledStart=it.scheduledStart?proxy.$dt(it.scheduledStart).format("YYYY-MM-DD"):''; }) if (objs.length == 0) { proxy.$modal.msgError("请输入节点名称!"); From 552f768190a90a1406e975ebef20f03647a7eee0 Mon Sep 17 00:00:00 2001 From: haha Date: Sat, 4 Jan 2025 00:53:16 +0800 Subject: [PATCH 7/7] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yanzhu-bigscreen/src/api/detail.js | 12 +- yanzhu-bigscreen/src/components/header.vue | 263 ++++++++++++++++-- .../src/pages-old/projectDetail.vue | 49 ++-- yanzhu-bigscreen/src/views/projectDetail.vue | 2 +- yanzhu-bigscreen/src/views/videoMonitor.vue | 2 +- .../manage/mapper/ProProjectInfoMapper.java | 2 + .../mapper/manage/ProProjectInfoMapper.xml | 38 ++- .../ProProjectInfoSubdeptsUsersMapper.xml | 2 +- .../controller/ProProjectInfoController.java | 2 +- .../service/IProProjectInfoService.java | 2 + .../impl/ProProjectInfoServiceImpl.java | 5 + 11 files changed, 316 insertions(+), 63 deletions(-) diff --git a/yanzhu-bigscreen/src/api/detail.js b/yanzhu-bigscreen/src/api/detail.js index 9d1ef10a..9c5a2c4b 100644 --- a/yanzhu-bigscreen/src/api/detail.js +++ b/yanzhu-bigscreen/src/api/detail.js @@ -133,16 +133,16 @@ const costOutputSelectYearAndMonth=(data)=> { return it; }); let y=data.year; - let m=data.month-1; - if(m==0){ - m=12; - y--; - } + let m=data.month; + //if(m==0){ + // m=12; + // y--; + //} let tmps2=(res[1].data||[]).map(it=>{ it.money=it.money?it.money/10000.0:0; return it; }); - let curM=tmps2.filter(it=>it.costType==9 && it.year==y && it.month==m); + let curM=tmps.filter(it=>it.costType==9 && it.year==y && it.month==m); curM=curM.length>0?curM[0]:{}; let totalObjs=tmps.filter(it=>it.costType==9); diff --git a/yanzhu-bigscreen/src/components/header.vue b/yanzhu-bigscreen/src/components/header.vue index 0159b1ca..bb6c20db 100644 --- a/yanzhu-bigscreen/src/components/header.vue +++ b/yanzhu-bigscreen/src/components/header.vue @@ -5,21 +5,101 @@
项目概况
项目详情
-
安全管理
-
质量管理
-
进度管理
-
视频监控
+
+
安全管理
+
+
+
+ + + +
+
+
+
+
质量管理
+
+
+
+ + +
+
+
+
+
进度管理
+
+
+
+ +
+
+
+
+ 数字建安施工管理平台
-
绿碳中心
+
绿碳中心
- - - - - - - - + + + + + + + +
@@ -55,7 +136,8 @@ export default { data() { return { nav: 1, - selProject: '', + selProject: null, + selProjectId: '', projects: [], isFullScreen: false, } @@ -79,7 +161,7 @@ export default { this.projects = d.rows || []; if (this.projects.length > 0) { let id = localStorage.getItem("selProj") || this.projects[0].id - this.selProject = +id; + this.selProjectId = +id; this.doProjectSelect(); } }); @@ -93,21 +175,44 @@ export default { }, 400); }, doProjectSelect() { - let tmps = this.projects.filter(d => d.id == this.selProject); + let tmps = this.projects.filter(d => d.id == this.selProjectId); if (tmps.length > 0) { this.$store.dispatch('SetSelProject', tmps[0]); + this.selProject = tmps[0]; } else { this.$store.dispatch('SetSelProject', null); + this.selProject = null; } - localStorage.setItem("selProj", this.selProject); + localStorage.setItem("selProj", this.selProjectId); }, doNav(n) { if (this.nav == n) { return; } this.nav = n; - let path = ["/index", "/detail", "/prjSafety", "/prjQuality", "/prjProgress","/greenCarbon","/videoMonitor"][n - 1]; - this.$router.push(path); + switch (n) { + case 1: + this.$router.push("/index"); + break; + case 2: + this.$router.push("/detail"); + break; + case 3: + this.$router.push("/prjSafety"); + break; + case 309: + this.$router.push("/videoMonitor"); + break; + case 4: + this.$router.push("/prjQuality"); + break; + case 5: + this.$router.push("/prjProgress"); + break; + case 6: + this.$router.push("/greenCarbon"); + break; + } }, doLogout() { this.$confirm('确定注销并退出系统吗?', '提示', { @@ -133,6 +238,65 @@ export default { color: #3da2ff; font-size: 32px; font-weight: bold; + + .prj-logo { + width: 40px; + height: 40px; + vertical-align: middle; + border-radius: 20px; + } + } + + .head-title-tab { + .has-submenu { + &:hover { + .header-btn-list { + display: block; + } + } + + .header-btn-list { + display: none; + + .header-btn-list-item { + .header-btn-list-padding { + padding: 0px; + + button { + width: 120px; + } + + &.menu-row2 { + .sub-btn { + color: #fff; + + &:hover { + color: #ccc; + } + } + } + + &.menu-row1 { + .sub-btn { + color: rgb(1, 169, 255); + + &:hover { + color: #fff; + } + } + } + + .sub-btn { + &.active { + color: #ffffffaa; + } + } + } + + } + } + + } } } @@ -145,6 +309,12 @@ export default { padding: 5px 40px; position: relative; top: -8px; + .prj-logo { + width: 40px; + height: 40px; + vertical-align: middle; + border-radius: 20px; + } } } @@ -163,20 +333,41 @@ export default { top: -5px; } } + .header-sel-project-pop { transform: scale(1.5); width: 200px; min-width: unset !important; margin-left: 50px; } + + .head-title-tab { + .header-btn-list { + top: 40px; + left: 40px; + + .sub-btn { + font-size: 18px; + width: 140px !important; + line-height: 40px; + height: 40px; + } + } + } } @media (min-width: 2561px) { - + .header-center { font-size: 52px !important; margin-top: 10px; + .prj-logo { + width: 50px; + height: 50px; + vertical-align: middle; + border-radius: 25px; + } } .header-title-user-info { @@ -196,5 +387,19 @@ export default { min-width: unset !important; margin-left: 100px; } + + .head-title-tab { + .header-btn-list { + top: 50px; + left: 50px; + + .sub-btn { + font-size: 24px; + width: 160px !important; + line-height: 50px; + height: 50px; + } + } + } } \ No newline at end of file diff --git a/yanzhu-bigscreen/src/pages-old/projectDetail.vue b/yanzhu-bigscreen/src/pages-old/projectDetail.vue index 94907f35..93044633 100644 --- a/yanzhu-bigscreen/src/pages-old/projectDetail.vue +++ b/yanzhu-bigscreen/src/pages-old/projectDetail.vue @@ -95,7 +95,7 @@ 今日出勤 - @@ -123,7 +123,7 @@
@@ -304,9 +304,10 @@ 计划开工日期

- {{ - fmtDate(getCurProject().scheduledStartTime || "") - }} + + {{getCurProject()}}{{ + fmtDate(getCurProject().scheduledStartTime || "") + }}
@@ -355,8 +356,8 @@

{{ - fmtDate(getCurProject().plannedCompletionTime || "") - }} + fmtDate(getCurProject().plannedCompletionTime || "") + }}
@@ -513,9 +514,9 @@ 实际:{{ item.endDate || "--" }}
+ ' state-' + + item.finishState + "> {{ item.finish }}
@@ -914,13 +915,13 @@ export default { this.projectLvlDict = d || []; }); }, - mounted() { + mounted() { this.$bus.$on( "projectChange", debounce((res) => { - this.project = res||this.$root.project; - this.dept=this.$root.dept||this.dept; - this.prjs= this.$root.projects||this.prjs; + this.project = res || this.$root.project; + this.dept = this.$root.dept || this.dept; + this.prjs = this.$root.projects || this.prjs; this.mapName = ""; if (res.id == 0) { if (this.prjs.length > 1) { @@ -932,7 +933,7 @@ export default { this.loadData(); this.loadFilshNode(); }) - ); + ); if (this.$root.hasInitHeader) { this.initMe(); } @@ -942,14 +943,14 @@ export default { * 劳资预警详情弹窗 */ doFlowLabourDlg() { - if(this.project.id==0){ - if(this.prjs.length>1){ + if (this.project.id == 0) { + if (this.prjs.length > 1) { this.$refs.flowLabourDlg.showDialog(this.prjs[1]); } - }else{ + } else { this.$refs.flowLabourDlg.showDialog(this.project); } - + }, getFloorArea() { this.getProjectId((id) => { @@ -982,7 +983,7 @@ export default { } else { this.$refs.jobWorkerdlg.showDialog({ ...data, - type:this.infoNav, + type: this.infoNav, total: this.laborPersonnelTotal, datas: this.laborPersonnelData.map((it) => { return { @@ -1068,11 +1069,11 @@ export default { } if (this.project.id == 0) { if (this.prjs.length > 1) { - return this.prjs[1]; + return this.prjs[1]||{}; } return {}; } - return this.project; + return this.project||{}; }, getProjectId(cb) { let func = () => { @@ -1680,9 +1681,11 @@ export default { width: calc(100% - 4px); height: calc(100% - 26px); padding-left: 1px; - .el-carousel{ + + .el-carousel { height: 100%; } + .photography-video { width: 100%; height: calc(100% - 30px); diff --git a/yanzhu-bigscreen/src/views/projectDetail.vue b/yanzhu-bigscreen/src/views/projectDetail.vue index 11b4a595..bc5cb0d7 100644 --- a/yanzhu-bigscreen/src/views/projectDetail.vue +++ b/yanzhu-bigscreen/src/views/projectDetail.vue @@ -214,7 +214,7 @@
-
+
diff --git a/yanzhu-bigscreen/src/views/videoMonitor.vue b/yanzhu-bigscreen/src/views/videoMonitor.vue index 8a5ef6b9..e842bbab 100644 --- a/yanzhu-bigscreen/src/views/videoMonitor.vue +++ b/yanzhu-bigscreen/src/views/videoMonitor.vue @@ -76,7 +76,7 @@ export default { } }, mounted() { - this.$store.dispatch('ChangeNav', 7); + this.$store.dispatch('ChangeNav', 309); this.dpi = this.$dpi(); window.addEventListener("resize", () => { if (this.dpi != this.$dpi()) { diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoMapper.java b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoMapper.java index 73bbc81c..cf586b6e 100644 --- a/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoMapper.java +++ b/yanzhu-common/yanzhu-common-mapper/src/main/java/com/yanzhu/manage/mapper/ProProjectInfoMapper.java @@ -74,4 +74,6 @@ public interface ProProjectInfoMapper * @return */ public int updateDept(ProDept proDept); + + List selectMyProjectList(ProProjectInfo proProjectInfo); } diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoMapper.xml index 7a0b2937..73b634e8 100644 --- a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoMapper.xml +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoMapper.xml @@ -345,5 +345,41 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where dept_id = #{deptId} - + \ No newline at end of file diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSubdeptsUsersMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSubdeptsUsersMapper.xml index 39a6d94d..a95c0ac3 100644 --- a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSubdeptsUsersMapper.xml +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/ProProjectInfoSubdeptsUsersMapper.xml @@ -274,7 +274,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ) u ON u.craft_type = dic.dict_value WHERE - dic.dict_type = 'pro_craft_type'; + dic.dict_type = 'pro_craft_type' diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoController.java index a5056338..54533d96 100644 --- a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoController.java +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/ProProjectInfoController.java @@ -149,7 +149,7 @@ public class ProProjectInfoController extends BaseController if(StringUtils.isNotEmpty(list)){ return getDataTable(list); } - list = proProjectInfoService.selectProProjectInfoList(proProjectInfo); + list = proProjectInfoService.selectMyProjectList(proProjectInfo); redisService.setCacheObject(key, list, Constants.CAPTCHA_EXPIRATION, TimeUnit.MINUTES); return getDataTable(list); } diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoService.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoService.java index b61289cb..5f35a6e8 100644 --- a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoService.java +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/IProProjectInfoService.java @@ -70,4 +70,6 @@ public interface IProProjectInfoService * 加载地址信息到缓存 */ public void loadingProjectsCache(); + + public List selectMyProjectList(com.yanzhu.manage.domain.ProProjectInfo proProjectInfo); } diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoServiceImpl.java index 17fffccc..6a81dc30 100644 --- a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoServiceImpl.java +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/ProProjectInfoServiceImpl.java @@ -88,6 +88,11 @@ public class ProProjectInfoServiceImpl implements IProProjectInfoService } } + @Override + public List selectMyProjectList(ProProjectInfo proProjectInfo) { + return proProjectInfoMapper.selectMyProjectList(proProjectInfo); + } + /** * 查询项目信息 *