diff --git a/ds-wms-service/DS.WMS.Core/TaskPlat/Method/TaskManageService.cs b/ds-wms-service/DS.WMS.Core/TaskPlat/Method/TaskManageService.cs index 7f5ab12b..a2ea3acc 100644 --- a/ds-wms-service/DS.WMS.Core/TaskPlat/Method/TaskManageService.cs +++ b/ds-wms-service/DS.WMS.Core/TaskPlat/Method/TaskManageService.cs @@ -720,7 +720,7 @@ namespace DS.WMS.Core.TaskPlat.Method { taskType = (TaskBaseTypeEnum)temp; }; - TaskStatLevelEnum taskStatLevel; + TaskStatLevelEnum taskStatLevel = TaskStatLevelEnum.PUBLIC; if (Enum.TryParse(typeof(TaskStatLevelEnum), querySearch.OtherQueryCondition?.TaskCategory, out object? tempStat)) { taskStatLevel = (TaskStatLevelEnum)tempStat;