Beispiel #1
0
 /// <summary>
 /// 更新基金数目,并且写入实处明细
 /// </summary>
 public void UpdateiCent(int ID, int UID, string UsName, long iCent, int ToID, string AcText)
 {
     dal.UpdateiCent(ID, iCent);
     BCW.Model.Forumfund model = new BCW.Model.Forumfund();
     model.Types   = 2;
     model.ForumId = ID;
     model.UsID    = UID;
     model.UsName  = UsName;
     model.PayCent = -iCent;
     model.Content = AcText;
     model.ToID    = ToID;
     model.AddTime = DateTime.Now;
     new BCW.BLL.Forumfund().Add(model);
 }
Beispiel #2
0
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public void Update(BCW.Model.Forumfund model)
 {
     dal.Update(model);
 }
Beispiel #3
0
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public int  Add(BCW.Model.Forumfund model)
 {
     return(dal.Add(model));
 }