using System; using System.Collections.Generic; using System.Linq; using System.Web; using VueWebApi.DLL.DAL; using VueWebApi.Models; using VueWebApi.Tools; namespace VueWebApi.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, string username) { return QualityManagementDAL.AddUpdateDedect(defectcode, defectname, defectdescr, opertype, username); } #endregion #region[质量管理,缺陷定义删除] public static ToMessage DeleteDedect(string defectcode) { return QualityManagementDAL.DeleteDedect(defectcode); } #endregion #region[工序检验标准列表查询] public static ToMessage StepCheckStanedSearch(string stanedcode, string stanedname, string staneddescr, int startNum, int endNum, string prop, string order) { return QualityManagementDAL.StepCheckStanedSearch(stanedcode, stanedname, staneddescr, startNum, endNum, prop, order); } #endregion #region[工序检验标准编辑获取数据] public static ToMessage EditStepCheckStanedSearch(string defectcode) { return QualityManagementDAL.EditStepCheckStanedSearch(defectcode); } #endregion #region[工序检验标准新增、编辑获取检验项目下拉列表] public static ToMessage StepCheckItemSelect() { return QualityManagementDAL.StepCheckItemSelect(); } #endregion #region[工序检验标准删除] public static ToMessage DeleteStepCheckStaned(string stanedcode) { return QualityManagementDAL.DeleteStepCheckStaned(stanedcode); } #endregion #region[工序检验标准新增、编辑提交] public static ToMessage AddUpdateStepCheckStaned(string opertype, RoutEdit json, string username) { return QualityManagementDAL.AddUpdateStepCheckStaned(opertype,json,username); } #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, string username) { return QualityManagementDAL.AddUpdateStepCheckItem(checkitemcode, checkitemname, checkitemdescr, opertype, username); } #endregion #region[工序检验项目删除] public static ToMessage DeleteStepCheckItem(string checkitemcode) { return QualityManagementDAL.DeleteStepCheckItem(checkitemcode); } #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 #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, string username) { return QualityManagementDAL.QualityInspectionAddEditSave(qualityinsptcode, qualityinsptname, status, checktype, sampmethod, sampscare, suitobject, suitpart, descr, stepcode, checkitem, type, username); } #endregion #region[质检方案删除] public static ToMessage QualityInspectionDelete(string qualityinsptcode, string username) { return QualityManagementDAL.QualityInspectionDelete(qualityinsptcode, username); } #endregion } }