修改提示语言

Uat_Study
helongjun 2022-05-23 16:58:42 +08:00
parent 520af23fcc
commit 4106470df9
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ namespace IRaCIS.Core.Application.Contracts
{ {
if ( await _repository.AnyAsync<User>(t => t.UserTypeId == userTypeId)) if ( await _repository.AnyAsync<User>(t => t.UserTypeId == userTypeId))
{ {
return ResponseOutput.NotOk("该用户类型,被某些用户已使用,不能删除"); return ResponseOutput.NotOk("该用户类型中已存在用户,不能删除");
} }
var success = await userTypeServiceRepository.BatchDeleteNoTrackingAsync(t => t.Id == userTypeId); var success = await userTypeServiceRepository.BatchDeleteNoTrackingAsync(t => t.Id == userTypeId);