대시보드 상세통계 추가
eapim-admin CI / build (push) Waiting to run

This commit is contained in:
eastargh
2026-07-24 09:32:39 +09:00
parent 26679cf649
commit 6c70d9611b
2 changed files with 28 additions and 19 deletions
@@ -634,7 +634,17 @@
<div id="pagerSummary"></div> <div id="pagerSummary"></div>
</div> </div>
<!-- 상세 그리드 -->
<div style="margin-top: 20px;">
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;">
<div class="title" style="margin: 0;">상세 통계</div>
<button type="button" class="cssbtn" id="btn_excel_export" level="R">
<i class="material-icons">file_download</i> Excel 다운로드 (상세)
</button>
</div>
<table id="grid"></table>
<div id="pager"></div>
</div>
</div> </div>
</div> </div>
</body> </body>
@@ -85,14 +85,14 @@ public class WebhookReceiveService {
log.info("[Webhook] 이벤트 처리 시작 - eventType: {}", eventType); log.info("[Webhook] 이벤트 처리 시작 - eventType: {}", eventType);
switch (eventType) { switch (eventType) {
case "ORDER_CREATED": case "CONTROL_START":
handleOrderCreated(data); handleControlStart(data);
break; break;
case "ORDER_CANCELLED": case "CONTROL_END":
handleOrderCancelled(data); handleControlEnd(data);
break; break;
case "PAYMENT_COMPLETED": case "ERROR_START":
handlePaymentCompleted(data); handleErrorStart(data);
break; break;
default: default:
log.warn("[Webhook] 처리되지 않은 이벤트 - eventType: {}", eventType); log.warn("[Webhook] 처리되지 않은 이벤트 - eventType: {}", eventType);
@@ -106,20 +106,19 @@ public class WebhookReceiveService {
/* 이벤트별 핸들러 (비즈니스 로직 구현) */ /* 이벤트별 핸들러 (비즈니스 로직 구현) */
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */
private void handleOrderCreated(JsonNode data) { private void handleControlStart(JsonNode data) {
log.info("[Webhook] ORDER_CREATED 처리 - data: {}", data); log.info("[Webhook] CONTROL_START 처리 - data: {}", data);
// TODO: 주문 생성 처리 로직 // TODO: 점검시작 처리 로직
}
private void handleControlEnd(JsonNode data) {
log.info("[Webhook] CONTROL_END 처리 - data: {}", data);
// TODO: 점검종료 처리 로직
}
private void handleErrorStart(JsonNode data) {
log.info("[Webhook] ERROR_START 처리 - data: {}", data);
// TODO: 장애시작 처리 로직
} }
private void handleOrderCancelled(JsonNode data) {
log.info("[Webhook] ORDER_CANCELLED 처리 - data: {}", data);
// TODO: 주문 취소 처리 로직
}
private void handlePaymentCompleted(JsonNode data) {
log.info("[Webhook] PAYMENT_COMPLETED 처리 - data: {}", data);
// TODO: 결제 완료 처리 로직
}
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */
/* 공통 유틸 */ /* 공통 유틸 */