|
|
@ -792,18 +792,6 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
logger.error("记录log_client_sub_merchant_id失败", e);
|
|
|
|
logger.error("记录log_client_sub_merchant_id失败", e);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
clientMapper.update(update);
|
|
|
|
clientMapper.update(update);
|
|
|
|
List<JSONObject> children = clientMapper.listChildClients(clientId);
|
|
|
|
|
|
|
|
for (JSONObject child : children) {
|
|
|
|
|
|
|
|
if (Objects.equals(child.getString("rpay_enterprise_id"), originSubMerchantId)) {
|
|
|
|
|
|
|
|
update.put("client_id", child.getIntValue("client_id"));
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
recordSubMerchantLog(child, rpaySubMerchantInfo, manager);
|
|
|
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
|
|
|
logger.error("记录log_client_sub_merchant_id失败", e);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
clientMapper.update(update);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
clientInfoCacheSupport.clearClientCache(clientId);
|
|
|
|
clientInfoCacheSupport.clearClientCache(clientId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|