| | |
| | | { |
| | | try |
| | | { |
| | | DAL.ClsGy_ProcPrice_Ctl oProcPrice = new DAL.ClsGy_ProcPrice_Ctl(); |
| | | double HPrice = oProcPrice.LoadProcPrice(HMaterID, HProcID, HSourceID, true); |
| | | double HPrice=0; |
| | | ds = oCn.RunProcReturn("exec h_p_Pay_GetPriceByMaterHProcHSource " + HMaterID.ToString() + "," + HProcID.ToString() + "," + HSourceID.ToString(), "h_p_Pay_GetPriceByMaterHProcHSource"); |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | HPrice = 0; |
| | | } |
| | | else |
| | | { |
| | | HPrice = DBUtility.ClsPub.isDoule(ds.Tables[0].Rows[0]["HPrice"]); |
| | | } |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.Message = "æåï¼"; |
| | | objJsonResult.data = HPrice; |
| | | return objJsonResult; |
| | | } |