| | |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | |
| | | |
| | | #region[工序检验记录列表查询] |
| | | /// <summary> |
| | | /// 工序检验记录列表查询 |
| | | /// </summary> |
| | | /// <param name="wocode">工单编号</param> |
| | | /// <param name="partcode">产品编码</param> |
| | | /// <param name="partname">产品名称</param> |
| | | /// <param name="partapec">产品名称</param> |
| | | /// <param name="stepname">产品名称</param> |
| | | /// <param name="standname">产品名称</param> |
| | | /// <param name="checktype">检验类型编码</param> |
| | | /// <param name="checkresult">检验结果</param> |
| | | /// <param name="page">页码</param> |
| | | /// <param name="rows">每页显示条数</param> |
| | | /// <param name="prop">排序字段</param> |
| | | /// <param name="order">排序规则</param> |
| | | /// <returns></returns> |
| | | [Route(template: "StepCheckTableSearch")] |
| | | [HttpGet] |
| | | public HttpResponseMessage StepCheckTableSearch(string wocode = null, string partcode = null, string partname = null, string partapec = null, string stepname = null,string standname=null, string checktype = null, string checkresult = null, int page = 0, int rows = 0, string prop = null, string order = null) |
| | | { |
| | | int startNum = rows * (page - 1) + 1; //起始记录rowNum |
| | | int endNum = rows * page; //结束记录 rowNum |
| | | mes = QualityManagementBLL.StepCheckTableSearch(wocode, partcode, partname,partapec,stepname,standname,checktype,checkresult, startNum, endNum, prop, order); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | | |
| | | #region[工序检验记录列表明细查询] |
| | | /// <summary> |
| | | /// 工序检验记录列表查询 |
| | | /// </summary> |
| | | /// <param name="id">主表id</param> |
| | | /// <returns></returns> |
| | | [Route(template: "StepCheckTableSubSearch")] |
| | | [HttpGet] |
| | | public HttpResponseMessage StepCheckTableSubSearch(string id) |
| | | { |
| | | mes = QualityManagementBLL.StepCheckTableSubSearch(id); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | | |
| | | #region[工序检验记录导出] |
| | | /// <summary> |
| | | /// 工序检验记录导出 |
| | | /// </summary> |
| | | /// <param name="wocode">工单编号</param> |
| | | /// <param name="partcode">产品编码</param> |
| | | /// <param name="partname">产品名称</param> |
| | | /// <param name="partapec">产品名称</param> |
| | | /// <param name="stepname">产品名称</param> |
| | | /// <param name="standname">产品名称</param> |
| | | /// <param name="checktype">检验类型编码</param> |
| | | /// <param name="checkresult">检验结果</param> |
| | | /// <param name="prop">排序字段</param> |
| | | /// <param name="order">排序规则</param> |
| | | /// <returns></returns> |
| | | [Route(template: "StepCheckTableOutExcel")] |
| | | [HttpGet] |
| | | public HttpResponseMessage StepCheckTableOutExcel(string wocode = null, string partcode = null, string partname = null, string partapec = null, string stepname = null, string standname = null, string checktype = null, string checkresult = null,string prop = null, string order = null) |
| | | { |
| | | mes = QualityManagementBLL.StepCheckTableOutExcel(wocode, partcode, partname, partapec, stepname, standname, checktype, checkresult, prop, order); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | | } |
| | | } |