Uat_Study
parent
6e678bb3b9
commit
e9b20cc94f
|
@ -565,7 +565,7 @@ namespace IRaCIS.Core.Application.Services
|
|||
if (isSystemDoc)
|
||||
{
|
||||
await _systemDocumentRepository.UpdatePartialFromQueryAsync(documentId, u => new SystemDocument() { IsDeleted = true });
|
||||
await _systemDocConfirmedUserRepository.UpdatePartialFromQueryAsync(x => x.SystemDocumentId == documentId&&!x.IsDeleted.Value, x => new SystemDocConfirmedUser()
|
||||
await _systemDocConfirmedUserRepository.UpdatePartialFromQueryAsync(x => x.SystemDocumentId == documentId, x => new SystemDocConfirmedUser()
|
||||
{
|
||||
IsDeleted = true
|
||||
});
|
||||
|
@ -573,7 +573,7 @@ namespace IRaCIS.Core.Application.Services
|
|||
else
|
||||
{
|
||||
await _trialDocumentRepository.UpdatePartialFromQueryAsync(documentId, u => new TrialDocument() { IsDeleted = true });
|
||||
await _trialDocUserTypeConfirmedUserRepository.UpdatePartialFromQueryAsync(x => x.TrialDocumentId == documentId&& !x.IsDeleted.Value, x => new TrialDocUserTypeConfirmedUser()
|
||||
await _trialDocUserTypeConfirmedUserRepository.UpdatePartialFromQueryAsync(x => x.TrialDocumentId == documentId, x => new TrialDocUserTypeConfirmedUser()
|
||||
{
|
||||
IsDeleted = true
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue