WebAPI/Controllers/Pay_SingleBalBillController.cs
@@ -310,6 +310,30 @@
                return objJsonResult;
            }
        }
        [Route("Pay_SingleBalBill/getSingleBalBillPrice")]
        [HttpGet]
        public object getSingleBalBillPrice(string HMaterID,string HProcID)
        {
            try
            {
                DataSet ds = oCN.RunProcReturn("select 单价 from h_v_Gy_ProcPriceList where HMaterID='" + HMaterID + "' and HProcID='" + HProcID + "'", "h_v_Gy_ProcPriceList");
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = "查询成功!";
                objJsonResult.data = ds.Tables[0];
                return objJsonResult;
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "Exception!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        //
    }
}