StandardPda/MES.Service/service/BasicData/MesStaffManager.cs
@@ -62,10 +62,7 @@ MesStaff entity) { var exists = db.Queryable<SysUser>().Any(u => u.Sid == sysUser.Sid); if (!exists) { db.Insertable(sysUser).ExecuteCommand(); } if (!exists) db.Insertable(sysUser).ExecuteCommand(); db.Deleteable<MesStaff>() .Where(s => s.Id == entity.Id)