| | |
| | | |
| | | #region 器具改制入库单据维护列表 |
| | | |
| | | [Route("Sc_MouldRepairInBillList/GetMouldRepairInBillList")] |
| | | [Route("Sc_CheckToolsRepairWorkBillList/GetMouldRepairInBillList")] |
| | | [HttpGet] |
| | | public object GetMouldRepairInBillList(string sWhere) |
| | | { |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region[模具改制入库单编辑时获取表头数据] |
| | | [Route("Sc_CheckToolsRepairWorkBillList/Sc_MouldRepairInHouseBillListCheckDetai")] |
| | | [HttpGet] |
| | | public ApiResult<DataSet> Sc_MouldRepairInHouseBillListCheckDetai(string HID) |
| | | { |
| | | if (string.IsNullOrEmpty(HID)) |
| | | return new ApiResult<DataSet> { code = -1, msg = "ID不能为空" }; |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | |
| | | var dataSet = oCN.RunProcReturn("select top 1 * from h_v_Sc_MouldProdInHouseBillList where hmainid= " + HID + " ", "h_v_Sc_MouldProdInHouseBillList"); |
| | | if (dataSet == null || dataSet.Tables[0].Rows.Count == 0) |
| | | return new ApiResult<DataSet> { code = -1, msg = "不存在单号" }; |
| | | |
| | | return new ApiResult<DataSet> { code = 1, msg = "查询成功", data = dataSet }; |
| | | } |
| | | #endregion |
| | | |
| | | #endregion |
| | | |
| | | //#region 模具领用单 |