/// <summary> /// 根据 账号 查找 通知集合 2017年6月27日21:12:04 /// </summary> /// <param name="find"></param> /// <returns></returns> public List <HS_Inform> FindHS_Inform_ByAccount(E_User find) { string ss = ""; ss = @"select * from HS_Inform where ( inform_Message_Time < inform_Message_Total_Time )"; if (!string.IsNullOrWhiteSpace(find.user_Account)) { ss += " and inform_User_Account = '" + find.user_Account + "'"; } str = ss + " order by inform_Id desc "; DataTable table = sql.FillDt(str); List <HS_Inform> list = HS_Inform.DataTable2HS_Inform(table); return(list); }
/// <summary> /// 删除 5-11前参数是传string id /// </summary> /// <param name="id">id</param> /// <returns>bool</returns> public bool delete(HS_Inform inform_del) { return(dal_base.delete(inform_del)); }
/// <summary> /// 增加 信息插入记录 /// </summary> /// <param name="inform_in"></param> /// <returns></returns> public bool insert(HS_Inform inform_in) { return(dal_base.insert(inform_in)); }
/// <summary> /// 信息更新记录 /// </summary> /// <param name="ll"></param> /// <returns></returns> public bool update(HS_Inform inform_up) { return(dal_base.update(inform_up)); }