| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.Linq; |
| | | using System.Web; |
| | | using VueWebApi.DLL.DAL; |
| | |
| | | return SystemSettingDAL.NewEncodingRules(rightcode); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region[车间公告列表] |
| | | public static ToMessage SystemAnnouncementSearch(string wkspcode, string ancetitle, string ancecont, string cancel, string level, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return SystemSettingDAL.SystemAnnouncementSearch(wkspcode, ancetitle, ancecont, cancel, level, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[车间公告新增编辑提交] |
| | | public static ToMessage SystemAnnouncementAddUpdate(string id,DataTable dt, string ancetitle, string ancecont, string cancel, string level,string username, string opertype) |
| | | { |
| | | return SystemSettingDAL.SystemAnnouncementAddUpdate(id,dt, ancetitle, ancecont, cancel, level, username, opertype); |
| | | } |
| | | #endregion |
| | | |
| | | #region[车间公告删除] |
| | | public static ToMessage SystemAnnouncementDelete(string id) |
| | | { |
| | | return SystemSettingDAL.SystemAnnouncementDelete(id); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region[SOP列表查询] |
| | | public static ToMessage SystemSopSearch(string search, string check, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return SystemSettingDAL.SystemSopSearch(search,check,startNum,endNum,prop,order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[SOP文件上传查找设备类型数据] |
| | | public static ToMessage SystemSopDeviceSearch() |
| | | { |
| | | return SystemSettingDAL.SystemSopDeviceSearch(); |
| | | } |
| | | #endregion |
| | | |
| | | #region[SOP文件作业文件上传获取最大版本号] |
| | | public static ToMessage SystemSopMaxVersion(string devicetypecode, string filetypecode, string partcode) |
| | | { |
| | | return SystemSettingDAL.SystemSopMaxVersion(devicetypecode,filetypecode,partcode); |
| | | } |
| | | #endregion |
| | | |
| | | #region[SOP文件上传提交] |
| | | public static ToMessage SystemSopSava(string devicetypecode, string filetypecode, string partcode, string fileversion,string file_name, string defilename, string username, string strPath) |
| | | { |
| | | return SystemSettingDAL.SystemSopSava(devicetypecode, filetypecode, partcode,fileversion, file_name,defilename, username,strPath); |
| | | } |
| | | #endregion |
| | | |
| | | #region[SOP文件删除] |
| | | public static ToMessage SystemSopDelete(string id, string filepath) |
| | | { |
| | | return SystemSettingDAL.SystemSopDelete(id,filepath); |
| | | } |
| | | #endregion |
| | | } |
| | | } |