先自我介绍一下,小编浙江大学毕业,去过华为、字节跳动等大厂,目前阿里P7
深知大多数程序员,想要提升技能,往往是自己摸索成长,但自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!
因此收集整理了一份《2024年最新大数据全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友。
既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上大数据知识点,真正体系化!
由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新
如果你需要这些资料,可以添加V获取:vip204888 (备注大数据)
///
///
private static void OnLogExecuting(string sql, SugarParameter[] parameters)
{
//StartTime = DateTime.Now;
}
///
/// 当数据库操作执行完毕后
///
///
///
private static void OnLogExecuted(string sql, SugarParameter[] parameters)
{
// EndTime = DateTime.Now;
//CreateHttpSqlLog(sql, parameters);
}
}
}
#### ⭐ OracleOfWork.cs(Oracle数据库)
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json;
using Serilog;
using SqlSugar;
using Supcon.APS.Common;
using Supcon.APS.Domain.Core;
using Supcon.APS.Domain.Entities;
using Supcon.APS.Domain.Entities.Sys;
using Supcon.APS.Domain.IRepository;
using System;
using System.IO;
using System.Linq;
namespace Sys.Infrastructure.Data
{
public class OracleOfWork : UnitOfWork, IUnitOfWork
{
public OracleOfWork(IConfiguration configuration, IHttpContextAccessor accessor) : base(configuration, accessor)
{
Db = new SqlSugarClient(new ConnectionConfig
{
ConnectionString = configuration.GetConnectionString(“Oracledb”), //数据库连接在 appsettings.json 中配置
DbType = DbType.Oracle,
IsAutoCloseConnection = true,
IsShardSameThread = true,
AopEvents = new AopEvents
{
OnLogExecuted = OnLogExecuted,
OnLogExecuting = OnLogExecuting,
OnError = OnError
}
});
}
///
/// 当数据库操作执行出错时
///
///
private static void OnError(SqlSugarException exception)
{
}
///
/// 当数据库操作执行时
///
///
///
private static void OnLogExecuting(string sql, SugarParameter[] parameters)
{
//StartTime = DateTime.Now;
}
///
/// 当数据库操作执行完毕后
///
///
///
private static void OnLogExecuted(string sql, SugarParameter[] parameters)
{
// EndTime = DateTime.Now;
//CreateHttpSqlLog(sql, parameters);
}
}
}
#### ⭐ HGdbOfWork.cs(瀚高数据库)
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json;
using Serilog;
using SqlSugar;
using Supcon.APS.Common;
using Supcon.APS.Domain.Core;
using Supcon.APS.Domain.Entities;
using Supcon.APS.Domain.Entities.Sys;
using Supcon.APS.Domain.IRepository;
using System;
using System.IO;
using System.Linq;
namespace Sys.Infrastructure.Data
{
public class HGdbOfWork : UnitOfWork, IUnitOfWork
{
public HGdbOfWork(IConfiguration configuration, IHttpContextAccessor accessor) : base(configuration, accessor)
{
Db = new SqlSugarClient(new ConnectionConfig
{
ConnectionString = configuration.GetConnectionString(“HGdb”), //数据库连接在 appsettings.json 中配置
DbType = SqlSugar.DbType.PostgreSQL,
IsAutoCloseConnection = true,
MoreSettings=new ConnMoreSettings() {
PgSqlIsAutoToLower=false //数据库存在大写字段的 ,需要把这个设为false ,并且实体和字段名称要一样
},
AopEvents = new AopEvents
{
OnLogExecuting = (sql, p) =>
{
Console.WriteLine(sql);