1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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
    }
}