Exemplo n.º 1
0
 /// <summary>
 /// 设置用户浏览记录
 /// </summary>
 /// <param name="model">供求浏览实体</param>
 /// <returns>true:成功 false:失败</returns>
 public bool SetVisited(EyouSoft.Model.CommunityStructure.ExchangeVisited model)
 {
     if (model == null)
     {
         return(false);
     }
     return(dal.SetVisited(model));
 }
Exemplo n.º 2
0
 /// <summary>
 /// 写浏览记录
 /// </summary>
 private void SetHistory()
 {
     EyouSoft.Model.CommunityStructure.ExchangeVisited model = new EyouSoft.Model.CommunityStructure.ExchangeVisited();
     model.CompanyId  = SiteUserInfo.CompanyID;
     model.ExchangeId = id;
     model.IssueTime  = DateTime.Now;
     model.OperatorId = SiteUserInfo.ID;
     EyouSoft.BLL.CommunityStructure.ExchangeList.CreateInstance().SetVisited(model);
     model = null;
 }