1
dengjunjie
18 小时以前 a29a1fd470493f1c0e251bc69df550665cb02078
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs
@@ -1427,6 +1427,21 @@
                _trackloginfoService.AddTrackLog(wMSContainerFlow, content, "容器流动请求", "", "");
            }
        }
        public WebResponseContent UpStationType(UpStationTypeDTO stationTypeDTO)
        {
            try
            {
                if (stationTypeDTO.stationType < 1 || stationTypeDTO.stationType > 3) throw new Exception($"未定义的站台类型【{stationTypeDTO.stationType}】!1入库站台;2出库站台;3出入库站台");
                Dt_StationManger stationManger = _stationMangerService.Repository.QueryFirst(x => x.StationCode == stationTypeDTO.stationCode) ?? throw new Exception($"未找到站台编号【{stationTypeDTO.stationCode}】信息");
                stationManger.StationType = stationTypeDTO.stationType;
                _stationMangerService.Repository.UpdateData(stationManger);
                return WebResponseContent.Instance.OK();
            }
            catch (Exception ex)
            {
                return WebResponseContent.Instance.Error(ex.Message);
            }
        }
        /// <summary>
        /// è´¨æ£€ç»“果反馈
        /// </summary>
@@ -1889,7 +1904,7 @@
                WMSReturn wMSReturn = response.DeserializeObject<WMSReturn>();
                if (wMSReturn == null) throw new Exception("WMS返回结果转换失败!");
                if (!wMSReturn.success) throw new Exception(wMSReturn.message);
               return content.OK();
                return content.OK();
            }
            catch (Exception ex)
            {