chenhaozhe
1 天以前 dc14855856044cf390385d5d5e09b38b2aa49a08
WebAPI/Controllers/XSGL/Kf_SellOutBillController.cs
@@ -2050,22 +2050,17 @@
                    return objJsonResult;
                }
                DataSet ds2 = oCN.RunProcReturn("exec h_p_Kf_CheckSellOutBill_BalanceQuery " + HInterID, "h_p_Kf_CheckSellOutBill_BalanceQuery");
                DataSet ds2 = oCN.RunProcReturn("exec h_p_Kf_CheckSellOutBill_CrediControl " + HInterID, "h_p_Kf_CheckSellOutBill_BalanceQuery");
                if ((int)ds2.Tables[0].Rows[0]["HBack"] == 1)
                if (ds2 == null)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = ds2.Tables[0].Rows[0]["HRemark"].ToString();
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                else
                    throw new Exception("无返回值!");
                }else
                {
                    objJsonResult.code = "1";
                    objJsonResult.count = 1;
                    objJsonResult.Message = "Sucess!";
                    objJsonResult.data = ds2.Tables[1];
                    objJsonResult.data = ds2.Tables[0];
                    return objJsonResult;
                }
            }