fix: 归档删除改为软删除

This commit is contained in:
2026-07-17 14:13:17 +08:00
parent 3131d2e141
commit f7328d670d
49 changed files with 520 additions and 354 deletions

View File

@@ -166,7 +166,7 @@ export class OccupanciesController {
userId: req.user?.id,
username: req.user?.username,
module: '入住管理',
action: '删除入住记录',
action: '归档入住记录',
targetId: +id,
targetType: 'occupancy',
ipAddress,
@@ -184,7 +184,7 @@ export class OccupanciesController {
userId: req.user?.id,
username: req.user?.username,
module: '入住管理',
action: '批量删除入住记录',
action: '批量归档入住记录',
detail: `IDs: ${(body.ids || []).join(',')}`,
ipAddress,
userAgent,