Uat_Study
he 2022-09-19 17:57:51 +08:00
parent 8d4c56619e
commit bb774ce622
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ namespace IRaCIS.Application.Services
{
var verifyExp1 = new EntityVerifyExp<Dictionary>()
{
VerifyExp = t => t.Code == addOrEditBasic.Code,
VerifyExp = t => t.Code == addOrEditBasic.Code&&t.ParentId== addOrEditBasic.ParentId,
VerifyMsg = $"已有{addOrEditBasic.Code}名称的字典",
IsVerify= addOrEditBasic.ParentId ==null
};