Browse Source

修复效能配置导出错误。

Ulricy 1 year ago
parent
commit
35410fa946
1 changed files with 1 additions and 1 deletions
  1. 1 1
      QFD/common/ExportReportManager.cpp

+ 1 - 1
QFD/common/ExportReportManager.cpp

@@ -959,7 +959,7 @@ void ExportReportManager::insertEffiConfigData()
 
 
     QMap<QString, QString> gradeInfoData;
     QMap<QString, QString> gradeInfoData;
 
 
-    if (m_schemeType == 2) {
+    if (m_schemeType == 1) {
         QList<GradeIndexInfo *> gradeIndexInfoList;
         QList<GradeIndexInfo *> gradeIndexInfoList;
         ret = GradeIndexInfoService().QueryGradeIndexInfoByProjectId(&gradeIndexInfoList, m_proj->id);
         ret = GradeIndexInfoService().QueryGradeIndexInfoByProjectId(&gradeIndexInfoList, m_proj->id);
         if (ret == false || gradeIndexInfoList.size() <= 0) {
         if (ret == false || gradeIndexInfoList.size() <= 0) {