修改提示信息

Uat_Study
helongjun 2022-05-23 15:24:40 +08:00
parent 0d020df8a8
commit a9dbf4a33d
1 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ namespace IRaCIS.Core.Application.Services
if (await _systemDocumentRepository.AnyAsync(t => t.FileTypeId == addOrEditSystemDocument.FileTypeId && t.Name == addOrEditSystemDocument.Name,true))
{
return ResponseOutput.NotOk("同类型已存在该文件名");
return ResponseOutput.NotOk("系统中已存在同类型的同名文件。");
}
await _systemDocumentRepository.AddAsync(entity, true);
@ -70,7 +70,7 @@ namespace IRaCIS.Core.Application.Services
if (await _systemDocumentRepository.AnyAsync(t => t.FileTypeId == addOrEditSystemDocument.FileTypeId && t.Name == addOrEditSystemDocument.Name && t.Id != addOrEditSystemDocument.Id, true))
{
return ResponseOutput.NotOk("同类型已存在该文件名");
return ResponseOutput.NotOk("系统中已存在同类型的同名文件。");
}
@ -114,7 +114,7 @@ namespace IRaCIS.Core.Application.Services
if (await _repository.Where<SystemDocument>(t => t.Id == systemDocumentId).AnyAsync(u => u.SystemDocConfirmedUserList.Any()))
{
return ResponseOutput.NotOk("该文档下已有签名的用户");
return ResponseOutput.NotOk("已有用户阅读该文档,并签名。");
}
var success = await _systemDocumentRepository.DeleteFromQueryAsync(t => t.Id == systemDocumentId,true,true);