xiazhengtongxue
2026-02-09 e81c782b3e7a632ffb8e32be56fce931a8c89ae6
ÏîÄ¿´úÂë/WCSServices/WIDESEAWCS_TaskInfoService/InvokeAGVService.cs
@@ -64,8 +64,9 @@
                string? ErrorBack = _apiInfoRepository.QueryFirst(x => x.ApiCode == APIEnum.WMSErrorBack.ToString())?.ApiAddress;
                if (string.IsNullOrEmpty(ErrorBack))
                    throw new Exception($"未找到WMS故障上报接口,请检查接口配置");
                {
                    return;
                }else{
                // å¦‚果是故障上报(e2.ErrorType == 2)
                if (e2.ErrorType == 2)
                {
@@ -108,6 +109,8 @@
                    }
                }
                return;
                }
            }
        }
        /// <summary>
@@ -178,7 +181,7 @@
                _errorInfoRepository.DeleteData(delErrorInfos);
                _errorInfoRepository.AddData(addErrorInfos);
                _unitOfWorkManage.CommitTran();
                List<Dt_ErrorInfo> newErrInfos = _errorInfoRepository.QueryData(x=>x.Id > errorId && x.ErrorType == 2);
                List<Dt_ErrorInfo> newErrInfos = _errorInfoRepository.QueryData(x=>x.Id > errorId && x.ErrorType == 1);
                if (delErrorInfos.Count>0)
                {
                    foreach (var item in delErrorInfos)