| | |
| | | boundCompleteFeedback.custStatus = ""; |
| | | string response = HttpHelper.Post(apiInfo.ApiAddress, boundCompleteFeedback.Serialize()); |
| | | agvContent = response.DeserializeObject<WMSReturn>(); |
| | | content.Data = agvContent; |
| | | if (agvContent.code != 0) dt_Task.ExceptionMessage = agvContent.msg; |
| | | content.OK(data: agvContent); |
| | | if (agvContent.code != 200) |
| | | { |
| | | dt_Task.ExceptionMessage = agvContent.message; |
| | | content.Error(agvContent.message); |
| | | } |
| | | } |
| | | } |
| | | catch (Exception ex) |
| | |
| | | finally |
| | | { |
| | | _trackloginfoService.AddTrackLog(boundCompleteFeedback, content, "鍑哄叆搴撲换鍔$姸鎬佸弽棣圵MS", "", ""); |
| | | if (agvContent != null && agvContent.code == 0 && Status == 2) |
| | | if (agvContent != null && agvContent.code == 200 && Status == 2) |
| | | BaseDal.DeleteAndMoveIntoHty(dt_Task, OperateTypeEnum.鑷姩瀹屾垚); |
| | | else |
| | | BaseDal.UpdateData(dt_Task); |