102 lines
3.1 KiB
TypeScript
102 lines
3.1 KiB
TypeScript
import type { ApiResponse } from "../statistics-interface";
|
|
|
|
export interface StatsInputStatusListRequestParams {
|
|
ctpvNm?: string | null;
|
|
sggNm?: string | null;
|
|
sewerBzmnCd?: string | null;
|
|
statsYr: string;
|
|
statsCd?: string | null;
|
|
/** 지자체 제출 상태 코드 목록 (쿼리스트링 lclgvSbmsnSttsCd=2&lclgvSbmsnSttsCd=3 형태로 전송) */
|
|
lclgvSbmsnSttsCd?: string[] | null;
|
|
}
|
|
|
|
export interface StatsInputStatusList {
|
|
ctpvNm?: string;
|
|
sggNm?: string;
|
|
statsCd?: string;
|
|
sewerBzmnCd?: string;
|
|
menuTabName?: string;
|
|
lclgvSbmsnSttsNm?: string;
|
|
lclgvSbmsnSttsCd?: string;
|
|
lclgvPicNm?: string;
|
|
lclgvPicTelnoCn?: string;
|
|
lclgvKbrdrDeptNm?: string;
|
|
lclgvKbrdrJbgdNm?: string;
|
|
lclgvIdfrNm?: string;
|
|
lclgvIdfrDeptNm?: string;
|
|
lclgvIdfrJbgdNm?: string;
|
|
rjctOpnnCn?: string;
|
|
}
|
|
|
|
export type StatsInputStatusListApiResponse = ApiResponse<
|
|
StatsInputStatusList[]
|
|
> & {
|
|
message: string;
|
|
};
|
|
|
|
/** 통계 검증 리포트 RequestDto */
|
|
export interface ReportSearchRequestDto {
|
|
sewerBzmnCd?: string | null;
|
|
ctpvNm?: string | null;
|
|
sggNm?: string | null;
|
|
statsYr: string;
|
|
statsCd?: string | null;
|
|
/** 공단 상태 코드 (0:미작성, 1:작성중, 2:제출, 3:승인, 4:반려, 5:검토중) */
|
|
pbcpSbmsnSttsCd?: string | null;
|
|
}
|
|
|
|
/** 통계 검증 리포트 현황 조회 ResponseDto */
|
|
export interface ReportStatusResponseDto {
|
|
ctpvNm?: string | null;
|
|
sggNm?: string | null;
|
|
sewerBzmnCd?: string | null;
|
|
statsCd?: string | null;
|
|
menuTabName?: string | null;
|
|
lclgvSbmsnSttsCd?: string | null;
|
|
lclgvSbmsnSttsNm?: string | null;
|
|
lclgvSbmsnYmd?: string | null;
|
|
mctpvPicSbmsnSttsCd?: string | null;
|
|
mctpvPicSbmsnSttsNm?: string | null;
|
|
ctpvSbmsnYmd?: string | null;
|
|
pbcpSbmsnSttsCd?: string | null;
|
|
pbcpSbmsnSttsNm?: string | null;
|
|
pbcpCfmtnYmd?: string | null;
|
|
lclgvPicNm?: string | null;
|
|
lclgvPicTelnoCn?: string | null;
|
|
lclgvKbrdrDeptNm?: string | null;
|
|
lclgvKbrdrJbgdNm?: string | null;
|
|
lclgvIdfrNm?: string | null;
|
|
lclgvIdfrTelnoCn?: string | null;
|
|
lclgvIdfrDeptNm?: string | null;
|
|
lclgvIdfrJbgdNm?: string | null;
|
|
mctpvIdfrNm?: string | null;
|
|
mctpvIdfrTelnoCn?: string | null;
|
|
mctpvIdfrDeptNm?: string | null;
|
|
mctpvIdfrJbgdNm?: string | null;
|
|
pbcpPicNm?: string | null;
|
|
pbcpPicTelnoCn?: string | null;
|
|
rvwrDeptNm?: string | null;
|
|
rvwrJbgdNm?: string | null;
|
|
lastCfmtnPicNm?: string | null;
|
|
lastCfmtnPicTelnoCn?: string | null;
|
|
lastCfmtnPicDeptNm?: string | null;
|
|
lastCfmtnPicJbgdNm?: string | null;
|
|
splmntOpnnCn?: string | null;
|
|
rjctOpnnCn?: string | null;
|
|
}
|
|
|
|
export type ReportStatusListApiResponse = ApiResponse<
|
|
ReportStatusResponseDto[]
|
|
> & {
|
|
message: string;
|
|
};
|
|
|
|
export interface StatisticsInputStatusService {
|
|
getStatisticsInputStatusList(
|
|
param: StatsInputStatusListRequestParams,
|
|
): Promise<StatsInputStatusListApiResponse>;
|
|
getStatsValidationReport(
|
|
request: ReportSearchRequestDto,
|
|
): Promise<ReportStatusListApiResponse>;
|
|
}
|