Beispiel #1
0
 /// <summary>
 /// 获取返利总金额
 /// </summary>
 /// <param name="OrderID">订单ID</param>
 /// <param name="DisID">代理商ID</param>
 /// <returns></returns>
 public static string GetRebate(int OrderID, int DisID)
 {
     if (OrderID != 0)
     {
         return((bate.GetEditEnableAmount(OrderID, DisID)).ToString("N"));
     }
     else
     {
         return((bate.GetRebateEnableAmount(DisID)).ToString("N"));
     }
 }