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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using VueWebCoreApi.DLL.DAL;
using VueWebCoreApi.Models;
using VueWebCoreApi.Tools;
 
namespace VueWebCoreApi.DLL.BLL
{
    public class MouldManagerBLL
    {
        #region[模具清单列表查询]
        public static ToMessage MouldMangerSearch(string mouldstaus, string onstate, string mouldcode, string mouldname, string mouldspec, string createuser, string opendate, string closedate, int startNum, int endNum, string prop, string order)
        {
            return MouldManagerDAL.MouldMangerSearch(mouldstaus, onstate, mouldcode, mouldname, mouldspec, createuser, opendate, closedate, startNum, endNum, prop, order);
        }
        #endregion
 
        #region[模具清单新增编辑]
        public static ToMessage AddUpdateMouldManger(string mouldcode, string mouldname, string mouldspec, string warehousecode, string surplife, string resilife, string status, string mouldpart, string opertype, User us)
        {
            return MouldManagerDAL.AddUpdateMouldManger(mouldcode, mouldname, mouldspec, warehousecode, surplife, resilife, status, mouldpart, opertype, us);
        }
        #endregion
 
        #region[模具清单删除]
        public static ToMessage DeleteMouldManger(string mouldcode, User us)
        {
            return MouldManagerDAL.DeleteMouldManger(mouldcode, us);
        }
        #endregion
 
 
        #region[模具点检项列表查询]
        public static ToMessage MouldCheckItemSearch(string checkitemcode, string checkitemname, string checkdescr, int startNum, int endNum, string prop, string order)
        {
            return MouldManagerDAL.MouldCheckItemSearch(checkitemcode, checkitemname, checkdescr, startNum, endNum, prop, order);
        }
        #endregion
 
        #region[模具点检项新增编辑]
        public static ToMessage AddUpdateMouldCheckItem(string checkitemid, string checkitemcode, string checkitemname, string checkitemdescr, User us, string opertype)
        {
            return MouldManagerDAL.AddUpdateMouldCheckItem(checkitemid, checkitemcode, checkitemname, checkitemdescr, us, opertype);
        }
        #endregion
 
        #region[模具点检项删除]
        public static ToMessage DeleteMouldCheckItem(string checkitemcode,User us)
        {
            return MouldManagerDAL.DeleteMouldCheckItem(checkitemcode,us);
        }
        #endregion
 
 
        #region[模具点检标准列表查询]
        public static ToMessage DeviceCheckStandArdSearch(string checkstandcode, string checkstandname, string checkstandescr, int startNum, int endNum, string prop, string order)
        {
            return MouldManagerDAL.DeviceCheckStandArdSearch(checkstandcode, checkstandname, checkstandescr, startNum, endNum, prop, order);
        }
        #endregion
 
        #region[模具点检标准编辑/查看获取数据]
        public static ToMessage ViewMouldCheckStanedSearch(string checkstand_code)
        {
            return MouldManagerDAL.ViewMouldCheckStanedSearch(checkstand_code);
        }
        #endregion
 
        #region[模具点检标准新增编辑]
        public static ToMessage AddUpdateMouldCheckStandArd(string opertype, RoutEdit json, User us)
        {
            return MouldManagerDAL.AddUpdateMouldCheckStandArd(opertype, json, us);
        }
        #endregion
 
        #region[模具点检标准删除]
        public static ToMessage DeleteMouldCheckStaned(string checkstand_code, User us)
        {
            return MouldManagerDAL.DeleteMouldCheckStaned(checkstand_code, us);
        }
        #endregion
 
        #region[模具点检标准关联模具查询]
        public static ToMessage CheckStanedAssociationMould(string checkstand_code)
        {
            return MouldManagerDAL.CheckStanedAssociationMould(checkstand_code);
        }
        #endregion
 
        #region [模具点检标准关联模具提交]
        public static ToMessage SaveCheckStanedAssociationMould(string checkstand_code, User us, List<ObjectData> json)
        {
            return MouldManagerDAL.SaveCheckStanedAssociationMould(checkstand_code, us, json);
        }
        #endregion
 
 
        #region[模具保养项列表查询]
        public static ToMessage MouldMaiItemSearch(string maiitemcode, string maiitemname, string maidescr, int startNum, int endNum, string prop, string order)
        {
            return MouldManagerDAL.MouldMaiItemSearch(maiitemcode, maiitemname, maidescr, startNum, endNum, prop, order);
        }
        #endregion
 
        #region[模具保养项新增编辑]
        public static ToMessage AddUpdateMouldMaiItem(string maiitemid, string maiitemcode, string maiitemname, string maiitemdescr, User us, string opertype)
        {
            return MouldManagerDAL.AddUpdateMouldMaiItem(maiitemid, maiitemcode, maiitemname, maiitemdescr, us, opertype);
        }
        #endregion
 
        #region[模具保养项删除]
        public static ToMessage DeleteMouldMaiItem(string maiitemcode, User us)
        {
            return MouldManagerDAL.DeleteMouldMaiItem(maiitemcode, us);
        }
        #endregion
 
 
        #region[模具保养标准列表查询]
        public static ToMessage MouldRepairStandArdSearch(string repairstandcode, string repairstandname, string repairstandescr, int startNum, int endNum, string prop, string order)
        {
            return MouldManagerDAL.MouldRepairStandArdSearch(repairstandcode, repairstandname, repairstandescr, startNum, endNum, prop, order);
        }
        #endregion
 
        #region[模具保养标准编辑/查看获取数据]
        public static ToMessage ViewMouldRepairStanedSearch(string repairstand_code)
        {
            return MouldManagerDAL.ViewMouldRepairStanedSearch(repairstand_code);
        }
        #endregion
 
        #region[模具保养标准新增编辑]
        public static ToMessage AddUpdateMouldRepairStandArd(string opertype, RoutEdit json, User us)
        {
            return MouldManagerDAL.AddUpdateMouldRepairStandArd(opertype, json, us);
        }
        #endregion
 
        #region[模具保养标准删除]
        public static ToMessage DeleteMouldRepairStaned(string repairstand_code, User us)
        {
            return MouldManagerDAL.DeleteMouldRepairStaned(repairstand_code, us);
        }
        #endregion
 
        #region[模具保养标准关联模具查询]
        public static ToMessage RepairStanedAssociationMould(string repairstand_code)
        {
            return MouldManagerDAL.RepairStanedAssociationMould(repairstand_code);
        }
        #endregion
 
        #region [模具保养标准关联模具提交]
        public static ToMessage SaveRepairStanedAssociationMould(string repairstand_code, User us, List<ObjectData> json)
        {
            return MouldManagerDAL.SaveRepairStanedAssociationMould(repairstand_code, us, json);
        }
        #endregion
    }
}