ÏîÄ¿´úÂë/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs
@@ -831,14 +831,22 @@ public Dt_Task RequestWMSTaskMovelibrary(Dt_Task _Task) { WebResponseContent content = new WebResponseContent(); try { content = HttpHelperh.Get<WebResponseContent>($"{urlWMSMovelibraryTask}?TaskNum={_Task.TaskNum}"); Dt_Task task = new Dt_Task(); if (content.Status) { if (content.Data != null) { task = JsonConvert.DeserializeObject<Dt_Task>(content.Data.ToString()); //task = JsonConvert.DeserializeObject<Dt_Task>(content.Data.ToString()); WMSTaskDTO dto = JsonConvert.DeserializeObject<WMSTaskDTO>(content.Data.ToString()); if (dto != null) { // 转æ¢ä¸ºDt_Task task = _mapper.Map<Dt_Task>(dto); task.TaskState = dto.TaskStatus; if (task.TaskNum != _Task.TaskNum) { task.Grade = 3; @@ -851,8 +859,14 @@ } } } } return null; } catch (Exception ex) { Console.WriteLine($"ç§»åºæä½å¼å¸¸ï¼{ex.Message}"); return null; } } ÏîÄ¿´úÂë/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
@@ -178,7 +178,8 @@ if (dt_Stock == null) return content.Error($"è´§ä½ç¼å·:{Locatask}çæµ è´§ä½åºåå¼å¸¸ï¼è¯·æ£æ¥ï¼ï¼ï¼"); //è¿è¡è·åæ°çåºä½ Dt_LocationInfo? Nextlocation = _basicService.LocationInfoService.GetLocation(DeepLocation.RoadwayNo);//è·åå°æ°åºä½ //Dt_LocationInfo? Nextlocation = _basicService.LocationInfoService.GetLocation(DeepLocation.RoadwayNo);//è·åå°æ°åºä½ Dt_LocationInfo? Nextlocation = _basicService.LocationInfoService.GetLocationSC01(DeepLocation.RoadwayNo);//è·åå°æ°åºä½ if (Nextlocation == null) { return content.Error($"è´§ä½åé 失败,æªæ¾å°å¯åé è´§ä½");