Merge remote-tracking branch 'origin/iipbs/st/dev'
Deploy Frontend / deploy (push) Successful in 3m5s
Deploy Frontend / deploy (push) Successful in 3m5s
This commit is contained in:
@@ -5,6 +5,8 @@ import {
|
||||
type ApiResponse,
|
||||
type cancelSubmitRequest,
|
||||
type cancelSubmitResponse,
|
||||
type CheckStatusCodeRequest,
|
||||
type CheckStatusCodeResponse,
|
||||
type getReviewOpinionDetailRequest,
|
||||
type getReviewOpinionDetailResponse,
|
||||
type ImrRequest,
|
||||
@@ -321,6 +323,14 @@ export class StatisticsApiService implements StatisticsService {
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
public async CheckStatusCode(param: CheckStatusCodeRequest): Promise<CheckStatusCodeResponse> {
|
||||
const response = await stClient.get<CheckStatusCodeResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUTCOMMON}/status-code`,
|
||||
{ params: param },
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
}
|
||||
|
||||
export const statisticsApi = new StatisticsApiService();
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ export interface PublicSewageFacilityItem {
|
||||
fcltSn: number;
|
||||
swtrmtFcltCd: string;
|
||||
swtrmtFcltNm: string;
|
||||
impdFcltPstnCn: string | null;
|
||||
fcltPstnCn: string | null;
|
||||
prcsFcltCpct: number;
|
||||
prcsFcltPhysCpct: number;
|
||||
prcsFcltBoilCpct: number;
|
||||
|
||||
@@ -475,6 +475,17 @@ export interface StatiscicsExceptionResetResponse {
|
||||
message?: string;
|
||||
}
|
||||
|
||||
export interface CheckStatusCodeRequest {
|
||||
statsCd: string;
|
||||
statsYr: string;
|
||||
sewerBzmnCd: string;
|
||||
}
|
||||
|
||||
export interface CheckStatusCodeResponse {
|
||||
status: string;
|
||||
data: string;
|
||||
}
|
||||
|
||||
export interface StatisticsService {
|
||||
getSidoList(params?: { instSeCd?: string }): Promise<ApiResponse<SearchCondition>>;
|
||||
getSggList(sidoName: string, params?: { instSeCd?: string; gugunSkipYn?: "Y" | "N" }): Promise<ApiResponse<Sgg[]>>;
|
||||
@@ -504,4 +515,5 @@ export interface StatisticsService {
|
||||
getReviewerInfo(param: ReviewerInfoRequest): Promise<ReviewerInfoResponse>;
|
||||
getStatiscicsManagementReviewHistory(param: StatiscicsManagementReviewHistoryRequest): Promise<StatiscicsManagementReviewHistoryResponse>;
|
||||
StatiscicsExceptionReset(param: StatiscicsExceptionResetRequest): Promise<StatiscicsExceptionResetResponse>;
|
||||
CheckStatusCode(param: CheckStatusCodeRequest): Promise<CheckStatusCodeResponse>;
|
||||
}
|
||||
Reference in New Issue
Block a user