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
| 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 QualityManagementBLL
| {
| #region[质量管理,缺陷定义查询列表]
| public static ToMessage DedectSearch(string defectcode, string defectname, string defectdescr, int startNum, int endNum, string prop, string order)
| {
| return QualityManagementDAL.DedectSearch(defectcode, defectname, defectdescr, startNum, endNum, prop, order);
| }
| #endregion
|
| #region[质量管理,缺陷定义新增、编辑提交]
| public static ToMessage AddUpdateDedect(string defectcode, string defectname, string defectdescr, string opertype, User us)
| {
| return QualityManagementDAL.AddUpdateDedect(defectcode, defectname, defectdescr, opertype, us);
| }
| #endregion
|
| #region[质量管理,缺陷定义删除]
| public static ToMessage DeleteDedect(string defectcode, User us)
| {
| return QualityManagementDAL.DeleteDedect(defectcode,us);
| }
| #endregion
|
|
| #region[工序检验项目列表查询]
| public static ToMessage StepCheckItemSearch(string itemcode, string itemname, string itemdescr, int startNum, int endNum, string prop, string order)
| {
| return QualityManagementDAL.StepCheckItemSearch(itemcode, itemname, itemdescr, startNum, endNum, prop, order);
| }
| #endregion
|
| #region[工序检验项目新增、编辑提交]
| public static ToMessage AddUpdateStepCheckItem(string checkitemcode, string checkitemname, string checkitemdescr, string opertype, User us)
| {
| return QualityManagementDAL.AddUpdateStepCheckItem(checkitemcode, checkitemname, checkitemdescr, opertype, us);
| }
| #endregion
|
| #region[工序检验项目删除]
| public static ToMessage DeleteStepCheckItem(string checkitemcode, User us)
| {
| return QualityManagementDAL.DeleteStepCheckItem(checkitemcode,us);
| }
| #endregion
|
|
| #region[工序质检方案列表查询]
| public static ToMessage QualityInspectionSearch(string qualityinsptcode, string qualityinsptname, string status, string checktype, string sampltype, string suitobject, int startNum, int endNum, string prop, string order)
| {
| return QualityManagementDAL.QualityInspectionSearch(qualityinsptcode, qualityinsptname, status, checktype, sampltype, suitobject, startNum, endNum, prop, order);
| }
| #endregion
|
| #region[工序质检方案查看编辑]
| public static ToMessage QualityInspectionSeeEdit(string qualityinsptcode)
| {
| return QualityManagementDAL.QualityInspectionSeeEdit(qualityinsptcode);
| }
| #endregion
|
| #region[工序质检方案新增/编辑提交]
| public static ToMessage QualityInspectionAddEditSave(string qualityinsptcode, string qualityinsptname, string status, string checktype, string sampmethod, string sampscare, string suitobject, string suitpart, string descr, string stepcode, string checkitem, string type, User us)
| {
| return QualityManagementDAL.QualityInspectionAddEditSave(qualityinsptcode, qualityinsptname, status, checktype, sampmethod, sampscare, suitobject, suitpart, descr, stepcode, checkitem, type, us);
| }
| #endregion
|
| #region[工序质检方案删除]
| public static ToMessage QualityInspectionDelete(string qualityinsptcode, User us)
| {
| return QualityManagementDAL.QualityInspectionDelete(qualityinsptcode, us);
| }
| #endregion
|
|
| #region[工序检验扫码获取任务信息]
| public static ToMessage MesOrderStepCheckSearch(string orderstepqrcode, string checktype)
| {
| return QualityManagementDAL.MesOrderStepCheckSearch(orderstepqrcode, checktype);
| }
| #endregion
|
| #region[工序检验根据选择的检验方案查找检验项目]
| public static ToMessage MesOrderStepCheckItemList(string checkstandcode)
| {
| return QualityManagementDAL.MesOrderStepCheckItemList(checkstandcode);
| }
| #endregion
|
| #region[工序检验,提交]
| public static ToMessage SaveMesOrderStepCheckItem(string wocode, string partcode, string stepcode, string checkstandcode, string check_type, string sampmethod, string qualitystatus, string labqty, string sampleqty, string goodqty, string ngqty, string checkitemcont, User us)
| {
| return QualityManagementDAL.SaveMesOrderStepCheckItem(wocode, partcode, stepcode, checkstandcode, check_type, sampmethod, qualitystatus, labqty, sampleqty, goodqty, ngqty, checkitemcont, us);
| }
| #endregion
|
|
| #region[工序检验记录列表查询]
| public static ToMessage StepCheckTableSearch(string wocode, string partcode, string partname, string partapec, string stepname, string standname, string checktype, string checkresult, int startNum, int endNum, string prop, string order)
| {
| return QualityManagementDAL.StepCheckTableSearch(wocode, partcode, partname, partapec, stepname, standname, checktype, checkresult, startNum, endNum, prop, order);
| }
| #endregion
|
| #region[工序检验记录列表明细查询]
| public static ToMessage StepCheckTableSubSearch(string id)
| {
| return QualityManagementDAL.StepCheckTableSubSearch(id);
| }
| #endregion
|
| #region[工序检验记录导出]
| public static ToMessage StepCheckTableOutExcel(string wocode, string partcode, string partname, string partapec, string stepname, string standname, string checktype, string checkresult, string prop, string order)
| {
| return QualityManagementDAL.StepCheckTableOutExcel(wocode, partcode, partname, partapec, stepname, standname, checktype, checkresult, prop, order);
| }
| #endregion
| }
| }
|
|