Files
gongxue-base/.gitignore
wangziqi 6029d8e2fd refactor(server): remove Department/UserDepartment entities, CampusScope, and departmentId from all entities
- Delete department.entity.ts, user-department.entity.ts
- Remove Department/UserDepartment from entities/index.ts
- Remove departmentId column from 18 entities (AttendanceRecord, ArchiveAttachment, Bill, ClassSchedule, Classroom, ClassroomRental, Deposit, DepositInstallment, ExamScore, LearningRecord, Occupancy, PersonalExpense, ResultArchive, Room, RoomExpense, Student, StudentEnrollment, StudentProfile, StudentReport)
- Remove departments/ module entirely
- Delete campus-scope.ts, campus-scope.middleware.ts (request-utils.ts kept — it's just IP extraction)
- Simplify common.module.ts to empty module
- Remove CampusScopeMiddleware from app.module.ts
- Remove all CampusScope injections and filter calls across all services
- Remove departmentId from all DTOs and controllers
- Simplify dingtalk/wecom sync to only sync users (no dept table)
- Update seed module to remove department seeding
- Clean frontend compilation
2026-07-09 17:51:32 +08:00

57 lines
687 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 依赖
node_modules/
# 构建产物
dist/
build/
# TypeScript 增量编译缓存
*.tsbuildinfo
# 环境变量(包含密码等敏感信息)
.env
.env.local
.env.production
# 数据库文件
*.db
*.sqlite
# 上传文件合同PDF等敏感文件不入版本库和部署包
uploads/
backend/uploads/
# 日志
logs/
*.log
# 编辑器 / IDE
.vscode/
.idea/
.qoder/
# 部署包 / 压缩包
*.zip
*.tar.gz
# 参考资料(非源码)
*.xls
*.xlsx
# 系统文件
.DS_Store
Thumbs.db
# Turborepo
.turbo/
# Monorepo pattern matches
apps/server/node_modules/
apps/server/dist/
apps/admin/node_modules/
apps/admin/dist/
.codegraph/
.worktrees/
.claude/
.omp/
.superpowers/