This commit is contained in:
何美荣 2026-06-05 19:38:07 +08:00
parent 48135e1fdd
commit 7b41bff662

View File

@ -430,7 +430,7 @@ namespace APT.FO.WebApi.Controllers.Api.FO
{ {
var currCalendarID = currCalendar.CALENDAR_ID; var currCalendarID = currCalendar.CALENDAR_ID;
var currDepartmentConfig = GetEntity<T_FM_DEPARTMENT_CALENDAR_CONFIG_TEAM>(t => t.TEAM_ID == model.CLASS_TEAM_ID && t.IS_DELETED == false, "Nav_DepartmentCalendarConfig"); var currDepartmentConfig = GetEntity<T_FM_DEPARTMENT_CALENDAR_CONFIG_TEAM>(t => t.TEAM_ID == model.CLASS_TEAM_ID && t.IS_DELETED == false, "Nav_DepartmentCalendarConfig");
if (currDepartmentConfig != null && currDepartmentConfig.Nav_DepartmentCalendarConfig.IS_HANDOVER == true) if (currDepartmentConfig != null && currDepartmentConfig.Nav_DepartmentCalendarConfig!=null && currDepartmentConfig.Nav_DepartmentCalendarConfig.IS_HANDOVER == true)
{ {
var searchFilter = new BaseFilter(model.ORG_ID); var searchFilter = new BaseFilter(model.ORG_ID);