This commit is contained in:
parent
8040225358
commit
92f86a586f
|
|
@ -398,7 +398,7 @@ namespace BLL
|
|||
foreach (var newPersonInOut in newPersonInOutList)
|
||||
{
|
||||
var getPUnit = getPUnitS.FirstOrDefault(x => x.UnitId == newPersonInOut.UnitId);
|
||||
if (getPUnit.UnitType != Const.ProjectUnitType_3 && getPUnit.UnitType != Const.ProjectUnitType_4 && getPUnit.IsSynchro == true)
|
||||
if (getPUnit!=null&&getPUnit.UnitType != Const.ProjectUnitType_3 && getPUnit.UnitType != Const.ProjectUnitType_4 && getPUnit.IsSynchro == true)
|
||||
{
|
||||
if (getRealNameP != null && newPersonInOut.ChangeTime.HasValue)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue