From 97871acca7244e36da73749c67fd5e0920edf978 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期一, 30 三月 2026 11:15:03 +0800
Subject: [PATCH] 修改查询入库数据报错
---
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