[st] - feat: 입력 04 작업 중 & 수정 요청 사항 적용
This commit is contained in:
+13
@@ -5,6 +5,8 @@ import {
|
||||
type StatisticsInputSewageReservoirPumpService,
|
||||
type SewageReservoirApiResponse,
|
||||
type SewageReservoirRequestParams,
|
||||
type SewageReservoirSaveRequest,
|
||||
type SewageReservoirSaveResponse,
|
||||
type RainfallPumpStationApiResponse,
|
||||
} from "../../model/input/statistics-input-sewage-reservoir-pump-interface";
|
||||
|
||||
@@ -28,6 +30,17 @@ export class StatisticsInputSewageReservoirPumpApiService implements StatisticsI
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
/** 하수저류시설 저장 — ST00040001 */
|
||||
public async saveSewageReservoir(
|
||||
request: SewageReservoirSaveRequest,
|
||||
): Promise<SewageReservoirSaveResponse> {
|
||||
const response = await stClient.put<SewageReservoirSaveResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-reservoir-pump/sewage-reservoir/save`,
|
||||
request,
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
}
|
||||
|
||||
export const statisticsInputSewageReservoirPumpApi = new StatisticsInputSewageReservoirPumpApiService();
|
||||
|
||||
Reference in New Issue
Block a user