| | |
| | | #endregion |
| | | |
| | | #region[质量管理,缺陷定义删除] |
| | | public static ToMessage DeleteDedect(string defectcode) |
| | | public static ToMessage DeleteDedect(string defectcode, User us) |
| | | { |
| | | return QualityManagementDAL.DeleteDedect(defectcode); |
| | | 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 |
| | | } |