| | |
| | | #region[器具分布式调出单编辑时获取表头数据] |
| | | [Route("Sc_MouldOtherInBill/Sc_MouldOtherInBillListCheckDetai")] |
| | | [HttpGet] |
| | | public ApiResult<DataSet> Sc_MouldOtherInBillListCheckDetai(string HID) |
| | | public ApiResult<DataSet> Sc_MouldOtherInBillListCheckDetai(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 where hmainid= " + HID + " ", "h_v_Sc_MouldOtherInBillList"); |
| | | var dataSet = oCN.RunProcReturn("select top 1 * from h_v_Sc_MouldOtherInBillList where hmainid= " + HID + " ", "h_v_Sc_MouldOtherInBillList"); |
| | | if (dataSet == null || dataSet.Tables[0].Rows.Count == 0) |
| | | return new ApiResult<DataSet> { code = -1, msg = "不存在退库单号" }; |
| | | |