using HH.WMS.DAL.Basic;
|
using HH.WMS.Entitys.Basic;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace HH.WMS.BLL.Basic
|
{
|
public class TN_AB_STOCK_LOCATIONBLL:BaseBLL
|
{
|
/// <summary>
|
/// 根据货位编号查询货位实体(MongoDB)
|
/// </summary>
|
/// <param name="location"></param>
|
/// <returns></returns>
|
/// <History>[Hanhe(XDL)] CREATED 2018-11-13</History>
|
public AutoBomLocationEntity GetLocationModel(string CN_S_LOCATION_CODE)
|
{
|
return CreateDAL<TN_AB_STOCK_LOCATIONDAL>().GetLocationModel(CN_S_LOCATION_CODE);
|
}
|
|
#region 根据货位编号查询货位实体重载
|
/// <summary>
|
/// 根据货位编号查询货位实体(MongoDB)
|
/// </summary>
|
/// <param name="location"></param>
|
/// <returns></returns>
|
/// <History>[Hanhe(zh)] created 2018-5-3</History>
|
public AutoBomLocationEntity GetModel(string location, string stock)
|
{
|
return CreateDAL<TN_AB_STOCK_LOCATIONDAL>().GetModel(location, stock);
|
}
|
#endregion
|
|
#region 更新库区编号获取库区下的所有货位
|
/// <summary>
|
/// 更新库区编号获取库区下的所有货位
|
/// </summary>
|
/// <param name="areaCode">库区编号</param>
|
/// <returns></returns>
|
/// <History>[Hanhe(DBS)] CREATED 2018-11-29</History>
|
public List<AutoBomLocationEntity> GetAreaLocations(string areaCode)
|
{
|
return CreateDAL<TN_AB_STOCK_LOCATIONDAL>().GetAreaLocations(areaCode);
|
}
|
#endregion
|
}
|
}
|