| | |
| | | /// <param name="AreaCode">åºåå·</param> |
| | | /// <returns></returns> |
| | | [HttpGet, HttpPost, Route("QueryStation"), AllowAnonymous] |
| | | public WMSReturn QueryStation(WMSGetLocationInfo getLocationInfo) |
| | | public WMSReturn QueryStation([FromBody] WMSGetLocationInfo getLocationInfo) |
| | | { |
| | | WebResponseContent content = _taskService.LocationInquiry(getLocationInfo); |
| | | return WMSReturnMethod.ReturnWMS(content); |
| | |
| | | } |
| | | else if (Rgv.messageType == 10) |
| | | { |
| | | if (Rgv.content.status == 2) TaskFeedback(task, 1); |
| | | if (Rgv.content.status == 4) |
| | | { |
| | | if (task.TaskType == (int)TaskTypeEnum.CPInbound && task.TaskState == (int)TaskStatusEnum.TakeFinish) |
| | |
| | | EnableStatus = item.EnableStatus |
| | | }); |
| | | } |
| | | content.Data = list; |
| | | content.OK(data: list); |
| | | } |
| | | else if (getLocationInfo.WarehouseId == 2) |
| | | { |
| | | |
| | | List<Dt_KLSLocationInfo> rGVLocationInfos = _kLSLocationInfoService.Repository.QueryData(x => x.WarehouseId == getLocationInfo.AreaCode.ObjToInt()); |
| | | foreach (var item in rGVLocationInfos) |
| | | { |
| | | list.Add(new |
| | | { |
| | | LoctionCode = item.LocationCode, |
| | | LocationStatus = item.LocationStatus, |
| | | EnableStatus = item.EnableStatus |
| | | }); |
| | | } |
| | | content.OK(data: list); |
| | | } |
| | | else if (getLocationInfo.WarehouseId == 3) |
| | | { |