fix(server): 清理 lint 未使用变量警告

This commit is contained in:
2026-08-12 11:04:06 +08:00
parent 6f805faf97
commit fee23219ce
2 changed files with 2 additions and 2 deletions
@@ -1,6 +1,6 @@
import { BadRequestException } from '@nestjs/common';
import { ClassesService, normalizeTeacherSubjects } from './classes.service';
import { Class, ClassStudent, ClassTeacher, TeacherRoleType } from '../entities';
import { ClassStudent, ClassTeacher, TeacherRoleType } from '../entities';
/** 模拟 TypeORM EntityManager:按实体类型分发 create/save/find/update
* 班级/学生/教师写入走各自 repo mock,供 create() 事务化后的测试使用。 */
@@ -160,7 +160,7 @@ export class OccupanciesController {
return withAuditLog(
this.logService,
req,
(result) => ({
() => ({
module: '入住管理',
action: '编辑入住记录',
targetId: +id,