Admin
2025-12-23 3f016f3de352db04e5c2d99dae9e4b7472198359
项目代码/WMS/WIDESEA_WMSServer/WIDESEA.Services/Common/GetEmptyLocationAction.cs
@@ -54,10 +54,11 @@
                //}
            }
            List<Dt_taskinfo> outboundTask = Dt_taskinfoRepository.Instance.Find(r => (r.task_type == TaskType.TaskType_Box_Pallet_Measure_Out.ToString() &&
        //r.task_type.Contains("Out") &&
            List<Dt_taskinfo> outboundTask = Dt_taskinfoRepository.Instance.Find(r => ((r.task_type == TaskType.TaskType_Box_Pallet_Measure_Out.ToString() /*|| r.task_type == TaskType.TaskType_CheckOutbound.ToString()*/)
      &&
        (r.task_state.Equals(TaskState.TaskState_RGV_Received.ToString()) || r.task_state.Equals(TaskState.TaskState_RGV_Finished.ToString())))
        || r.task_type == TaskType.TaskType_Box_Pallet_Measure_Back.ToString());
            if (null != outboundTask && outboundTask.Count > 0)
            {
                List<string> fromStation = outboundTask.Select(r => r.task_fromlocationid).ToList();
@@ -127,6 +128,7 @@
              && !x.location_islocked && listLayer.Contains(x.location_layer)).OrderBy(x => x.location_layer).ThenBy(x => x.location_column).FirstOrDefault();
                if (null != locationinfo)
                    return locationinfo;
            }