From 7c926c1e3ade5158e6b1b0b805cd1b9c142e4b6c Mon Sep 17 00:00:00 2001 From: 肖洋 <cathay_xy@163.com> Date: 星期六, 21 十二月 2024 09:45:33 +0800 Subject: [PATCH] 更新代码以使用SqlSugarScope替代SqlSugarClient,并添加生产产线属性 --- Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Core/DB/BaseDBConfig.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Core/DB/BaseDBConfig.cs b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Core/DB/BaseDBConfig.cs index 65764aa..09440d9 100644 --- a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Core/DB/BaseDBConfig.cs +++ b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Core/DB/BaseDBConfig.cs @@ -39,7 +39,7 @@ public static List<MutiDBOperate> MutiInitConn() { - SqlSugarClient sqlSugarClient = new SqlSugarClient(new ConnectionConfig + SqlSugarScope sqlSugarClient = new SqlSugarScope(new ConnectionConfig { ConfigId = MainDb.CurrentDbConnId, ConnectionString = AppSettings.app(MainDb.ConnectionString).DecryptDES(AppSecret.DB), -- Gitblit v1.9.3