/// <summary> /// 增加一条数据 /// </summary> public int Add(int user_id, string user_name, decimal value, string remark) { Model.user_amount_log model = new Model.user_amount_log(); model.user_id = user_id; model.user_name = user_name; model.value = value; model.remark = remark; return(dal.Add(model)); }
/// <summary> /// 增加一条数据 /// </summary> public int Add(Model.user_amount_log model) { return(dal.Add(model)); }