From ac6fb5406fccf2d9a0e39ae5e299c7fa207978da Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期四, 12 九月 2024 17:44:26 +0800
Subject: [PATCH] 数据集配置

---
 iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/dao/IndItemDao.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/dao/IndItemDao.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/dao/IndItemDao.java
index 3cb5a78..7500386 100644
--- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/dao/IndItemDao.java
+++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/dao/IndItemDao.java
@@ -21,8 +21,8 @@
         return selectPage(reqVO, new LambdaQueryWrapperX<IndItemEntity>()
                 .likeIfPresent(IndItemEntity::getItemNo, reqVO.getItemNo())
                 .likeIfPresent(IndItemEntity::getItemName, reqVO.getItemName())
-                .eq(IndItemEntity::getItemType, reqVO.getItemType())
-                .eq(IndItemEntity::getItemCategory, reqVO.getItemCategory())
+                .eqIfPresent(IndItemEntity::getItemType, reqVO.getItemType())
+                .eqIfPresent(IndItemEntity::getItemCategory, reqVO.getItemCategory())
                 .orderByDesc(IndItemEntity::getCreateTime));
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3