Compare commits
2 Commits
5b9bc66c20
...
a48e80fdd9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a48e80fdd9 | ||
|
|
0732f0c1dc |
@ -159,8 +159,8 @@ namespace APT.FO.WebApi.Controllers.Api.FO
|
||||
else
|
||||
{
|
||||
var currTeam = GetEntity<T_FM_TEAM>(t => t.DEPARTMENT_ID == entity.DEPARTMENT_ID);
|
||||
entity.TEAM_ID = currTeam.ID;
|
||||
TeamName = currTeam.NAME;
|
||||
entity.TEAM_ID = currTeam?.ID;
|
||||
TeamName = currTeam?.NAME;
|
||||
}
|
||||
if (entity.NAME == null)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user