법인 정보 관리 페이지 수정

This commit is contained in:
Rinjae
2026-01-17 21:02:22 +09:00
parent 76a68bd430
commit 5710f54851
@@ -7,7 +7,7 @@ import com.eactive.eai.rms.common.datasource.DataSourceContextHolder;
import com.eactive.eai.rms.common.datasource.DataSourceType; import com.eactive.eai.rms.common.datasource.DataSourceType;
import com.eactive.eai.rms.common.datasource.DataSourceTypeManager; import com.eactive.eai.rms.common.datasource.DataSourceTypeManager;
import com.eactive.eai.rms.data.entity.onl.apim.portalorg.PortalOrgService; import com.eactive.eai.rms.data.entity.onl.apim.portalorg.PortalOrgService;
import com.eactive.eai.rms.data.entity.onl.eaimsg.EAIMessageRepository; import com.eactive.eai.rms.data.entity.onl.eaimsg.EAIMessageService;
import com.eactive.eai.rms.onl.apim.approval.credential.CredentialManService; import com.eactive.eai.rms.onl.apim.approval.credential.CredentialManService;
import com.eactive.eai.rms.onl.apim.approval.credential.CredentialService; import com.eactive.eai.rms.onl.apim.approval.credential.CredentialService;
import com.eactive.eai.rms.onl.apim.approval.credential.CredentialUI; import com.eactive.eai.rms.onl.apim.approval.credential.CredentialUI;
@@ -42,7 +42,7 @@ public class ClientManService extends OnlBaseService {
private PortalOrgUIMapper portalOrgUIMapper; private PortalOrgUIMapper portalOrgUIMapper;
private CredentialManService credentialManService; private CredentialManService credentialManService;
private CredentialService credentialService; private CredentialService credentialService;
private EAIMessageRepository eaiMessageRepository; private EAIMessageService eaiMessageService;
@Autowired @Autowired
public ClientManService(ClientEntityService clientEntityService, public ClientManService(ClientEntityService clientEntityService,
@@ -51,14 +51,14 @@ public class ClientManService extends OnlBaseService {
PortalOrgUIMapper portalOrgUIMapper, PortalOrgUIMapper portalOrgUIMapper,
CredentialManService credentialManService, CredentialManService credentialManService,
CredentialService credentialService, CredentialService credentialService,
EAIMessageRepository eaiMessageRepository) { EAIMessageService eaiMessageService) {
this.clientEntityService = clientEntityService; this.clientEntityService = clientEntityService;
this.clientUIMapper = clientUIMapper; this.clientUIMapper = clientUIMapper;
this.portalOrgService = portalOrgService; this.portalOrgService = portalOrgService;
this.portalOrgUIMapper = portalOrgUIMapper; this.portalOrgUIMapper = portalOrgUIMapper;
this.credentialManService = credentialManService; this.credentialManService = credentialManService;
this.credentialService = credentialService; this.credentialService = credentialService;
this.eaiMessageRepository = eaiMessageRepository; this.eaiMessageService = eaiMessageService;
} }
@@ -134,7 +134,7 @@ public class ClientManService extends OnlBaseService {
for (EAIMessageEntity apiEntity : clientEntity.getApiList()) { for (EAIMessageEntity apiEntity : clientEntity.getApiList()) {
String eaiSvcName = apiEntity.getEaiSvcName(); String eaiSvcName = apiEntity.getEaiSvcName();
// APIGW에 실제 API 존재하는지 확인 // APIGW에 실제 API 존재하는지 확인
if (!eaiMessageRepository.existsById(eaiSvcName)) { if (!eaiMessageService.existsById(eaiSvcName)) {
invalidApis.add(eaiSvcName); invalidApis.add(eaiSvcName);
} }
} }