using System; using System.Collections.Generic; using System.Linq; using System.Web; using VueWebApi.DLL.DAL; using VueWebApi.Tools; namespace VueWebApi.DLL.BLL { public class MaterialManagerBLL { #region[仓库查询] public static ToMessage WareHouseDefSearch(string warehousecode, string warehousename, string description, string createuser, int startNum, int endNum, string prop, string order) { return MaterialManagerDAL.WareHouseDefSearch(warehousecode, warehousename, description, createuser, startNum, endNum, prop, order); } #endregion #region[仓库新增编辑] public static ToMessage AddUpdateWareHouseDef(string warehouseid, string warehousecode, string warehousename, string description, string username, string operType) { return MaterialManagerDAL.AddUpdateWareHouseDef(warehouseid, warehousecode, warehousename, description, username, operType); } #endregion #region[仓库删除] public static ToMessage DeleteWareHouseDef(string warehousecode) { return MaterialManagerDAL.DeleteWareHouseDef(warehousecode); } #endregion #region[所属仓库接口] public static ToMessage WareHouseSelect() { return MaterialManagerDAL.WareHouseSelect(); } #endregion #region[仓库定义查询] public static ToMessage StorageDefSearch(string storagecode, string storagename, string description, string createuser, string stockcode, int startNum, int endNum, string prop, string order) { return MaterialManagerDAL.StorageDefSearch(storagecode, storagename, description, createuser, stockcode, startNum, endNum, prop, order); } #endregion #region[仓库定义新增、修改] public static ToMessage AddUpdateStorageDef(string storageid, string storagecode, string storagename, string description, string stockcode, string username, string operType) { return MaterialManagerDAL.AddUpdateStorageDef(storageid, storagecode, storagename, description, stockcode, username, operType); } #endregion #region[仓库删除] public static ToMessage DeleteStorageDef(string storagecode) { return MaterialManagerDAL.DeleteStorageDef(storagecode); } #endregion } }