Commit 72bcc9cf by chentianzhong

2023年3月31日11:36:38

parent c6a18a59
...@@ -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"));
......
...@@ -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
......
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