임동욱 임동욱 09-03
feat: 가맹점 관리에서 업종 검색 필터를 뺀다
Co-Authored-By: Claude Fable 5 
@4fa5b645b39438e8247f94d74c711aee87308d2c
app/(protected)/(basic)/system/merchants/_components/merchant-list.tsx
--- app/(protected)/(basic)/system/merchants/_components/merchant-list.tsx
+++ app/(protected)/(basic)/system/merchants/_components/merchant-list.tsx
@@ -11,7 +11,6 @@
 import { FoxSelectText } from '@fox/core/components/fox-select-text';
 import { FoxStatusIndicator } from '@fox/core/components/fox-status-indicator';
 import {
-  MERCHANT_CATEGORY_OPTIONS,
   formatAddressSummary,
   formatCategoryLabel,
   formatOptionalValue,
@@ -155,21 +154,6 @@
         }
         filter={
           <div className={styles.filter}>
-            <div className={styles.select}>
-              <FoxSelect
-                size="md"
-                ariaLabel="업종"
-                options={[
-                  { value: '', label: '업종: 전체' },
-                  ...MERCHANT_CATEGORY_OPTIONS.map((option) => ({
-                    value: option.value,
-                    label: option.label,
-                  })),
-                ]}
-                value={query.category}
-                onValueChange={(value) => go({ category: value })}
-              />
-            </div>
             <div className={styles.select}>
               <FoxSelect
                 size="md"
lib/data/repositories/merchant-repository.ts
--- lib/data/repositories/merchant-repository.ts
+++ lib/data/repositories/merchant-repository.ts
@@ -105,7 +105,6 @@
       ...(query.visibility
         ? { searchUseYn: query.visibility === 'visible' ? 'Y' : 'N' }
         : {}),
-      ...(query.category ? { searchFrcsTpbizCd: query.category } : {}),
       pageIndex: query.page,
       recordCountPerPage: query.pageSize,
     },
lib/domain/merchant-query.ts
--- lib/domain/merchant-query.ts
+++ lib/domain/merchant-query.ts
@@ -1,5 +1,3 @@
-import { MERCHANT_CATEGORY_OPTIONS } from '@/lib/domain/merchant';
-
 export const MERCHANTS_PATH = '/system/merchants';
 /** 엑셀 다운로드 — 파일 응답이라 라우트 핸들러가 받는다(기획 MCH_001 ②). */
 export const MERCHANTS_EXCEL_PATH = `${MERCHANTS_PATH}/excel`;
@@ -32,7 +30,6 @@
 const MAX_KEYWORD_LENGTH = 100;
 
 export type MerchantQuery = {
-  category: string;
   visibility: string;
   searchField: MerchantSearchField;
   keyword: string;
@@ -70,7 +67,6 @@
   const pageSize = Number(readParam(searchParams, 'pageSize'));
 
   return {
-    category: readOneOf(searchParams, 'category', MERCHANT_CATEGORY_OPTIONS),
     visibility: readOneOf(
       searchParams,
       'visibility',
@@ -92,9 +88,6 @@
   const merged = { ...query, ...overrides };
   const params = new URLSearchParams();
 
-  if (merged.category) {
-    params.set('category', merged.category);
-  }
   if (merged.visibility) {
     params.set('visibility', merged.visibility);
   }
Add a comment
List