Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
email
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈天仲
email
Commits
72bcc9cf
Commit
72bcc9cf
authored
Apr 03, 2023
by
chentianzhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023年3月31日11:36:38
parent
c6a18a59
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/main/java/com/zq/email/controller/EmailPersonController.java
+1
-1
src/main/resources/application-product.yml
+1
-1
No files found.
src/main/java/com/zq/email/controller/EmailPersonController.java
View file @
72bcc9cf
...
@@ -73,7 +73,7 @@ public class EmailPersonController {
...
@@ -73,7 +73,7 @@ public class EmailPersonController {
public
ResultVo
readEmail
(
@RequestBody
EmailReadVo
vo
)
{
public
ResultVo
readEmail
(
@RequestBody
EmailReadVo
vo
)
{
AssertUtils
.
notEmpty
(
vo
.
getPersonIdList
(),
"缺少参数:personIdList"
);
AssertUtils
.
notEmpty
(
vo
.
getPersonIdList
(),
"缺少参数:personIdList"
);
AssertUtils
.
notNull
(
vo
.
getIsRead
(),
"缺少参数:isSend"
);
AssertUtils
.
notNull
(
vo
.
getIsRead
(),
"缺少参数:isSend"
);
AssertUtils
.
notNull
(
vo
.
getSearchRange
(),
"缺少参数:searchRange"
);
//
AssertUtils.notNull(vo.getSearchRange(), "缺少参数:searchRange");
log
.
info
(
"执行前: {}"
+
DateUtil
.
format
(
new
Date
(),
"yyyy-MM-dd HH:mm:ss"
));
log
.
info
(
"执行前: {}"
+
DateUtil
.
format
(
new
Date
(),
"yyyy-MM-dd HH:mm:ss"
));
this
.
emailPersonService
.
readEmail
(
vo
);
this
.
emailPersonService
.
readEmail
(
vo
);
log
.
info
(
"执行后: {}"
+
DateUtil
.
format
(
new
Date
(),
"yyyy-MM-dd HH:mm:ss"
));
log
.
info
(
"执行后: {}"
+
DateUtil
.
format
(
new
Date
(),
"yyyy-MM-dd HH:mm:ss"
));
...
...
src/main/resources/application-product.yml
View file @
72bcc9cf
...
@@ -10,7 +10,7 @@ spring:
...
@@ -10,7 +10,7 @@ spring:
datasource
:
datasource
:
druid
:
druid
:
db-type
:
com.alibaba.druid.pool.DruidDataSource
db-type
:
com.alibaba.druid.pool.DruidDataSource
url
:
jdbc:kingbase8://147.2.3.4:54321/EMAIL?ConfigurePath=/opt/db-config/EMAIL/jdbc_new.conf
url
:
jdbc:kingbase8://147.2.3.4:54321/EMAIL
_NEW
?ConfigurePath=/opt/db-config/EMAIL/jdbc_new.conf
username
:
oa_system
username
:
oa_system
password
:
GXfy/2014!@#$
password
:
GXfy/2014!@#$
driver-class-name
:
com.kingbase8.Driver
driver-class-name
:
com.kingbase8.Driver
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment