Merge branch 'feature/v2-renewal' of http://39.117.244.52:3000/kjs/ERP-node into feature/v2-unified-renewal

This commit is contained in:
kjs
2026-01-22 10:04:49 +09:00
15 changed files with 2588 additions and 171 deletions

View File

@@ -29,6 +29,12 @@ import {
getScreensByMenu,
unassignScreenFromMenu,
cleanupDeletedScreenMenuAssignments,
updateTabScreenReferences,
copyScreenMenuAssignments,
copyCodeCategoryAndCodes,
copyCategoryMapping,
copyTableTypeColumns,
copyCascadingRelation,
} from "../controllers/screenManagementController";
const router = express.Router();
@@ -83,4 +89,22 @@ router.post(
cleanupDeletedScreenMenuAssignments
);
// 그룹 복제 완료 후 탭 컴포넌트의 screenId 참조 일괄 업데이트
router.post("/screens/update-tab-references", updateTabScreenReferences);
// 화면-메뉴 할당 복제 (다른 회사로 복제 시)
router.post("/copy-menu-assignments", copyScreenMenuAssignments);
// 코드 카테고리 + 코드 복제
router.post("/copy-code-category", copyCodeCategoryAndCodes);
// 카테고리 매핑 + 값 복제
router.post("/copy-category-mapping", copyCategoryMapping);
// 테이블 타입 컬럼 복제
router.post("/copy-table-type-columns", copyTableTypeColumns);
// 연쇄관계 설정 복제
router.post("/copy-cascading-relation", copyCascadingRelation);
export default router;