From 4106470df9e061d456ea0aef1cbde14e8fcc2bc4 Mon Sep 17 00:00:00 2001 From: helongjun Date: Mon, 23 May 2022 16:58:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E7=A4=BA=E8=AF=AD?= =?UTF-8?q?=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Management/UserTypeService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Management/UserTypeService.cs b/IRaCIS.Core.Application/Service/Management/UserTypeService.cs index dea977412..7beae32c2 100644 --- a/IRaCIS.Core.Application/Service/Management/UserTypeService.cs +++ b/IRaCIS.Core.Application/Service/Management/UserTypeService.cs @@ -80,7 +80,7 @@ namespace IRaCIS.Core.Application.Contracts { if ( await _repository.AnyAsync(t => t.UserTypeId == userTypeId)) { - return ResponseOutput.NotOk("该用户类型,被某些用户已使用,不能删除"); + return ResponseOutput.NotOk("该用户类型中已存在用户,不能删除"); } var success = await userTypeServiceRepository.BatchDeleteNoTrackingAsync(t => t.Id == userTypeId);