Compare commits

..

2 Commits

Author SHA1 Message Date
何美荣
a48e80fdd9 Merge branch 'master' of http://121.41.2.71:3000/wyw/mh_jy_safe 2025-11-30 21:16:19 +08:00
何美荣
0732f0c1dc 班前会报错 2025-11-30 21:16:14 +08:00

View File

@ -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)
{ {