fix(server): 清理 lint 未使用变量警告
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user