全局处理问题:public static Model.SGGLDB db = Funs.DB;

This commit is contained in:
2026-04-23 11:36:49 +08:00
parent 5a38880a14
commit 746cb57619
315 changed files with 641 additions and 449 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ namespace BLL
{
public static class LeavePostService
{
public static Model.SGGLDB db = Funs.DB;
#region
/// <summary>
/// 记录数
@@ -21,7 +21,7 @@ namespace BLL
/// <summary>
/// 定义变量
/// </summary>
private static IQueryable<Model.RealName_LeavePost> getLeavePosts = from x in db.RealName_LeavePost select x;
private static IQueryable<Model.RealName_LeavePost> getLeavePosts = from x in Funs.DB.RealName_LeavePost select x;
/// <summary>
/// 获取分页列表