소스 검색

Merge branch 'OTSRelease3_0' of http://36.129.163.148:30080/gogsadmin/OTS into OTSRelease3_0

cxs 1 년 전
부모
커밋
333cdff64d
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 2
      OTSCPP/OTSRptCalculate/Model/ReportMgr.cpp
  2. 1 1
      OTSCPP/OTSRptCalculate/Model/ReportMgr.h

+ 3 - 2
OTSCPP/OTSRptCalculate/Model/ReportMgr.cpp

@@ -166,7 +166,7 @@ namespace OTSMODEL {
 		// reset property parameters
 		ResetPropertyParams();
 
-		// ok, return TRUE
+		listGBFields.clear();
 		return TRUE;
 	}
 	void CReportMgr::ClearSmplResults()
@@ -259,7 +259,8 @@ namespace OTSMODEL {
 	
 	CGBFieldList CReportMgr::GetAllGBFields(CPropParamPtr thePropParam)
 	{
-		static	CGBFieldList listGBFields;
+		
+		
 		if (listGBFields.size() == 0)
 		{
 			CGBCalculate GBCal(this);

+ 1 - 1
OTSCPP/OTSRptCalculate/Model/ReportMgr.h

@@ -98,7 +98,7 @@ namespace OTSMODEL {
 
 		BOOL EstimateShowColumn(CString a_strColName);
 
-	
+			CGBFieldList listGBFields;
 
 		
 	};