kjs
e7ecd0a863
fix: screen_menu_assignments를 통해 메뉴별 테이블 조회
❌ 문제:
- screen_definitions 테이블에 menu_objid 컬럼이 없음
- SQL 쿼리 실행 실패 (500 에러)
✅ 수정:
- screen_menu_assignments와 screen_definitions를 JOIN하여 조회
- menu_objid → screen_id → table_name 경로로 데이터 조회
🎯 쿼리 구조:
SELECT DISTINCT sd.table_name
FROM screen_menu_assignments sma
INNER JOIN screen_definitions sd ON sma.screen_id = sd.screen_id
WHERE sma.menu_objid = ANY($1)
AND sma.company_code = $2
AND sd.table_name IS NOT NULL
2025-11-11 14:47:25 +09:00
..
2025-10-15 13:30:11 +09:00
2025-11-11 14:47:25 +09:00
2025-10-27 11:11:08 +09:00
2025-10-02 17:51:15 +09:00
2025-10-27 16:40:59 +09:00
2025-11-11 14:44:22 +09:00
2025-11-11 14:32:00 +09:00
2025-08-21 09:41:46 +09:00
2025-10-01 14:54:44 +09:00
2025-11-07 14:22:23 +09:00
2025-11-07 14:22:23 +09:00
2025-11-05 18:13:06 +09:00