From a14b9718755aeeb26b3035065a5e36c9dd1e1555 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期四, 20 十一月 2025 15:18:52 +0800
Subject: [PATCH] 修改
---
multi-system/src/main/java/com/gkhy/exam/system/service/impl/StandardizedTemplateServiceImpl.java | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/StandardizedTemplateServiceImpl.java b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/StandardizedTemplateServiceImpl.java
index 7a8eb90..3ec9946 100644
--- a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/StandardizedTemplateServiceImpl.java
+++ b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/StandardizedTemplateServiceImpl.java
@@ -19,6 +19,7 @@
import org.springframework.stereotype.Service;
import java.time.LocalDateTime;
+import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@@ -56,8 +57,14 @@
}
}
PageUtils.startPage();
- List<StandardizedTemplate> companyIndustryTemplates = standardizedTemplateMapper.selectStandardizedTemplateList(companyId, templateType);
- return CommonPage.restPage(companyIndustryTemplates);
+ List<StandardizedTemplate> standardizedTemplates =new ArrayList<>();
+ if (templateType==2 || templateType==10 || templateType == 3){
+ standardizedTemplates = standardizedTemplateMapper.selectStandardizedTemplateListV2(companyId, templateType, null);
+ }else {
+ standardizedTemplates = standardizedTemplateMapper.selectStandardizedTemplateList(companyId, templateType);
+ }
+
+ return CommonPage.restPage(standardizedTemplates);
}
@Override
--
Gitblit v1.9.2