11
This commit is contained in:
@@ -398,7 +398,7 @@ namespace BLL
|
|||||||
foreach (var newPersonInOut in newPersonInOutList)
|
foreach (var newPersonInOut in newPersonInOutList)
|
||||||
{
|
{
|
||||||
var getPUnit = getPUnitS.FirstOrDefault(x => x.UnitId == newPersonInOut.UnitId);
|
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)
|
if (getRealNameP != null && newPersonInOut.ChangeTime.HasValue)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user