소스 검색

修改颗粒列表bug

cxs 1 년 전
부모
커밋
ae28d10098
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      OTSIncAReportApp/1-UI/Control_Grids/ParticlesGridDevidePage.cs

+ 1 - 1
OTSIncAReportApp/1-UI/Control_Grids/ParticlesGridDevidePage.cs

@@ -228,7 +228,7 @@ namespace OTSIncAReportGrids
                 Particledata = new ParticleData(result.FilePath);
                 string str_libraryName = ((Dictionary<string, object>)((Dictionary<string, object>)((Dictionary<string, object>)result.ResultInfo["Sample"])["Members"])["MsrParams"])["STDName"].ToString();
                 userLibrary = new UserLibraryData(str_libraryName);
-                if (userLibrary != null)
+                if (userLibrary.GetSqlHelper() != null)
                 {
                     userLibraryData = userLibrary.GetSubAttributeFromDatabase();
                 }