/// <summary> /// 更新一条数据 /// </summary> /// <param name="model"></param> /// <returns></returns> public int Update(T model) { return(dal.Modify(model)); }