全局处理问题:public static Model.SGGLDB db = Funs.DB;
This commit is contained in:
@@ -8,7 +8,7 @@ namespace BLL
|
||||
{
|
||||
public static class GJSXService
|
||||
{
|
||||
public static Model.SGGLDB db = Funs.DB;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键获取信息
|
||||
@@ -104,6 +104,7 @@ namespace BLL
|
||||
|
||||
public static System.Collections.IEnumerable GetListData(string projectId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
IQueryable<Model.GJSX> q = GetGJSXList().AsQueryable();
|
||||
|
||||
if (!string.IsNullOrEmpty(projectId))
|
||||
|
||||
Reference in New Issue
Block a user