Compare commits

...

13 Commits
master ... dev

Author SHA1 Message Date
bynt 68e76873c5 测试 1 year ago
bynt 7f2b64293f 测试 1 year ago
bynt c834e6df9a 测试 1 year ago
bynt 88f5d34748 测试 1 year ago
bynt 684800924f 修改启动参数 1 year ago
bynt e487fd454d 修改启动参数 1 year ago
bynt 0845a4748d 修改启动参数 1 year ago
bynt 5a74c695cd 添加pom参数 1 year ago
bynt ff2ef97dac 修改参数 1 year ago
bynt 10c7abb8cf 修改参数 1 year ago
bynt 434f0a490b 修改参数 1 year ago
bynt 4a73ee57cd 修改参数 1 year ago
bynt eef0d61e5a 修改参数 1 year ago

@ -6,6 +6,7 @@
<artifactId>eladmin</artifactId> <artifactId>eladmin</artifactId>
<groupId>me.zhengjie</groupId> <groupId>me.zhengjie</groupId>
<version>2.6</version> <version>2.6</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<properties> <properties>

@ -6,6 +6,7 @@
<artifactId>eladmin</artifactId> <artifactId>eladmin</artifactId>
<groupId>me.zhengjie</groupId> <groupId>me.zhengjie</groupId>
<version>2.6</version> <version>2.6</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -36,4 +37,4 @@
<version>${configuration.version}</version> <version>${configuration.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>

@ -6,6 +6,7 @@
<artifactId>eladmin</artifactId> <artifactId>eladmin</artifactId>
<groupId>me.zhengjie</groupId> <groupId>me.zhengjie</groupId>
<version>2.6</version> <version>2.6</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -19,4 +20,4 @@
<version>2.6</version> <version>2.6</version>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>

@ -9,7 +9,7 @@ import org.springframework.stereotype.Component;
@Generated( @Generated(
value = "org.mapstruct.ap.MappingProcessor", value = "org.mapstruct.ap.MappingProcessor",
date = "2023-06-21T17:29:40+0800", date = "2023-07-26T09:47:47+0800",
comments = "version: 1.3.1.Final, compiler: javac, environment: Java 1.8.0_251 (Oracle Corporation)" comments = "version: 1.3.1.Final, compiler: javac, environment: Java 1.8.0_251 (Oracle Corporation)"
) )
@Component @Component

@ -9,7 +9,7 @@ import org.springframework.stereotype.Component;
@Generated( @Generated(
value = "org.mapstruct.ap.MappingProcessor", value = "org.mapstruct.ap.MappingProcessor",
date = "2023-06-21T17:29:40+0800", date = "2023-07-26T09:47:46+0800",
comments = "version: 1.3.1.Final, compiler: javac, environment: Java 1.8.0_251 (Oracle Corporation)" comments = "version: 1.3.1.Final, compiler: javac, environment: Java 1.8.0_251 (Oracle Corporation)"
) )
@Component @Component

@ -6,6 +6,7 @@
<artifactId>eladmin</artifactId> <artifactId>eladmin</artifactId>
<groupId>me.zhengjie</groupId> <groupId>me.zhengjie</groupId>
<version>2.6</version> <version>2.6</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -145,6 +146,14 @@
<skipTests>true</skipTests> <skipTests>true</skipTests>
</configuration> </configuration>
</plugin> </plugin>
<!-- 主体启动类 -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>me.zhengjie.AppRun</mainClass>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>

@ -16,6 +16,7 @@
package me.zhengjie; package me.zhengjie;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import me.zhengjie.annotation.rest.AnonymousGetMapping; import me.zhengjie.annotation.rest.AnonymousGetMapping;
import me.zhengjie.utils.SpringContextHolder; import me.zhengjie.utils.SpringContextHolder;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
@ -35,6 +36,7 @@ import org.springframework.web.bind.annotation.RestController;
* @author Zheng Jie * @author Zheng Jie
* @date 2018/11/15 9:20:19 * @date 2018/11/15 9:20:19
*/ */
@Slf4j
@EnableAsync @EnableAsync
@RestController @RestController
@EnableScheduling @EnableScheduling

@ -109,11 +109,12 @@ public class GenderConversionTask {
}); });
if (StringUtils.isNotBlank(byTaskName.getDownPath())) { if (StringUtils.isNotBlank(byTaskName.getDownPath())) {
FileUtil.writeToCsv(joinList, parseFile.getPath(), Boolean.TRUE); String replaceUrl = byTaskName.getDownPath().replace(".zip", ".csv");
FileUtil.writeToCsv(joinList, replaceUrl, Boolean.TRUE);
// 设置压缩文件 // 设置压缩文件
CompressUtil.decryptionCompression(path, parseFile.getPath(), null); CompressUtil.decryptionCompression(byTaskName.getDownPath(), replaceUrl, null);
deliveryGenderService.update(byTaskName); deliveryGenderService.update(byTaskName);
return; continue;
} }
String down = deliveryProperties.getFileUrl().concat(StrUtil.SLASH).concat(IdUtil.fastSimpleUUID()); String down = deliveryProperties.getFileUrl().concat(StrUtil.SLASH).concat(IdUtil.fastSimpleUUID());
// 首次加载 // 首次加载

@ -4,7 +4,7 @@ spring:
druid: druid:
db-type: com.alibaba.druid.pool.DruidDataSource db-type: com.alibaba.druid.pool.DruidDataSource
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
url: jdbc:log4jdbc:mysql://8.130.96.163:3306/eladmin-plat2?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false url: jdbc:log4jdbc:mysql://127.0.0.1:3306/eladmin-plat2?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
username: root username: root
password: y7z7noq2 password: y7z7noq2
# 初始连接数 # 初始连接数
@ -145,3 +145,11 @@ rdsFileRecord:
reqUrl: http://116.62.197.152:8000/api/temp/file/link/nofile?filePath= reqUrl: http://116.62.197.152:8000/api/temp/file/link/nofile?filePath=
gender:
emailPassword: baiye2022
fileUrl: F:\mail
zipPassword: DB2022hjk213v1...
emailAddress: ensoze@outlook.com
downPath: https://xx.tuoz.net/file/mail/
genderEmailAddress: ensoze2023@outlook.com
toGenderEmailAddress: ggggod_2022@outlook.com

@ -188,7 +188,6 @@ public class SimpleTest {
System.out.println(string); System.out.println(string);
} }
} }

@ -6,6 +6,7 @@
<artifactId>eladmin</artifactId> <artifactId>eladmin</artifactId>
<groupId>me.zhengjie</groupId> <groupId>me.zhengjie</groupId>
<version>2.6</version> <version>2.6</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -24,6 +25,7 @@
<groupId>me.zhengjie</groupId> <groupId>me.zhengjie</groupId>
<artifactId>eladmin-logging</artifactId> <artifactId>eladmin-logging</artifactId>
<version>2.6</version> <version>2.6</version>
</dependency> </dependency>
<!--邮件依赖--> <!--邮件依赖-->

Loading…
Cancel
Save