This commit is contained in:
霍尔 committed 2023-10-26 09:55:15 +08:00
1 parent 523dee5e38
commit f9bf7be066
12 files changed
+635 -42

No files matched your search

@@ -141,8 +141,9 @@ public class ShipOutController : BaseController
{
// 查找目标库位
var toLocation = _unitWork.FindSingle<Location>(x => x.Status.Equals(LocationStatus.空仓位)
&& x.Type.Equals(LocationTypeEnum.散料库位)
&& x.Row.Equals(box.Row));
&& x.Type.Equals(LocationTypeEnum.散料库位)
&& x.Code == boxCode
&& x.Row.Equals(box.Row));
if (toLocation != null)
{
@@ -155,7 +156,7 @@ public class ShipOutController : BaseController
ContainerCode = boxCode,
FromLocation = box.Code,
ToLocation = toLocation.Code,
Status = TaskStatusEnum.新建,
Status = TaskStatusEnum.待下发,
CreateBy = Wtm.LoginUserInfo.ITCode,
CreateTime = DateTime.Now
};