From 44036f6e3f4d443d58f594774ef89221f7a87036 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: Mon, 02 Feb 2026 17:28:34 +0800
Subject: [PATCH] 增加初始化数据
---
multi-system/src/main/java/com/gkhy/exam/system/service/impl/ProcessInspectionServiceImpl.java | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/ProcessInspectionServiceImpl.java b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/ProcessInspectionServiceImpl.java
index 3a2ead2..aa89026 100644
--- a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/ProcessInspectionServiceImpl.java
+++ b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/ProcessInspectionServiceImpl.java
@@ -7,7 +7,6 @@
import com.gkhy.exam.system.domain.ProcessInspection;
import com.gkhy.exam.system.mapper.ProcessInspectionMapper;
import com.gkhy.exam.system.service.ProcessInspectionService;
-import net.sf.jsqlparser.expression.operators.relational.ItemsList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@@ -21,14 +20,14 @@
private ProcessInspectionMapper processInspectionMapper;
@Override
- public CommonPage selectProcessInspectionList(Integer companyId, Integer templateType) {
+ public CommonPage selectProcessInspectionList(Integer companyId, Integer templateType,Integer itemId) {
boolean admin = SecurityUtils.adminUser();
if (!admin){
if (companyId==null){
companyId = SecurityUtils.getCompanyId().intValue();
}
}
- List<ProcessInspection> processInspections = processInspectionMapper.selectByCompanyidAndTypeList(companyId, templateType);
+ List<ProcessInspection> processInspections = processInspectionMapper.selectByCompanyidAndTypeList(companyId, templateType, itemId);
return CommonPage.restPage(processInspections);
}
--
Gitblit v1.9.2