[st] feat: 검증 항목 관리 정렬 코드 추가
This commit is contained in:
@@ -75,6 +75,7 @@ function VerificationArticleManagement() {
|
||||
vrfcMthdCd: searchParams.vrfcMthdCd,
|
||||
statsCd: searchParams.statsCd || undefined,
|
||||
vrfcTrgtNm: searchParams.vrfcTrgtNm || undefined,
|
||||
sort: ["statsCd,asc", "vrfcTrgtNm,asc"],
|
||||
},
|
||||
);
|
||||
return response;
|
||||
|
||||
@@ -28,7 +28,12 @@ export class VerificationTargetManagementApiService implements VerificationTarge
|
||||
const response =
|
||||
await client.get<VerificationTargetManagementListApiResponse>(
|
||||
`${ENDPOINT.STATVERIFY_SERVICE.VRFCTGT_MNG}`,
|
||||
{ params },
|
||||
{
|
||||
params,
|
||||
paramsSerializer: {
|
||||
indexes: null,
|
||||
},
|
||||
},
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { PageableList } from "@/shared/model";
|
||||
import type { PageableList, PageableParams } from "@/shared/model";
|
||||
|
||||
export interface NumericColumnDto {
|
||||
columnName: string;
|
||||
@@ -46,16 +46,13 @@ export interface VerificationTargetManagementResponse {
|
||||
}
|
||||
|
||||
// 검증 대상 관리 검색 DTO
|
||||
export interface VerificationTargetManagementSearchParams {
|
||||
export interface VerificationTargetManagementSearchParams extends PageableParams {
|
||||
vrfcMthdCd?: string; // 검증 방법 코드
|
||||
statsCd?: string; // 통계 코드
|
||||
tblNm?: string; // 테이블 명
|
||||
colNm?: string; // 컬럼 명
|
||||
vrfcTrgtNm?: string; // 검증대상명
|
||||
useYn?: string; // 사용 여부
|
||||
page?: number; // 페이지 번호 (0부터 시작)
|
||||
size?: number; // 페이지 크기
|
||||
sort?: string; // 정렬 조건 (예: "vrfcTrgtSn,desc")
|
||||
}
|
||||
|
||||
// 검증 대상 컬럼 검사 검색 DTO
|
||||
|
||||
@@ -30,7 +30,7 @@ export interface PageableList<T> {
|
||||
export interface PageableParams {
|
||||
page?: number;
|
||||
size?: number;
|
||||
sort?: string;
|
||||
sort?: string | string[];
|
||||
}
|
||||
|
||||
export interface ApiErrorResponse {
|
||||
|
||||
Reference in New Issue
Block a user