feat: Integrate audit logging for various operations

- Added audit logging functionality across multiple controllers, including menu, user, department, flow, screen, and table management.
- Implemented logging for create, update, and delete actions, capturing relevant details such as company code, user information, and changes made.
- Enhanced the category tree service with a new endpoint to check if category values are in use, improving data integrity checks.
- Updated routes to include new functionalities and ensure proper logging for batch operations and individual record changes.
- This integration improves traceability and accountability for data modifications within the application.
This commit is contained in:
kjs
2026-03-04 13:49:08 +09:00
parent f04d224b09
commit b4d5367e2b
26 changed files with 2620 additions and 140 deletions

View File

@@ -765,7 +765,7 @@ export class EntityJoinService {
}>
> {
try {
// 1. 테이블의 기본 컬럼 정보 조회
// 1. 테이블의 기본 컬럼 정보 조회 (모든 데이터 타입 포함)
const columns = await query<{
column_name: string;
data_type: string;
@@ -775,7 +775,7 @@ export class EntityJoinService {
data_type
FROM information_schema.columns
WHERE table_name = $1
AND data_type IN ('character varying', 'varchar', 'text', 'char')
AND table_schema = 'public'
ORDER BY ordinal_position`,
[tableName]
);