| | |
| | | #endregion |
| | | |
| | | #region[存货档案查询] |
| | | public static ToMessage InventoryFileSelect(string partcode, string partname, string partspec, string stocktypecode, string materialtypecode, string storehousecode, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage InventoryFileSelect(string stu_torgcode,string stu_torgtypecode, string partcode, string partname, string partspec, string stocktypecode, string materialtypecode, string storehousecode, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return ProductModelDAL.InventoryFileSelect(partcode, partname, partspec, stocktypecode, materialtypecode, storehousecode, startNum, endNum, prop, order); |
| | | return ProductModelDAL.InventoryFileSelect(stu_torgcode, stu_torgtypecode,partcode, partname, partspec, stocktypecode, materialtypecode, storehousecode, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | #endregion |
| | | |
| | | #region[存货档案关联工艺路线查询] |
| | | public static ToMessage InventoryFileAssociationRoute(string partcode) |
| | | public static ToMessage InventoryFileAssociationRoute(string stu_torgcode,string stu_torgtypecode,string partcode) |
| | | { |
| | | return ProductModelDAL.InventoryFileAssociationRoute(partcode); |
| | | return ProductModelDAL.InventoryFileAssociationRoute(stu_torgcode, stu_torgtypecode,partcode); |
| | | } |
| | | #endregion |
| | | |
| | | #region[存货档案关联工艺路线提交] |
| | | public static ToMessage SaveInventoryFile(string partcode,string defaultroute_code, string username, List<ObjectData> json) |
| | | public static ToMessage SaveInventoryFile(string stu_torgcode,string stu_torgtypecode,string partcode,string defaultroute_code, string username, List<PartRout> json) |
| | | { |
| | | return ProductModelDAL.SaveInventoryFile(partcode, defaultroute_code, username, json); |
| | | return ProductModelDAL.SaveInventoryFile(stu_torgcode, stu_torgtypecode,partcode, defaultroute_code, username, json); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | |
| | | |
| | | #region[工序下拉查询接口] |
| | | public static ToMessage StepSelect() |
| | | public static ToMessage StepSelect(string WorkShop) |
| | | { |
| | | return ProductModelDAL.StepSelect(); |
| | | return ProductModelDAL.StepSelect(WorkShop); |
| | | } |
| | | #endregion |
| | | |
| | | #region[工艺路线查询] |
| | | public static ToMessage RouteSearch(string routecode, string routename, string description, string createuser, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage RouteSearch(string stu_torgcode,string stu_torgtypecode, string WorkShop,string routecode, string routename, string description, string createuser, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return ProductModelDAL.RouteSearch(routecode, routename, description, createuser, startNum, endNum, prop, order); |
| | | return ProductModelDAL.RouteSearch(stu_torgcode,stu_torgtypecode,WorkShop, routecode, routename, description, createuser, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | |
| | | |
| | | #region[工序查询] |
| | | public static ToMessage StepSearch(string stepcode, string stepname, string enable,string steptypecode, string createuser, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage StepSearch(string stu_torgcode,string stu_torgtypecode,string WorkShop, string stepcode, string stepname, string enable,string steptypecode, string createuser, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return ProductModelDAL.StepSearch(stepcode, stepname, enable, steptypecode, createuser, startNum, endNum, prop, order); |
| | | return ProductModelDAL.StepSearch(stu_torgcode, stu_torgtypecode, WorkShop, stepcode, stepname, enable, steptypecode, createuser, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[工序新增编辑] |
| | | public static ToMessage AddUpdateStep(string stepid, string stepcode, string stepname, string steptypecode, string enable, string description, string username, string operType) |
| | | public static ToMessage AddUpdateStep(string stepid,string WorkShop, string stepcode, string stepname, string steptypecode, string enable, string description, string username, string operType) |
| | | { |
| | | return ProductModelDAL.AddUpdateStep(stepid, stepcode, stepname, steptypecode, enable, description, username, operType); |
| | | return ProductModelDAL.AddUpdateStep(stepid, WorkShop, stepcode, stepname, steptypecode, enable, description, username, operType); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | #endregion |
| | | |
| | | #region[工序定义关联工作站查询] |
| | | public static ToMessage StepAssociationEqp(string stepcode) |
| | | public static ToMessage StepAssociationEqp(string WorkShop, string stepcode) |
| | | { |
| | | return ProductModelDAL.StepAssociationEqp(stepcode); |
| | | return ProductModelDAL.StepAssociationEqp(WorkShop,stepcode); |
| | | } |
| | | #endregion |
| | | |
| | | #region [工序定义关联工作站提交] |
| | | public static ToMessage SaveStepAssociationEqp(string stepcode, string username, List<ObjectData> json) |
| | | public static ToMessage SaveStepAssociationEqp(string WorkShop,string stepcode, string username, List<ObjectData> json) |
| | | { |
| | | return ProductModelDAL.SaveStepAssociationEqp(stepcode,username,json); |
| | | return ProductModelDAL.SaveStepAssociationEqp(WorkShop,stepcode, username,json); |
| | | } |
| | | #endregion |
| | | |
| | | #region[工序关联缺陷查询] |
| | | public static ToMessage StepAssociationDefect(string stepcode) |
| | | public static ToMessage StepAssociationDefect(string WorkShop, string stepcode) |
| | | { |
| | | return ProductModelDAL.StepAssociationDefect(stepcode); |
| | | return ProductModelDAL.StepAssociationDefect(WorkShop,stepcode); |
| | | } |
| | | #endregion |
| | | |
| | | #region[工序关联缺陷提交] |
| | | public static ToMessage SaveStepAssociationDefect(string stepcode, string username, List<ObjectData> json) |
| | | public static ToMessage SaveStepAssociationDefect(string WorkShop, string stepcode, string username, List<ObjectData> json) |
| | | { |
| | | return ProductModelDAL.SaveStepAssociationDefect(stepcode,username,json); |
| | | return ProductModelDAL.SaveStepAssociationDefect(WorkShop,stepcode, username,json); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | #endregion |
| | | |
| | | #region[产品编码查找工艺路线下拉框] |
| | | public static ToMessage PartSelectRpute(string partcode) |
| | | public static ToMessage PartSelectRpute(string stu_torgcode,string stu_torgtypecode,string partcode) |
| | | { |
| | | return ProductModelDAL.PartSelectRpute(partcode); |
| | | return ProductModelDAL.PartSelectRpute(stu_torgcode, stu_torgtypecode,partcode); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | #endregion |
| | | |
| | | #region[根据工序线编码查找关联设备集合] |
| | | public static ToMessage StepSelectEqpList(string partcode, string routecode, string stepcode, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage StepSelectEqpList(string partcode, string routecode, string stepcode,string steptype, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return ProductModelDAL.StepSelectEqpList(partcode, routecode, stepcode, startNum, endNum, prop, order); |
| | | return ProductModelDAL.StepSelectEqpList(partcode, routecode, stepcode, steptype, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[节拍工价查询] |
| | | public static ToMessage BeatRateSearch(string partcode,string routecode, string stepcode, string eqpcode,int startNum, int endNum, string prop, string order) |
| | | public static ToMessage BeatRateSearch(string stu_torgcode,string stu_torgtypecode,string partcode,string routecode, string stepcode, string eqpcode,int startNum, int endNum, string prop, string order) |
| | | { |
| | | return ProductModelDAL.BeatRateSearch(partcode,routecode, stepcode, eqpcode, startNum, endNum, prop, order); |
| | | return ProductModelDAL.BeatRateSearch(stu_torgcode, stu_torgtypecode,partcode, routecode, stepcode, eqpcode, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |