[st] - 입력단 메뉴 작업중
This commit is contained in:
+166
@@ -0,0 +1,166 @@
|
||||
import type { ApiResponse, SewerageStatusInfo } from "../statistics-interface";
|
||||
|
||||
/** 분뇨처리시설(ST00070001) — `ExcretaTreatFactInpColumn` */
|
||||
export const EXCRETA_TREATMENT_FACILITY_STATS_CD = "ST00070001" as const;
|
||||
|
||||
/** 검증 결과 한 건 */
|
||||
export interface ExcretaTreatmentFacilityVerificationResultItem {
|
||||
vrfcCd: string;
|
||||
rsnExpln: string;
|
||||
nowVlCn: string;
|
||||
compVlCn: string;
|
||||
}
|
||||
|
||||
/** 필드명 → 검증 결과 배열 */
|
||||
export type ExcretaTreatmentFacilityVerificationResult = Record<
|
||||
string,
|
||||
ExcretaTreatmentFacilityVerificationResultItem[]
|
||||
>;
|
||||
|
||||
/** 분뇨처리시설 조회 `data.commonInfo` */
|
||||
export interface ExcretaTreatmentFacilityCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: ExcretaTreatmentFacilityVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* 분뇨처리시설 조회 `data.excretaTreatmentFacilityList[]` 한 행.
|
||||
* `ExcretaTreatFactInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface ExcretaTreatmentFacilityItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
fcltSn: string;
|
||||
fcltNm: string;
|
||||
fcltPstnCn: string;
|
||||
telNo: string;
|
||||
cmptnStrtYmd: string;
|
||||
oprtngStrtYmd: string;
|
||||
wholPjtcoAmt: number;
|
||||
prcsFcltCpct: number;
|
||||
cpct: number;
|
||||
oprtngDayCnt: number;
|
||||
prcsMthdExpln: string;
|
||||
linkTmplntCn: string;
|
||||
linkPrcsQnt: number;
|
||||
inflwBodWqVl: number;
|
||||
inflwTocWqVl: number;
|
||||
inflwSsWqVl: number;
|
||||
inflwTnWqVl: number;
|
||||
inflwTpWqVl: number;
|
||||
inflwClfgCnt: number;
|
||||
dschgBodWqVl: number;
|
||||
dschgTocWqVl: number;
|
||||
dschgSsWqVl: number;
|
||||
dschgTnWqVl: number;
|
||||
dschgTpWqVl: number;
|
||||
dschgClfgCnt: number;
|
||||
wtsysNm: string;
|
||||
trbtrNm: string;
|
||||
msirbCn: string;
|
||||
ssirbCn: string;
|
||||
operMthdCdCn: string;
|
||||
wholNope: number;
|
||||
sftyAcdntEvntcsCnt: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: ExcretaTreatmentFacilityVerificationResult;
|
||||
}
|
||||
|
||||
export interface ExcretaTreatmentFacilityResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: ExcretaTreatmentFacilityCommonInfo;
|
||||
excretaTreatmentFacilityList: ExcretaTreatmentFacilityItem[];
|
||||
}
|
||||
|
||||
export type ExcretaTreatmentFacilityApiResponse =
|
||||
ApiResponse<ExcretaTreatmentFacilityResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** 분뇨처리시설(ST00070001) 조회 요청 파라미터 */
|
||||
export interface ExcretaTreatmentFacilityRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
fcltNm?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 분뇨처리시설(ST00070001) 저장 — `saveList` / `deleteList` 항목.
|
||||
* `sggNm`·검증결과는 저장 요청에서 제외.
|
||||
*/
|
||||
export type ExcretaTreatmentFacilitySaveItem = Omit<
|
||||
ExcretaTreatmentFacilityItem,
|
||||
"sggNm" | "verificationResult"
|
||||
>;
|
||||
|
||||
/** 분뇨처리시설(ST00070001) 저장 API 요청 */
|
||||
export interface ExcretaTreatmentFacilitySaveRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
saveList: ExcretaTreatmentFacilitySaveItem[];
|
||||
deleteList: ExcretaTreatmentFacilitySaveItem[];
|
||||
}
|
||||
|
||||
export interface ExcretaTreatmentFacilitySaveResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: string;
|
||||
}
|
||||
|
||||
export type ExcretaTreatmentFacilitySubmitItem = ExcretaTreatmentFacilitySaveItem;
|
||||
|
||||
/** 분뇨처리시설(ST00070001) 제출 API 요청 */
|
||||
export interface ExcretaTreatmentFacilitySubmitRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
|
||||
laePicNm: string;
|
||||
laePicTelNo: string;
|
||||
laeKbrdrDeptNm: string;
|
||||
laeKbrdrJbgdNm: string;
|
||||
laeIdfrNm: string;
|
||||
laeIdfrTelNo: string;
|
||||
laeIdfrDeptNm: string;
|
||||
laeIdfrJbgdNm: string;
|
||||
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
submitList: ExcretaTreatmentFacilitySubmitItem[];
|
||||
deleteList: ExcretaTreatmentFacilitySubmitItem[];
|
||||
}
|
||||
|
||||
export interface ExcretaTreatmentFacilitySubmitResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: {
|
||||
finalStatus: string;
|
||||
nvpassed: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
export interface StatisticsInputExcretaTreatmentFacilityService {
|
||||
getExcretaTreatmentFacilityList(
|
||||
params: ExcretaTreatmentFacilityRequestParams,
|
||||
): Promise<ExcretaTreatmentFacilityApiResponse>;
|
||||
saveExcretaTreatmentFacilityList(
|
||||
request: ExcretaTreatmentFacilitySaveRequest,
|
||||
): Promise<ExcretaTreatmentFacilitySaveResponse>;
|
||||
submitExcretaTreatmentFacilityList(
|
||||
request: ExcretaTreatmentFacilitySubmitRequest,
|
||||
): Promise<ExcretaTreatmentFacilitySubmitResponse>;
|
||||
}
|
||||
+453
@@ -0,0 +1,453 @@
|
||||
import type { ApiResponse, SewerageStatusInfo } from "../statistics-interface";
|
||||
|
||||
/** 처리용량별 오수처리시설 현황(ST00080001) — `SewageTreatFactStatusInpColumn.tabKey` */
|
||||
export const SEWAGE_TREAT_FACT_STATUS_STATS_CD = "ST00080001" as const;
|
||||
|
||||
/** 검증 결과 한 건 */
|
||||
export interface PrivateSewageFacilityVerificationResultItem {
|
||||
vrfcCd: string;
|
||||
rsnExpln: string;
|
||||
nowVlCn: string;
|
||||
compVlCn: string;
|
||||
}
|
||||
|
||||
/** 필드명 → 검증 결과 배열 */
|
||||
export type PrivateSewageFacilityVerificationResult = Record<
|
||||
string,
|
||||
PrivateSewageFacilityVerificationResultItem[]
|
||||
>;
|
||||
|
||||
/** ST00080001 조회 `data.commonInfo` */
|
||||
export interface SewageTreatFactStatusCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: PrivateSewageFacilityVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00080001 조회 `data.sewageTreatFactStatusList[]` 한 행.
|
||||
* `SewageTreatFactStatusInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface SewageTreatFactStatusItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
wholDrtwPrcsFcltCnt: number;
|
||||
wholStaaCnt: number;
|
||||
step1StaaPrcsQnt: number;
|
||||
step2StaaPrcsQnt: number;
|
||||
step3StaaPrcsQnt: number;
|
||||
step4StaaPrcsQnt: number;
|
||||
step5StaaPrcsQnt: number;
|
||||
step6StaaPrcsQnt: number;
|
||||
step7StaaPrcsQnt: number;
|
||||
staaExcpWhol: number;
|
||||
step1StaaExcpPrcsQnt: number;
|
||||
step2StaaExcpPrcsQnt: number;
|
||||
step3StaaExcpPrcsQnt: number;
|
||||
step4StaaExcpPrcsQnt: number;
|
||||
step5StaaExcpPrcsQnt: number;
|
||||
step6StaaExcpPrcsQnt: number;
|
||||
step7StaaExcpPrcsQnt: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: PrivateSewageFacilityVerificationResult;
|
||||
}
|
||||
|
||||
export interface SewageTreatFactStatusResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: SewageTreatFactStatusCommonInfo;
|
||||
sewageTreatFactStatusList: SewageTreatFactStatusItem[];
|
||||
}
|
||||
|
||||
export type SewageTreatFactStatusApiResponse = ApiResponse<SewageTreatFactStatusResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** ST00080001 조회 요청 파라미터 */
|
||||
export interface SewageTreatFactStatusRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
}
|
||||
|
||||
/** 정화조 현황(ST00080002) — `SepticTankStatusInpColumn.tabKey` */
|
||||
export const SEPTIC_TANK_STATUS_STATS_CD = "ST00080002" as const;
|
||||
|
||||
/** ST00080002 조회 `data.commonInfo` */
|
||||
export interface SepticTankStatusCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: PrivateSewageFacilityVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00080002 조회 `data.septicTankStatusList[]` 한 행.
|
||||
* `SepticTankStatusInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface SepticTankStatusItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
grssFcltCnt: number;
|
||||
staaInsdWhol: number;
|
||||
staaInsdPrcsMthByWhol: number;
|
||||
staaInsdSttkNprsflCnt: number;
|
||||
step1StaaInsdSttkFrcCnt: number;
|
||||
staaInsdSprktpFltrtbCnt: number;
|
||||
staaInsdAertMthdCnt: number;
|
||||
staaInsdCntcAertCnt: number;
|
||||
staaInsdEtcCnt: number;
|
||||
staaInsdPrcsCpctByWhol: number;
|
||||
step1StaaInsdNope: number;
|
||||
step2StaaInsdNope: number;
|
||||
step3StaaInsdNope: number;
|
||||
step4StaaInsdNope: number;
|
||||
step5StaaInsdNope: number;
|
||||
step6StaaInsdNope: number;
|
||||
step7StaaInsdNope: number;
|
||||
step8StaaInsdNope: number;
|
||||
staaExcpWhol: number;
|
||||
staaExcpPrcsMthByWhol: number;
|
||||
staaExcpSttkNprsflCnt: number;
|
||||
step1StaaExcpSttkFrcCnt: number;
|
||||
staaExcpSprktpFltrtbCnt: number;
|
||||
staaExcpAertMthdCnt: number;
|
||||
staaExcpCntcAertCnt: number;
|
||||
staaExcpEtcCnt: number;
|
||||
staaExcpPrcsCpctByWhol: number;
|
||||
step1StaaExcpNope: number;
|
||||
step2StaaExcpNope: number;
|
||||
step3StaaExcpNope: number;
|
||||
step4StaaExcpNope: number;
|
||||
step5StaaExcpNope: number;
|
||||
step6StaaExcpNope: number;
|
||||
step7StaaExcpNope: number;
|
||||
step8StaaExcpNope: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: PrivateSewageFacilityVerificationResult;
|
||||
}
|
||||
|
||||
export interface SepticTankStatusResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: SepticTankStatusCommonInfo;
|
||||
septicTankStatusList: SepticTankStatusItem[];
|
||||
}
|
||||
|
||||
export type SepticTankStatusApiResponse = ApiResponse<SepticTankStatusResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** ST00080002 조회 요청 파라미터 */
|
||||
export interface SepticTankStatusRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
}
|
||||
|
||||
/** 개인하수도 관리지역 지정공고 현황(ST00080003) — `PrivateSewageDesigStatusInpColumn` */
|
||||
export const PRIVATE_SEWAGE_DESIG_STATUS_STATS_CD = "ST00080003" as const;
|
||||
|
||||
/** ST00080003 조회 `data.commonInfo` */
|
||||
export interface PrivateSewageDesigStatusCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: PrivateSewageFacilityVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00080003 조회 `data.privateSewageDesigStatusList[]` 한 행.
|
||||
* `PrivateSewageDesigStatusInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface PrivateSewageDesigStatusItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
indvSwagePbancRgnCnt: number;
|
||||
indvSwageDsgnScpLen: number;
|
||||
spctnkGrssFcltCnt: number;
|
||||
spctnkQnt: number;
|
||||
drtwPrcsFcltGrssFcltCnt: number;
|
||||
drtwPrcsFcltQnt: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: PrivateSewageFacilityVerificationResult;
|
||||
}
|
||||
|
||||
export interface PrivateSewageDesigStatusResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: PrivateSewageDesigStatusCommonInfo;
|
||||
privateSewageDesigStatusList: PrivateSewageDesigStatusItem[];
|
||||
}
|
||||
|
||||
export type PrivateSewageDesigStatusApiResponse =
|
||||
ApiResponse<PrivateSewageDesigStatusResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** ST00080003 조회 요청 파라미터 */
|
||||
export interface PrivateSewageDesigStatusRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00080001 저장·제출 API `saveList` / `submitList` 한 행.
|
||||
* `sggNm`·계산필드(`wholDrtwPrcsFcltCnt`, `wholStaaCnt`, `staaExcpWhol`)·검증결과는 제외.
|
||||
*/
|
||||
export interface SewageTreatFactStatusSaveItem {
|
||||
admdstCd: string;
|
||||
admdstNm: string;
|
||||
step1StaaPrcsQnt: number;
|
||||
step2StaaPrcsQnt: number;
|
||||
step3StaaPrcsQnt: number;
|
||||
step4StaaPrcsQnt: number;
|
||||
step5StaaPrcsQnt: number;
|
||||
step6StaaPrcsQnt: number;
|
||||
step7StaaPrcsQnt: number;
|
||||
step1StaaExcpPrcsQnt: number;
|
||||
step2StaaExcpPrcsQnt: number;
|
||||
step3StaaExcpPrcsQnt: number;
|
||||
step4StaaExcpPrcsQnt: number;
|
||||
step5StaaExcpPrcsQnt: number;
|
||||
step6StaaExcpPrcsQnt: number;
|
||||
step7StaaExcpPrcsQnt: number;
|
||||
rmrk: string | null;
|
||||
}
|
||||
|
||||
/** ST00080001 저장 API 요청 */
|
||||
export interface SewageTreatFactStatusSaveRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
saveList: SewageTreatFactStatusSaveItem[];
|
||||
}
|
||||
|
||||
export interface SewageTreatFactStatusSaveResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: string;
|
||||
}
|
||||
|
||||
/** ST00080001 제출 API 요청 */
|
||||
export interface SewageTreatFactStatusSubmitRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
laePicNm: string;
|
||||
laePicTelNo: string;
|
||||
laeKbrdrDeptNm: string;
|
||||
laeKbrdrJbgdNm: string;
|
||||
laeIdfrNm: string;
|
||||
laeIdfrTelNo: string;
|
||||
laeIdfrDeptNm: string;
|
||||
laeIdfrJbgdNm: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
submitList: SewageTreatFactStatusSaveItem[];
|
||||
}
|
||||
|
||||
export interface SewageTreatFactStatusSubmitResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: {
|
||||
finalStatus: string;
|
||||
nvpassed: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00080002 저장·제출 API `saveList` / `submitList` 한 행.
|
||||
* `sggNm`·계산필드(`grssFcltCnt`, `staaInsdWhol`, `staaInsdPrcsMthByWhol`, `staaInsdPrcsCpctByWhol`,
|
||||
* `staaExcpWhol`, `staaExcpPrcsMthByWhol`, `staaExcpPrcsCpctByWhol`)·검증결과는 제외.
|
||||
*/
|
||||
export interface SepticTankStatusSaveItem {
|
||||
admdstCd: string;
|
||||
admdstNm: string;
|
||||
staaInsdSttkNprsflCnt: number;
|
||||
step1StaaInsdSttkFrcCnt: number;
|
||||
staaInsdSprktpFltrtbCnt: number;
|
||||
staaInsdAertMthdCnt: number;
|
||||
staaInsdCntcAertCnt: number;
|
||||
staaInsdEtcCnt: number;
|
||||
step1StaaInsdNope: number;
|
||||
step2StaaInsdNope: number;
|
||||
step3StaaInsdNope: number;
|
||||
step4StaaInsdNope: number;
|
||||
step5StaaInsdNope: number;
|
||||
step6StaaInsdNope: number;
|
||||
step7StaaInsdNope: number;
|
||||
step8StaaInsdNope: number;
|
||||
staaExcpSttkNprsflCnt: number;
|
||||
step1StaaExcpSttkFrcCnt: number;
|
||||
staaExcpSprktpFltrtbCnt: number;
|
||||
staaExcpAertMthdCnt: number;
|
||||
staaExcpCntcAertCnt: number;
|
||||
staaExcpEtcCnt: number;
|
||||
step1StaaExcpNope: number;
|
||||
step2StaaExcpNope: number;
|
||||
step3StaaExcpNope: number;
|
||||
step4StaaExcpNope: number;
|
||||
step5StaaExcpNope: number;
|
||||
step6StaaExcpNope: number;
|
||||
step7StaaExcpNope: number;
|
||||
step8StaaExcpNope: number;
|
||||
rmrk: string | null;
|
||||
}
|
||||
|
||||
/** ST00080002 저장 API 요청 */
|
||||
export interface SepticTankStatusSaveRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
saveList: SepticTankStatusSaveItem[];
|
||||
}
|
||||
|
||||
export interface SepticTankStatusSaveResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: string;
|
||||
}
|
||||
|
||||
/** ST00080002 제출 API 요청 */
|
||||
export interface SepticTankStatusSubmitRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
laePicNm: string;
|
||||
laePicTelNo: string;
|
||||
laeKbrdrDeptNm: string;
|
||||
laeKbrdrJbgdNm: string;
|
||||
laeIdfrNm: string;
|
||||
laeIdfrTelNo: string;
|
||||
laeIdfrDeptNm: string;
|
||||
laeIdfrJbgdNm: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
submitList: SepticTankStatusSaveItem[];
|
||||
}
|
||||
|
||||
export interface SepticTankStatusSubmitResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: {
|
||||
finalStatus: string;
|
||||
nvpassed: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00080003 저장·제출 API `saveList` / `submitList` 한 행.
|
||||
* `sggNm`·검증결과는 제외.
|
||||
*/
|
||||
export interface PrivateSewageDesigStatusSaveItem {
|
||||
admdstCd: string;
|
||||
admdstNm: string;
|
||||
indvSwagePbancRgnCnt: number;
|
||||
indvSwageDsgnScpLen: number;
|
||||
spctnkGrssFcltCnt: number;
|
||||
spctnkQnt: number;
|
||||
drtwPrcsFcltGrssFcltCnt: number;
|
||||
drtwPrcsFcltQnt: number;
|
||||
rmrk: string | null;
|
||||
}
|
||||
|
||||
/** ST00080003 저장 API 요청 */
|
||||
export interface PrivateSewageDesigStatusSaveRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
saveList: PrivateSewageDesigStatusSaveItem[];
|
||||
}
|
||||
|
||||
export interface PrivateSewageDesigStatusSaveResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: string;
|
||||
}
|
||||
|
||||
/** ST00080003 제출 API 요청 */
|
||||
export interface PrivateSewageDesigStatusSubmitRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
laePicNm: string;
|
||||
laePicTelNo: string;
|
||||
laeKbrdrDeptNm: string;
|
||||
laeKbrdrJbgdNm: string;
|
||||
laeIdfrNm: string;
|
||||
laeIdfrTelNo: string;
|
||||
laeIdfrDeptNm: string;
|
||||
laeIdfrJbgdNm: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
submitList: PrivateSewageDesigStatusSaveItem[];
|
||||
}
|
||||
|
||||
export interface PrivateSewageDesigStatusSubmitResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: {
|
||||
finalStatus: string;
|
||||
nvpassed: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
export interface StatisticsInputPrivateSewageFacilityService {
|
||||
getSewageTreatFactStatusList(
|
||||
params: SewageTreatFactStatusRequestParams,
|
||||
): Promise<SewageTreatFactStatusApiResponse>;
|
||||
saveSewageTreatFactStatus(
|
||||
request: SewageTreatFactStatusSaveRequest,
|
||||
): Promise<SewageTreatFactStatusSaveResponse>;
|
||||
submitSewageTreatFactStatus(
|
||||
request: SewageTreatFactStatusSubmitRequest,
|
||||
): Promise<SewageTreatFactStatusSubmitResponse>;
|
||||
getSepticTankStatusList(
|
||||
params: SepticTankStatusRequestParams,
|
||||
): Promise<SepticTankStatusApiResponse>;
|
||||
saveSepticTankStatus(
|
||||
request: SepticTankStatusSaveRequest,
|
||||
): Promise<SepticTankStatusSaveResponse>;
|
||||
submitSepticTankStatus(
|
||||
request: SepticTankStatusSubmitRequest,
|
||||
): Promise<SepticTankStatusSubmitResponse>;
|
||||
getPrivateSewageDesigStatusList(
|
||||
params: PrivateSewageDesigStatusRequestParams,
|
||||
): Promise<PrivateSewageDesigStatusApiResponse>;
|
||||
savePrivateSewageDesigStatus(
|
||||
request: PrivateSewageDesigStatusSaveRequest,
|
||||
): Promise<PrivateSewageDesigStatusSaveResponse>;
|
||||
submitPrivateSewageDesigStatus(
|
||||
request: PrivateSewageDesigStatusSubmitRequest,
|
||||
): Promise<PrivateSewageDesigStatusSubmitResponse>;
|
||||
}
|
||||
+174
@@ -0,0 +1,174 @@
|
||||
import type { ApiResponse, SewerageStatusInfo } from "../statistics-interface";
|
||||
|
||||
/** 펌프장(ST00050001) — `PumpingStationInpColumn` tabKey */
|
||||
export const PUMPING_STATION_STATS_CD = "ST00050001" as const;
|
||||
|
||||
/** 검증 결과 한 건 */
|
||||
export interface PumpingStationVerificationResultItem {
|
||||
vrfcCd: string;
|
||||
rsnExpln: string;
|
||||
nowVlCn: string;
|
||||
compVlCn: string;
|
||||
}
|
||||
|
||||
/** 필드명 → 검증 결과 배열 */
|
||||
export type PumpingStationVerificationResult = Record<
|
||||
string,
|
||||
PumpingStationVerificationResultItem[]
|
||||
>;
|
||||
|
||||
/** 펌프장 조회 `data.commonInfo` */
|
||||
export interface PumpingStationCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: PumpingStationVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* 펌프장 조회 `data.pumpingStationList[]` 한 행.
|
||||
* `PumpingStationInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface PumpingStationItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
fcltSn: string;
|
||||
swtrmtFcltNm: string;
|
||||
fcltNm: string;
|
||||
pumpSeNm: string;
|
||||
fcltPstnCn: string;
|
||||
oprtngStrtYmd: string;
|
||||
planMltvArea: number;
|
||||
sndyArea: number;
|
||||
rainArea: number;
|
||||
exlnQnt: number;
|
||||
drtwPumpGrssPpqty: number;
|
||||
drtwPumpN1DmtrArea: number;
|
||||
drtwPumpN1Ppqty: number;
|
||||
drtwPumpN1Cnt: number;
|
||||
drtwPumpN1RsrvCnt: number;
|
||||
drtwPumpN2DmtrArea: number;
|
||||
drtwPumpN2Ppqty: number;
|
||||
drtwPumpN2Cnt: number;
|
||||
drtwPumpN2RsrvCnt: number;
|
||||
drtwPumpN3DmtrArea: number;
|
||||
drtwPumpN3Ppqty: number;
|
||||
drtwPumpN3Cnt: number;
|
||||
drtwPumpN3RsrvCnt: number;
|
||||
exlnPumpGrssPpqty: number;
|
||||
exlnPumpN1DmtrArea: number;
|
||||
exlnPumpN1Ppqty: number;
|
||||
exlnPumpN1Cnt: number;
|
||||
exlnPumpN1RsrvCnt: number;
|
||||
exlnPumpN2DmtrArea: number;
|
||||
exlnPumpN2Ppqty: number;
|
||||
exlnPumpN2Cnt: number;
|
||||
exlnPumpN2RsrvCnt: number;
|
||||
exlnPumpN3DmtrArea: number;
|
||||
exlnPumpN3Ppqty: number;
|
||||
exlnPumpN3Cnt: number;
|
||||
exlnPumpN3RsrvCnt: number;
|
||||
anlElpwrUseQnt: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: PumpingStationVerificationResult;
|
||||
}
|
||||
|
||||
export interface PumpingStationResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: PumpingStationCommonInfo;
|
||||
pumpingStationList: PumpingStationItem[];
|
||||
}
|
||||
|
||||
export type PumpingStationApiResponse = ApiResponse<PumpingStationResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** 펌프장(ST00050001) 조회 요청 파라미터 */
|
||||
export interface PumpingStationRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
fcltNm?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 펌프장(ST00050001) 저장 — `saveList` / `deleteList` 항목.
|
||||
* `sggNm`·계산필드·검증결과는 저장 요청에서 제외.
|
||||
*/
|
||||
export type PumpingStationSaveItem = Omit<
|
||||
PumpingStationItem,
|
||||
| "sggNm"
|
||||
| "verificationResult"
|
||||
| "exlnQnt"
|
||||
| "drtwPumpGrssPpqty"
|
||||
| "exlnPumpGrssPpqty"
|
||||
>;
|
||||
|
||||
/** 펌프장(ST00050001) 저장 API 요청 */
|
||||
export interface PumpingStationSaveRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
saveList: PumpingStationSaveItem[];
|
||||
deleteList: PumpingStationSaveItem[];
|
||||
}
|
||||
|
||||
export interface PumpingStationSaveResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: string;
|
||||
}
|
||||
|
||||
export type PumpingStationSubmitItem = PumpingStationSaveItem;
|
||||
|
||||
/** 펌프장(ST00050001) 제출 API 요청 */
|
||||
export interface PumpingStationSubmitRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
|
||||
laePicNm: string;
|
||||
laePicTelNo: string;
|
||||
laeKbrdrDeptNm: string;
|
||||
laeKbrdrJbgdNm: string;
|
||||
laeIdfrNm: string;
|
||||
laeIdfrTelNo: string;
|
||||
laeIdfrDeptNm: string;
|
||||
laeIdfrJbgdNm: string;
|
||||
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
submitList: PumpingStationSubmitItem[];
|
||||
deleteList: PumpingStationSubmitItem[];
|
||||
}
|
||||
|
||||
export interface PumpingStationSubmitResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: {
|
||||
finalStatus: string;
|
||||
nvpassed: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
export interface StatisticsInputPumpingStationService {
|
||||
getPumpingStationList(
|
||||
params: PumpingStationRequestParams,
|
||||
): Promise<PumpingStationApiResponse>;
|
||||
savePumpingStationList(
|
||||
request: PumpingStationSaveRequest,
|
||||
): Promise<PumpingStationSaveResponse>;
|
||||
submitPumpingStationList(
|
||||
request: PumpingStationSubmitRequest,
|
||||
): Promise<PumpingStationSubmitResponse>;
|
||||
}
|
||||
+91
@@ -194,10 +194,101 @@ export interface SewageReservoirSaveResponse {
|
||||
data?: string;
|
||||
}
|
||||
|
||||
/** 하수저류시설(ST00040001) 제출 API 요청 */
|
||||
export interface SewageReservoirSubmitRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
laePicNm: string;
|
||||
laePicTelNo: string;
|
||||
laeKbrdrDeptNm: string;
|
||||
laeKbrdrJbgdNm: string;
|
||||
laeIdfrNm: string;
|
||||
laeIdfrTelNo: string;
|
||||
laeIdfrDeptNm: string;
|
||||
laeIdfrJbgdNm: string;
|
||||
noApplicable?: boolean;
|
||||
submitList: SewageReservoirSaveItem[];
|
||||
deleteList: SewageReservoirSaveItem[];
|
||||
}
|
||||
|
||||
export interface SewageReservoirSubmitResponse {
|
||||
status: string;
|
||||
message?: string;
|
||||
data?: {
|
||||
finalStatus: string;
|
||||
nvpassed: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* 빗물펌프장(ST00040002) 저장 — `saveList` / `deleteList` 항목.
|
||||
* `sggNm`·검증결과는 저장 요청에서 제외.
|
||||
*/
|
||||
export type RainfallPumpStationSaveItem = Omit<
|
||||
RainfallPumpStationItem,
|
||||
"sggNm" | "verificationResult"
|
||||
>;
|
||||
|
||||
/**
|
||||
* 빗물펌프장(ST00040002) 저장 API 요청
|
||||
* (요청 shape은 예시 JSON과 동일)
|
||||
*/
|
||||
export interface RainfallPumpStationSaveRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
superAdmin?: string;
|
||||
noApplicable?: boolean;
|
||||
saveList: RainfallPumpStationSaveItem[];
|
||||
deleteList: RainfallPumpStationSaveItem[];
|
||||
}
|
||||
|
||||
/** 빗물펌프장(ST00040002) 저장 응답 */
|
||||
export type RainfallPumpStationSaveResponse = SewageReservoirSaveResponse;
|
||||
|
||||
/** 빗물펌프장(ST00040002) 제출 API 요청 */
|
||||
export interface RainfallPumpStationSubmitRequest {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
sewerBzmnCd: string;
|
||||
userId: string;
|
||||
laePicNm: string;
|
||||
laePicTelNo: string;
|
||||
laeKbrdrDeptNm: string;
|
||||
laeKbrdrJbgdNm: string;
|
||||
laeIdfrNm: string;
|
||||
laeIdfrTelNo: string;
|
||||
laeIdfrDeptNm: string;
|
||||
laeIdfrJbgdNm: string;
|
||||
noApplicable?: boolean;
|
||||
submitList: RainfallPumpStationSaveItem[];
|
||||
deleteList: RainfallPumpStationSaveItem[];
|
||||
}
|
||||
|
||||
/** 빗물펌프장(ST00040002) 제출 응답 */
|
||||
export type RainfallPumpStationSubmitResponse = SewageReservoirSubmitResponse;
|
||||
|
||||
export interface StatisticsInputSewageReservoirPumpService {
|
||||
getSewageReservoirList(params: SewageReservoirRequestParams): Promise<SewageReservoirApiResponse>;
|
||||
getRainfallPumpStationList(
|
||||
params: SewageReservoirRequestParams,
|
||||
): Promise<RainfallPumpStationApiResponse>;
|
||||
saveSewageReservoir(request: SewageReservoirSaveRequest): Promise<SewageReservoirSaveResponse>;
|
||||
submitSewageReservoir(
|
||||
request: SewageReservoirSubmitRequest,
|
||||
): Promise<SewageReservoirSubmitResponse>;
|
||||
/** 빗물펌프장 저장 — ST00040002 */
|
||||
saveRainfallPumpStation(
|
||||
request: RainfallPumpStationSaveRequest,
|
||||
): Promise<RainfallPumpStationSaveResponse>;
|
||||
/** 빗물펌프장 제출 — ST00040002 */
|
||||
submitRainfallPumpStation(
|
||||
request: RainfallPumpStationSubmitRequest,
|
||||
): Promise<RainfallPumpStationSubmitResponse>;
|
||||
}
|
||||
|
||||
+277
@@ -0,0 +1,277 @@
|
||||
import type { ApiResponse, SewerageStatusInfo } from "../statistics-interface";
|
||||
|
||||
/** 하수도재정 결산(ST00090001) — `SewerageFinanceSettleInpColumn.tabKey` */
|
||||
export const SEWERAGE_FINANCE_SETTLE_STATS_CD = "ST00090001" as const;
|
||||
|
||||
/** 검증 결과 한 건 */
|
||||
export interface SewerageFinanceVerificationResultItem {
|
||||
vrfcCd: string;
|
||||
rsnExpln: string;
|
||||
nowVlCn: string;
|
||||
compVlCn: string;
|
||||
}
|
||||
|
||||
/** 필드명 → 검증 결과 배열 */
|
||||
export type SewerageFinanceVerificationResult = Record<
|
||||
string,
|
||||
SewerageFinanceVerificationResultItem[]
|
||||
>;
|
||||
|
||||
/** ST00090001 조회 `data.commonInfo` */
|
||||
export interface SewerageFinanceSettleCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: SewerageFinanceVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00090001 조회 `data.sewerageFinanceSettleList[]` 한 행.
|
||||
* `SewerageFinanceSettleInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface SewerageFinanceSettleItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
fnnByWholPjtcoAmt: number;
|
||||
cnterGovSprtAmt: number;
|
||||
mctpvLcexpAmt: number;
|
||||
wareaSggLclAmt: number;
|
||||
sewerUseAmt: number;
|
||||
orgprBrdnAmt: number;
|
||||
etcIncmAmt: number;
|
||||
crfwAmt: number;
|
||||
lbltAmt: number;
|
||||
usgByWholPjtcoAmt: number;
|
||||
tmplntWholAmt: number;
|
||||
tmplntFcltAmt: number;
|
||||
tmplntMendngAmt: number;
|
||||
tmplntOperKeepAmt: number;
|
||||
tmplntEtcAmt: number;
|
||||
wholSwagePplAmt: number;
|
||||
swagePplFcltAmt: number;
|
||||
swagePplMendngAmt: number;
|
||||
swagePplOperKeepAmt: number;
|
||||
swagePplEtcAmt: number;
|
||||
wholSwageImpdFcltAmt: number;
|
||||
swageImpdFcltAmt: number;
|
||||
swageImpdMendngAmt: number;
|
||||
swageImpdOperKeepAmt: number;
|
||||
swageImpdFcltEtcAmt: number;
|
||||
etcWholAmt: number;
|
||||
etcAcdntCrfwAmt: number;
|
||||
etcNrcpAmt: number;
|
||||
etcAmt: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: SewerageFinanceVerificationResult;
|
||||
}
|
||||
|
||||
export interface SewerageFinanceSettleResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: SewerageFinanceSettleCommonInfo;
|
||||
sewerageFinanceSettleList: SewerageFinanceSettleItem[];
|
||||
}
|
||||
|
||||
export type SewerageFinanceSettleApiResponse = ApiResponse<SewerageFinanceSettleResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** ST00090001 조회 요청 파라미터 */
|
||||
export interface SewerageFinanceSettleRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
}
|
||||
|
||||
/** 하수도 요금(ST00090002) — `SewerageChargeInpColumn.tabKey` */
|
||||
export const SEWERAGE_CHARGE_STATS_CD = "ST00090002" as const;
|
||||
|
||||
/** ST00090002 조회 `data.commonInfo` */
|
||||
export interface SewerageChargeCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: SewerageFinanceVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00090002 조회 `data.sewerageChargeList[]` 한 행.
|
||||
* `SewerageChargeInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface SewerageChargeItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
anlLevyQnt: number;
|
||||
levyAmt: number;
|
||||
avgUntprcAmt: number;
|
||||
grssPrmcoAmt: number;
|
||||
grssUnitPrmcoAmt: number;
|
||||
rlztnRt: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: SewerageFinanceVerificationResult;
|
||||
}
|
||||
|
||||
export interface SewerageChargeResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: SewerageChargeCommonInfo;
|
||||
sewerageChargeList: SewerageChargeItem[];
|
||||
}
|
||||
|
||||
export type SewerageChargeApiResponse = ApiResponse<SewerageChargeResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** ST00090002 조회 요청 파라미터 */
|
||||
export interface SewerageChargeRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
}
|
||||
|
||||
/** 하수도 사용료(ST00090003) — `SewerageUsageFeeInpColumn.tabKey` */
|
||||
export const SEWERAGE_USAGE_FEE_STATS_CD = "ST00090003" as const;
|
||||
|
||||
/** ST00090003 조회 `data.commonInfo` */
|
||||
export interface SewerageUsageFeeCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: SewerageFinanceVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00090003 조회 `data.sewerageUsageFeeList[]` 한 행.
|
||||
* `SewerageUsageFeeInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface SewerageUsageFeeItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
levyAmt: number;
|
||||
levyQnt: number;
|
||||
hshusLevyAmt: number;
|
||||
hshusLevyQnt: number;
|
||||
hshusUntprcAmt: number;
|
||||
taskFrLevyAmt: number;
|
||||
taskFrLevyQnt: number;
|
||||
taskFrUntprcAmt: number;
|
||||
fbuLevyAmt: number;
|
||||
fbuLevyQnt: number;
|
||||
fbuUntprcAmt: number;
|
||||
bthhsFrSpcs1LevyAmt: number;
|
||||
bthhsFrSpcs1LevyQnt: number;
|
||||
bthhsFrSpcs1UntprcAmt: number;
|
||||
bthhsFrSpcs2LevyAmt: number;
|
||||
bthhsFrSpcs2LevyQnt: number;
|
||||
bthhsFrSpcs2UntprcAmt: number;
|
||||
induLevyAmt: number;
|
||||
induLevyQnt: number;
|
||||
induUntprcAmt: number;
|
||||
etcLevyAmt: number;
|
||||
etcLevyQnt: number;
|
||||
etcLevyUntprcAmt: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: SewerageFinanceVerificationResult;
|
||||
}
|
||||
|
||||
export interface SewerageUsageFeeResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: SewerageUsageFeeCommonInfo;
|
||||
sewerageUsageFeeList: SewerageUsageFeeItem[];
|
||||
}
|
||||
|
||||
export type SewerageUsageFeeApiResponse = ApiResponse<SewerageUsageFeeResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** ST00090003 조회 요청 파라미터 */
|
||||
export interface SewerageUsageFeeRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
}
|
||||
|
||||
/** 원인자 부담금(ST00090004) — `CauserBurdenInpColumn.tabKey` */
|
||||
export const CAUSER_BURDEN_STATS_CD = "ST00090004" as const;
|
||||
|
||||
/** ST00090004 조회 `data.commonInfo` */
|
||||
export interface CauserBurdenCommonInfo {
|
||||
statsYr: string;
|
||||
ctpvNm: string;
|
||||
sewerBzmnCd: string;
|
||||
statsCd: string;
|
||||
verificationResult?: SewerageFinanceVerificationResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* ST00090004 조회 `data.causerBurdenList[]` 한 행.
|
||||
* `CauserBurdenInpColumn` fieldName과 동일 (`ctpvNm` 그리드 값은 `commonInfo.ctpvNm` 시도명).
|
||||
*/
|
||||
export interface CauserBurdenItem {
|
||||
admdstCd: string;
|
||||
sggNm: string;
|
||||
admdstNm: string;
|
||||
levyEvntcsCnt: number;
|
||||
levyAmt: number;
|
||||
trgtByWholClctnEvntcsCnt: number;
|
||||
trgtByWholClctnAmt: number;
|
||||
mltvEqpmEvntcsCnt: number;
|
||||
mltvEqpmAmt: number;
|
||||
othrCstrnOthrActrCnt: number;
|
||||
othrCstrnOthrActrAmt: number;
|
||||
rmrk: string | null;
|
||||
verificationResult?: SewerageFinanceVerificationResult;
|
||||
}
|
||||
|
||||
export interface CauserBurdenResponseData {
|
||||
statusInfo: SewerageStatusInfo;
|
||||
commonInfo: CauserBurdenCommonInfo;
|
||||
causerBurdenList: CauserBurdenItem[];
|
||||
}
|
||||
|
||||
export type CauserBurdenApiResponse = ApiResponse<CauserBurdenResponseData> & {
|
||||
message: string;
|
||||
};
|
||||
|
||||
/** ST00090004 조회 요청 파라미터 */
|
||||
export interface CauserBurdenRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
}
|
||||
|
||||
/** 하수도재정 조회 공통 요청 파라미터 */
|
||||
export interface SewerageFinanceRequestParams {
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
sewerBzmnCd?: string;
|
||||
statsYr?: string;
|
||||
mode?: string;
|
||||
}
|
||||
|
||||
export interface StatisticsInputSewerageFinanceService {
|
||||
getSewerageFinanceSettleList(
|
||||
params: SewerageFinanceSettleRequestParams,
|
||||
): Promise<SewerageFinanceSettleApiResponse>;
|
||||
getSewerageChargeList(
|
||||
params: SewerageChargeRequestParams,
|
||||
): Promise<SewerageChargeApiResponse>;
|
||||
getSewerageUsageFeeList(
|
||||
params: SewerageUsageFeeRequestParams,
|
||||
): Promise<SewerageUsageFeeApiResponse>;
|
||||
getCauserBurdenList(
|
||||
params: CauserBurdenRequestParams,
|
||||
): Promise<CauserBurdenApiResponse>;
|
||||
}
|
||||
Reference in New Issue
Block a user