|
|
|
@ -741,7 +741,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
throw new BadRequestException("Email validating... Wait for a moment");
|
|
|
|
|
}
|
|
|
|
|
int clientId = client.getIntValue("client_id");
|
|
|
|
|
clientModifySupport.processClientConfigModify(new EmailModify(manager, clientMoniker, 4, null));
|
|
|
|
|
clientModifySupport.processClientModify(new EmailModify(manager, clientMoniker, 4, null));
|
|
|
|
|
if (ManagerRole.BD_USER.hasRole(manager.getIntValue("role"))) {
|
|
|
|
|
int checkBDPermission = clientBDMapper.checkBDPermission(clientId, manager.getString("manager_id"));
|
|
|
|
|
if (checkBDPermission <= 0) {
|
|
|
|
@ -802,9 +802,9 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
try {
|
|
|
|
|
String emailId = mailService.sendEmail("Your RoyalPay Cross-border Payment has been set up", mailTo,
|
|
|
|
|
emails.isEmpty() ? "" : StringUtils.join(emails, ","), content);
|
|
|
|
|
clientModifySupport.processClientConfigModify(new EmailModify(account, client.getString("client_moniker"), 3, emailId));
|
|
|
|
|
clientModifySupport.processClientModify(new EmailModify(account, client.getString("client_moniker"), 3, emailId));
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
clientModifySupport.processClientConfigModify(new EmailModify(account, client.getString("client_moniker"), 0, null));
|
|
|
|
|
clientModifySupport.processClientModify(new EmailModify(account, client.getString("client_moniker"), 0, null));
|
|
|
|
|
throw new EmailException("Email Sending Failed", e);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -849,7 +849,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
try {
|
|
|
|
|
String emailId = mailService.sendEmail("Your Partner Account Has Been Authenticated Successfully", mailTo,
|
|
|
|
|
emails.isEmpty() ? "" : StringUtils.join(emails, ","), content);
|
|
|
|
|
clientModifySupport.processClientConfigModify(new EmailModify(account, client.getString("client_moniker"), 3, emailId));
|
|
|
|
|
clientModifySupport.processClientModify(new EmailModify(account, client.getString("client_moniker"), 3, emailId));
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
throw new EmailException("Email Sending Failed", e);
|
|
|
|
|
}
|
|
|
|
@ -894,7 +894,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
mailStatus = 2;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
updateClientApproveEmailStatus(mailStatus, null, null);
|
|
|
|
|
updateClientApproveEmailStatus(mailStatus, null, client.getString("client_moniker"));
|
|
|
|
|
} else {
|
|
|
|
|
logger.debug("get mail status:" + emailId + "-- none");
|
|
|
|
|
// updateClientApproveEmailStatus(client.getIntValue("client_id"), 0);
|
|
|
|
@ -2767,7 +2767,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
if (open_status == 1) {
|
|
|
|
|
auditModify.setOpen_status(null);
|
|
|
|
|
} else {
|
|
|
|
|
auditModify.setOpen_status(-1);
|
|
|
|
|
auditModify.setOpen_status(open_status - 1);
|
|
|
|
|
}
|
|
|
|
|
if(client.getInteger("approve_result")==null || client.getIntValue("approve_result")==4){
|
|
|
|
|
auditModify.setApprove_result(5);
|
|
|
|
|