Commit 67daf77a authored by ma's avatar ma
parents 905e42bf 23af365a
...@@ -2,4 +2,5 @@ ...@@ -2,4 +2,5 @@
##### 2023.1版本 ##### 2023.1版本
> 1. 执行update.2023.1.sql > 1. 执行update.2023.1.sql
> 2. 原来的root账号要换成邮箱,包括user_name和notify字段,两个都填超管账号邮箱。 > 2. 原来的root账号要换成邮箱,包括user_name和notify字段,两个都填超管账号邮箱。
> 3. 证书文件ca.crt/server.crt/server.pkcs8.key拷贝到正确的目录下。 > 3. 证书文件ca.crt/server.crt/server.pkcs8.key拷贝到正确的目录下。
\ No newline at end of file > 4. 在yml中定义前端网页地址other.web。
\ No newline at end of file
...@@ -65,7 +65,7 @@ public class ThreadPoolConfig { ...@@ -65,7 +65,7 @@ public class ThreadPoolConfig {
threadPoolTaskExecutor.setMaxPoolSize(10); threadPoolTaskExecutor.setMaxPoolSize(10);
threadPoolTaskExecutor.setKeepAliveSeconds(3); threadPoolTaskExecutor.setKeepAliveSeconds(3);
threadPoolTaskExecutor.setQueueCapacity(1000); threadPoolTaskExecutor.setQueueCapacity(1000);
threadPoolTaskExecutor.setRejectedExecutionHandler(new ThreadPoolExecutor.AbortPolicy()); threadPoolTaskExecutor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
threadPoolTaskExecutor.initialize(); threadPoolTaskExecutor.initialize();
return threadPoolTaskExecutor; return threadPoolTaskExecutor;
} }
......
...@@ -86,6 +86,9 @@ public class PmsUseServiceImpl implements PmsUseService { ...@@ -86,6 +86,9 @@ public class PmsUseServiceImpl implements PmsUseService {
Integer id = reportErrorMsgDTO.getId(); Integer id = reportErrorMsgDTO.getId();
String errorCode = reportErrorMsgDTO.getErrorCode(); String errorCode = reportErrorMsgDTO.getErrorCode();
String errorMsg = reportErrorMsgDTO.getErrorMsg(); String errorMsg = reportErrorMsgDTO.getErrorMsg();
if (errorMsg != null && errorMsg.contains("\\u")) {
errorMsg = CommonUtil.unicodeToStr(errorMsg);
}
PmsUseLog pmsUseLog = new PmsUseLog(); PmsUseLog pmsUseLog = new PmsUseLog();
pmsUseLog.setId(id); pmsUseLog.setId(id);
pmsUseLog.setStatus(0); pmsUseLog.setStatus(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment