승인 요청 관리 NPE 수정
This commit is contained in:
@@ -92,10 +92,9 @@
|
||||
<!-- schema 를 설정 하지 않으면 RoutingDataSource에 의해 각 설정에 맞는 DB에 접근 한다. -->
|
||||
<prop key="hibernate.hbm2ddl.auto">none</prop>
|
||||
<prop key="hibernate.format_sql">true</prop>
|
||||
<prop key="hibernate.show_sql">true</prop>
|
||||
<prop key="hibernate.show_sql">false</prop> <!-- true 할경우 STDOUT 출력이 강제됨 -->
|
||||
<prop key="hibernate.type">trace</prop>
|
||||
<prop key="hibernate.dialect">${hibernate.dialect:org.hibernate.dialect.Oracle12cDialect}
|
||||
</prop>
|
||||
<prop key="hibernate.dialect">${hibernate.dialect:org.hibernate.dialect.Oracle12cDialect}</prop>
|
||||
<prop key="hibernate.jdbc.batch_size">100</prop>
|
||||
<prop key="hibernate.jdbc.fetch_size">100</prop>
|
||||
|
||||
|
||||
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user