/// <summary> /// 更新一条数据 /// </summary> public bool Update(Topicsys.Model.t_notice model) { model.notice_body = BLL.Compression.CompressString(model.notice_body); return(dal.Update(model)); }
/// <summary> /// 增加一条数据 /// </summary> public bool Add(Topicsys.Model.t_notice model) { /// 自动压缩 model.notice_body = BLL.Compression.CompressString(model.notice_body); return(dal.Add(model)); }