Uat_Study
parent
8d4c56619e
commit
bb774ce622
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue