Exemplo n.º 1
0
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public int Add(int user_id, string user_name, string recharge_no, int payment_id, decimal amount)
 {
     Model.user_recharge model = new Model.user_recharge();
     model.user_id     = user_id;
     model.user_name   = user_name;
     model.recharge_no = recharge_no;
     model.payment_id  = payment_id;
     model.amount      = amount;
     model.status      = 0;
     model.add_time    = DateTime.Now;
     return(dal.Add(model));
 }
Exemplo n.º 2
0
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public int Add(Model.user_recharge model)
 {
     return(dal.Add(model));
 }