@@ -148,6 +148,14 @@ public class AuditDocumentService(IRepository<AuditDocument> _auditDocumentRepos
|
||||
|
||||
}
|
||||
|
||||
|
||||
public async Task<IResponseOutput> DeleteAuditRecordUser(DeleteAuditUserCommand inCommand)
|
||||
{
|
||||
await _auditRecordIdentityUserRepository.BatchDeleteNoTrackingAsync(t => t.AuditRecordId == inCommand.AuditRecordId && inCommand.IdentityUserIdList.Contains(t.IdentityUserId));
|
||||
|
||||
return ResponseOutput.Ok();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除稽查记录
|
||||
/// </summary>
|
||||
|
||||
@@ -52,6 +52,13 @@ public class AuditRecordAddOrEdit
|
||||
public List<Guid> IdnetityUserIdList { get; set; }
|
||||
}
|
||||
|
||||
public class DeleteAuditUserCommand
|
||||
{
|
||||
public Guid AuditRecordId { get; set; }
|
||||
|
||||
public List<Guid> IdentityUserIdList { get; set; }
|
||||
}
|
||||
|
||||
public class AuditRecordQuery : PageInput
|
||||
{
|
||||
public string? CompanyName { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user