20220908 人员培训记录保存错误修改。
This commit is contained in:
@@ -936,7 +936,7 @@ namespace BLL
|
||||
public static string JudgementDelete(Model.Person_Persons getData)
|
||||
{
|
||||
string content = string.Empty;
|
||||
if (Funs.DB.SitePerson_Person.FirstOrDefault(x => x.IdentityCard == getData.IdentityCard) != null)
|
||||
if (Funs.DB.SitePerson_Person.FirstOrDefault(x => x.PersonId == getData.PersonId) != null)
|
||||
{
|
||||
content += "已在【现场人员】中使用,不能删除!";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user