260515_01_ENH: 클라이언트 수정사항 반영 및 다른 조사들 data 연결

This commit is contained in:
2026-05-15 14:36:58 +09:00
parent fcca4a0be7
commit b041a25e47
39 changed files with 1819 additions and 941 deletions

View File

@@ -5,6 +5,10 @@ export const adminQueryKeys = {
export const statisticsQueryKeys = {
all: ["statistics"] as const,
csi: () => [...statisticsQueryKeys.all, "csi"] as const,
divDetail: (divId: string | number) => [...statisticsQueryKeys.all, "div-detail", String(divId)] as const,
summary: (params?: {dt?: string}) =>
[...statisticsQueryKeys.all, "summary", params?.dt ?? ""] as const,
csi: (params?: { pkey?: string; dt?: string }) =>
[...statisticsQueryKeys.all, "csi", params?.pkey ?? "", params?.dt ?? ""] as const,
divDetail: (divId: string | number, params?: { pkey?: string; dt?: string }) =>
[...statisticsQueryKeys.all, "div-detail", String(divId), params?.pkey ?? "", params?.dt ?? ""] as const,
};