승인 요청 관리 NPE 수정

This commit is contained in:
Rinjae
2025-09-30 15:44:14 +09:00
parent 3f20673b69
commit fa62357bd3
2 changed files with 6 additions and 3 deletions
@@ -142,6 +142,10 @@ public class PortalApprovalManService extends BaseService {
AppRequest appRequest = optRequest.get();
appApprovalUI.setRequestType(appRequest.getType());
// null 처리 필요
if (appRequest.getApiGroupList() == null || appRequest.getApiGroupList().isEmpty()) {
appRequest.setApiGroupList("");
}
String[] apiGroupList = appRequest.getApiGroupList().split(",");
for (String apiGroupId : apiGroupList) {
apiGroupService.findByIdWithApiList(apiGroupId).ifPresent(apiGroup ->