zzr99
2021-09-30 5b8c86d6c9901a57d5688a16b0d0c569a87acbf9
WebAPI/Controllers/Sc_MouldOtherInBillController.cs
@@ -125,13 +125,13 @@
        #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 = "不存在退库单号" };