using HH.WMS.DAL.Basic; using HH.WMS.Entitys.Algorithm; 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_B_STOCK_AREABLL : DapperBaseBLL { #region 根据库区编码获取库区实体 /// /// 所有仓库 /// /// 库区编码 /// /// [HANHE(XDL)] CREATED BY 2018-11-21 public AutoBomStockAreaEntity GetStockAreaEntity(string areaCode) { return CreateDAL().GetStockAreaEntity(areaCode); } #endregion #region 单条查询 /// /// 单条查询 /// /// /// /// public AutoBomStockAreaEntity GetSingle(string field, string value) { return CreateDAL().GetSingle(field, value); } #endregion #region 查询库区 /// /// 查询库区 /// /// 包含库区类型 1:库区 2:作业区 3:逻辑分区 4:1+2 /// 仓库编号 /// public List GetArea(int include, string stockCode = "") { return CreateDAL().GetArea(stockCode, include); } #endregion public List GetAreaListByType(string areaType) { return CreateDAL().GetAreaListByType(areaType); } public List GetStockAreas() { return CreateDAL().GetStockAreas(); } #region 获取所有自动库区 /// /// 获取所有自动库区 /// /// public List GetAutoAreas() { return CreateDAL().GetAutoAreas(); } #endregion #region 获取所有库区 /// /// 获取所有库区 /// /// public List GetAllAreas() { return CreateDAL().GetAllAreas(); } public List GetListByStockArea(string areaType) { return CreateDAL().GetListByStockArea(areaType); } #endregion #region 修改库区模式 /// /// 修改库区模式 /// /// /// public bool UpdateServiceMode(AutoBomStockAreaEntity areaEntity) { return CreateDAL().UpdateServiceMode(areaEntity); } /// /// 根据作业区类型获取库区列表 /// /// 作业区类型 /// public List GetAreaByAreaClass(string areaClass) { return CreateDAL().GetAreaByAreaClass(areaClass); throw new NotImplementedException(); } /// /// 通过多个作业区类型获取库区集合 /// /// /// public List GetAreaByManyClass(string areasClass) { return CreateDAL().GetAreaByManyClass(areasClass); throw new NotImplementedException(); } /// /// 根据作业区类型获取库区列表 /// /// 作业区类型 /// public List GetAreaByAreaClassYS(string areaClass) { return CreateDAL().GetAreaByAreaClassYS(areaClass); throw new NotImplementedException(); } /// /// 通过多个作业区类型获取库区集合 /// /// /// public List GetAreaByManyClassYS(string areasClass) { return CreateDAL().GetAreaByManyClassYS(areasClass); throw new NotImplementedException(); } #endregion } }