yl
2024-10-30 65a9633ebcf5cf4c0871d1c857a743ec7694c157
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
using Microsoft.AspNetCore.Http;
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 SopManageMentBLL
    {
        #region[系统设置,设备SOP查询]
        public static ToMessage DeviceSopSearch(string search, string check, int startNum, int endNum, string prop, string order)
        {
            return SopManageMentDAL.DeviceSopSearch(search, check, startNum, endNum, prop, order);
        }
        #endregion
 
        #region[系统设置,设备SOP新增]
        public static ToMessage DeviceSopAddSeave(string eqptypecode, string device, string filename, string filetypecode, IFormFile file, User us)
        {
            return SopManageMentDAL.DeviceSopAddSeave(eqptypecode, device, filename, filetypecode, file, us);
        }
        #endregion
 
        #region[系统设置,设备SOP删除]
        public static ToMessage DeviceSopDeleteSeave(string id, string eqpcode, string filepath, User us)
        {
            return SopManageMentDAL.DeviceSopDeleteSeave(id, eqpcode, filepath, us);
        }
        #endregion
 
 
 
        #region[系统设置,工艺SOP查询]
        public static ToMessage ProcessSopSearch(string search, string check, int startNum, int endNum, string prop, string order)
        {
            return SopManageMentDAL.ProcessSopSearch(search, check, startNum, endNum, prop, order);
        }
        #endregion
 
        #region[系统设置,工艺SOP上传获取最大版本号]
        public static ToMessage ProcessSopMaxVersion(string partcode, string routecode, string stepcode, string filetypecode, User us)
        {
            return SopManageMentDAL.ProcessSopMaxVersion(partcode, routecode, stepcode, filetypecode, us);
        }
        #endregion
 
        #region[系统设置,工艺SOP新增]
        public static ToMessage ProcessSopAddSeave(string partcode, string routecode, string stepcode, string filename, string filetypecode,string version, IFormFile file, User us)
        {
            return SopManageMentDAL.ProcessSopAddSeave(partcode, routecode, stepcode, filename, filetypecode, version, file, us);
        }
        #endregion
 
        #region[系统设置,工艺SOP删除]
        public static ToMessage ProcessSopDeleteSeave(string id, string partcode,string routecode,string stepcode, string filepath, User us)
        {
            return SopManageMentDAL.ProcessSopDeleteSeave(id, partcode, routecode, stepcode, filepath, us);
        }
        #endregion
 
 
        #region[系统设置,工单SOP查询]
        public static ToMessage WrkOrderSearch(string search, string check, int startNum, int endNum, string prop, string order)
        {
            return SopManageMentDAL.WrkOrderSearch(search, check, startNum, endNum, prop, order);
        }
        #endregion
 
        #region[系统设置,工单SOP上传获取最大版本号]
        public static ToMessage WrkOrderSopMaxVersion(string wocode, string partcode, string filetypecode, User us)
        {
            return SopManageMentDAL.WrkOrderSopMaxVersion(wocode, partcode, filetypecode, us);
        }
        #endregion
 
        #region[系统设置,工单SOP新增]
        public static ToMessage WrkOrderSopAddSeave(string wocode, string partcode, string filename, string filetypecode, string version, IFormFile file, User us)
        {
            return SopManageMentDAL.WrkOrderSopAddSeave(wocode, partcode, filename, filetypecode, version, file, us);
        }
        #endregion
 
        #region[系统设置,工单SOP删除]
        public static ToMessage WrkOrderSopDeleteSeave(string id, string wocode, string partcode, string filepath, User us)
        {
            return SopManageMentDAL.WrkOrderSopDeleteSeave(id, wocode, partcode, filepath, us);
        }
        #endregion
    }
}