From 0732f0c1dcce08da75561a12b2edb7533fd4e9ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=BE=8E=E8=8D=A3?= <10755671+mei-rong-he@user.noreply.gitee.com> Date: Sun, 30 Nov 2025 21:16:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8F=AD=E5=89=8D=E4=BC=9A=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/PreShiftMeetingRecordController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/APT.MicroApi/APT.FO.WebApi/Controllers/PreShiftMeetingRecordController.cs b/APT.MicroApi/APT.FO.WebApi/Controllers/PreShiftMeetingRecordController.cs index 74f99b8..abf6a44 100644 --- a/APT.MicroApi/APT.FO.WebApi/Controllers/PreShiftMeetingRecordController.cs +++ b/APT.MicroApi/APT.FO.WebApi/Controllers/PreShiftMeetingRecordController.cs @@ -159,8 +159,8 @@ namespace APT.FO.WebApi.Controllers.Api.FO else { var currTeam = GetEntity(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) {