From 06b9be2fcdd28813b9b2afedf52adb3492eba293 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 11 三月 2026 10:35:07 +0800
Subject: [PATCH] fix:同步(安全培训-筛选sql优化)
---
src/main/java/com/ruoyi/warehouse/service/impl/DocumentClassificationServiceImpl.java | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/src/main/java/com/ruoyi/warehouse/service/impl/DocumentClassificationServiceImpl.java b/src/main/java/com/ruoyi/warehouse/service/impl/DocumentClassificationServiceImpl.java
index a36a143..54c642e 100644
--- a/src/main/java/com/ruoyi/warehouse/service/impl/DocumentClassificationServiceImpl.java
+++ b/src/main/java/com/ruoyi/warehouse/service/impl/DocumentClassificationServiceImpl.java
@@ -48,14 +48,10 @@
}
@Override
- public List<DocumentClassificationTreeDto> selectDocumentClassificationList(DocumentClassificationDto documentClassificationDto) {
+ public List<DocumentClassificationTreeDto> selectDocumentClassificationList() {
// 鏌ヨ鏍硅妭鐐癸紙parentId 涓� null锛�
LambdaQueryWrapper<DocumentClassification> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.isNull(DocumentClassification::getParentId);
-
- if (documentClassificationDto.getCategory() != null && !documentClassificationDto.getCategory().isEmpty()) {
- queryWrapper.like(DocumentClassification::getCategory, documentClassificationDto.getCategory());
- }
// 鏌ヨ鏍硅妭鐐瑰垪琛�
List<DocumentClassification> rootList = baseMapper.selectList(queryWrapper);
--
Gitblit v1.9.3