|
|
|
@ -262,7 +262,7 @@ public class RiskBusinessServiceImpl implements RiskBusinessService, ManagerTodo
|
|
|
|
|
royalThreadPoolExecutor.execute(() -> {
|
|
|
|
|
try {
|
|
|
|
|
String emailId = mailService.sendRiskEmail(title, emailsTos.isEmpty() ? "" : StringUtils.join(emailsTos, ","),
|
|
|
|
|
emailsCcs.isEmpty() ? "" : StringUtils.join(emailsCcs, ","), content, null,event.getIntValue("order_type"));
|
|
|
|
|
emailsCcs.isEmpty() ? "" : StringUtils.join(emailsCcs, ","), "",content, null,event.getIntValue("order_type"));
|
|
|
|
|
event.put("email_status",1);
|
|
|
|
|
event.put("result_type", RiskResultTypeEnum.SEND_EMAIL_TO_BD.getResultType());
|
|
|
|
|
event.put("submit_url",uploadUrl);
|
|
|
|
@ -349,7 +349,7 @@ public class RiskBusinessServiceImpl implements RiskBusinessService, ManagerTodo
|
|
|
|
|
royalThreadPoolExecutor.execute(() -> {
|
|
|
|
|
try {
|
|
|
|
|
String emailId = mailService.sendRiskEmail("You need to resubmit risk materials", emailsTos.isEmpty() ? "" : StringUtils.join(emailsTos, ","),
|
|
|
|
|
emailsCcs.isEmpty() ? "" : StringUtils.join(emailsCcs, ","), content, null,event.getIntValue("order_type"));
|
|
|
|
|
emailsCcs.isEmpty() ? "" : StringUtils.join(emailsCcs, ","), "",content, null,event.getIntValue("order_type"));
|
|
|
|
|
event.put("email_status",2);
|
|
|
|
|
event.put("result_type",RiskResultTypeEnum.MATERIAL_NOT_PASS.getResultType());
|
|
|
|
|
event.put("submit_url",uploadUrl);
|
|
|
|
@ -370,7 +370,7 @@ public class RiskBusinessServiceImpl implements RiskBusinessService, ManagerTodo
|
|
|
|
|
royalThreadPoolExecutor.execute(() -> {
|
|
|
|
|
try {
|
|
|
|
|
String emailId = mailService.sendRiskEmail("Please submit risk materials as soon as possible", emailsTos.isEmpty() ? "" : StringUtils.join(emailsTos, ","),
|
|
|
|
|
emailsCcs.isEmpty() ? "" : StringUtils.join(emailsCcs, ","), content, null,event.getIntValue("order_type"));
|
|
|
|
|
emailsCcs.isEmpty() ? "" : StringUtils.join(emailsCcs, ","),"", content, null,event.getIntValue("order_type"));
|
|
|
|
|
event.put("email_status",3);
|
|
|
|
|
riskEventMapper.update(event);
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|