修改界面
This commit is contained in:
@@ -58,10 +58,10 @@ namespace JinYuan.DAL.Service
|
||||
&& x.Start_Code == model.Start_Code
|
||||
&& !x.Is_Deleted)
|
||||
.Any();
|
||||
if (isExist)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
//if (isExist)
|
||||
//{
|
||||
// return false;
|
||||
//}
|
||||
|
||||
return base.Update(model);
|
||||
}
|
||||
|
||||
@@ -58,10 +58,10 @@ namespace JinYuan.DAL.Service
|
||||
bool isExist = _db.Queryable<WorkshopInterfaceConfig>()
|
||||
.Where(x => x.Workshop_Code == model.Workshop_Code && x.Interface_Flag == model.Interface_Flag && !x.Is_Deleted)
|
||||
.Any();
|
||||
if (isExist)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
//if (isExist)
|
||||
//{
|
||||
// return false;
|
||||
//}
|
||||
|
||||
return base.Update(model);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user