From a9dbf4a33d1e7f5bd71afbb4aa3490d5f6a8642d Mon Sep 17 00:00:00 2001 From: helongjun Date: Mon, 23 May 2022 15:24:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E7=A4=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Document/SystemDocumentService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs b/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs index 808befd20..1eec37f32 100644 --- a/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs +++ b/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs @@ -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(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);