st: fix: 로그 조회, Grid cell style 수정, 입력,검토,집계표 작업중
This commit is contained in:
+29
@@ -0,0 +1,29 @@
|
||||
import { stClient } from "@/shared/api/client";
|
||||
import { ENDPOINT } from "@/shared/config";
|
||||
|
||||
import type {
|
||||
SewagePipeMaintainDredgingResponse,
|
||||
SewagePipeMaintainRepairResponse,
|
||||
SewagePipeMaintainRequestParams,
|
||||
SewagePipeMaintainService,
|
||||
} from "../../model/input/statistics-input-sewage-pipe-maintain-interface";
|
||||
|
||||
export class SewagePipeMaintainApiService implements SewagePipeMaintainService {
|
||||
public async getSewagePipeMaintainRepair(param: SewagePipeMaintainRequestParams): Promise<SewagePipeMaintainRepairResponse> {
|
||||
const response = await stClient.get<SewagePipeMaintainRepairResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-pipe-maintain/repair`,
|
||||
{ params: param }
|
||||
);
|
||||
return response.data;
|
||||
};
|
||||
|
||||
public async getSewagePipeMaintainDredging(param: SewagePipeMaintainRequestParams): Promise<SewagePipeMaintainDredgingResponse> {
|
||||
const response = await stClient.get<SewagePipeMaintainDredgingResponse>(
|
||||
`${ENDPOINT.ST_SERVICE.INPUT}/sewage-pipe-maintain/dredging`,
|
||||
{ params: param }
|
||||
);
|
||||
return response.data;
|
||||
};
|
||||
}
|
||||
|
||||
export const sewagePipeMaintainApiService = new SewagePipeMaintainApiService();
|
||||
Reference in New Issue
Block a user