班前会报错
This commit is contained in:
parent
d7f34dd05d
commit
0732f0c1dc
@ -159,8 +159,8 @@ namespace APT.FO.WebApi.Controllers.Api.FO
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
var currTeam = GetEntity<T_FM_TEAM>(t => t.DEPARTMENT_ID == entity.DEPARTMENT_ID);
|
var currTeam = GetEntity<T_FM_TEAM>(t => t.DEPARTMENT_ID == entity.DEPARTMENT_ID);
|
||||||
entity.TEAM_ID = currTeam.ID;
|
entity.TEAM_ID = currTeam?.ID;
|
||||||
TeamName = currTeam.NAME;
|
TeamName = currTeam?.NAME;
|
||||||
}
|
}
|
||||||
if (entity.NAME == null)
|
if (entity.NAME == null)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user