fix defect
This commit is contained in:
parent
c798439c19
commit
0a080b09e4
4 changed files with 57 additions and 12 deletions
|
|
@ -70,8 +70,8 @@ namespace BMA.EHR.Application.Repositories.Leaves
|
|||
{
|
||||
if (entity is EntityBase)
|
||||
{
|
||||
(entity as EntityBase).LastUpdateUserId = UserId!;
|
||||
(entity as EntityBase).LastUpdateFullName = FullName!;
|
||||
(entity as EntityBase).LastUpdateUserId = UserId ?? "";
|
||||
(entity as EntityBase).LastUpdateFullName = FullName ?? "System Administrator";
|
||||
(entity as EntityBase).LastUpdatedAt = DateTime.Now;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue