using Admin.NET.Application.Entity;
|
|
namespace Admin.NET.Application
|
{
|
/// <summary>
|
/// 容器和库位绑定关系帮助类
|
/// </summary>
|
public class ContainerPlaceHelper
|
{
|
|
|
/// <summary>
|
/// 组盘时验证
|
/// </summary>
|
/// <param name="entityWmsContainerPlace"></param>
|
/// <param name="containerCode"></param>
|
public static void ValidateContainerPlaceForGroupDisk(WmsContainerPlace entityWmsContainerPlace, string containerCode)
|
{
|
if (entityWmsContainerPlace == null)
|
{
|
throw Oops.Oh($"该容器{containerCode}还没有任何库位绑定关系,不可操作");
|
}
|
}
|
|
}
|
|
|
}
|