|
|
@ -2514,6 +2514,10 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
String clientType = device.getString("client_type");
|
|
|
|
String clientType = device.getString("client_type");
|
|
|
|
deviceSupport.findRegister(clientType);
|
|
|
|
deviceSupport.findRegister(clientType);
|
|
|
|
JSONObject client = clientMapper.findClient(device.getIntValue("client_id"));
|
|
|
|
JSONObject client = clientMapper.findClient(device.getIntValue("client_id"));
|
|
|
|
|
|
|
|
if(!("PINE".equals(client.getString("client_moniker"))
|
|
|
|
|
|
|
|
|| "LEOH".equals(client.getString("client_moniker"))) ){
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
}
|
|
|
|
JSONObject account = clientAccountMapper.findById(device.getString("account_id"));
|
|
|
|
JSONObject account = clientAccountMapper.findById(device.getString("account_id"));
|
|
|
|
|
|
|
|
|
|
|
|
JSONObject authFileStatus = new JSONObject();
|
|
|
|
JSONObject authFileStatus = new JSONObject();
|
|
|
@ -2561,7 +2565,9 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
JSONObject result = new JSONObject();
|
|
|
|
JSONObject result = new JSONObject();
|
|
|
|
boolean lessKycFiles = true;
|
|
|
|
boolean lessKycFiles = true;
|
|
|
|
JSONObject kycFilesAuth = clientComplianceCompanyMapper.findKycFileComplete(client.getIntValue("client_id"));
|
|
|
|
JSONObject kycFilesAuth = clientComplianceCompanyMapper.findKycFileComplete(client.getIntValue("client_id"));
|
|
|
|
if(kycFilesAuth != null){
|
|
|
|
if(kycFilesAuth != null
|
|
|
|
|
|
|
|
|| !("PINE".equals(client.getString("client_moniker"))
|
|
|
|
|
|
|
|
|| "LEOH".equals(client.getString("client_moniker")))){
|
|
|
|
lessKycFiles = false;
|
|
|
|
lessKycFiles = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
result.put("help_confirm", messageSource.getMessage("client.auth.file.help_confirm", null, RequestEnvironment.getLocale()));
|
|
|
|
result.put("help_confirm", messageSource.getMessage("client.auth.file.help_confirm", null, RequestEnvironment.getLocale()));
|
|
|
|