From fa45f3232c4d7c08975cacc668b6eca69b217edb Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期三, 16 十月 2024 15:28:50 +0800 Subject: [PATCH] 让数据库表可以存空值 --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/dao/HttpTagDao.java | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/dao/HttpTagDao.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/dao/HttpTagDao.java index aee37f1..d1ec9fc 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/dao/HttpTagDao.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/dao/HttpTagDao.java @@ -13,8 +13,7 @@ public interface HttpTagDao extends BaseMapperX<HttpTagEntity> { default PageResult<HttpTagEntity> selectPage(HttpTagPageReqVO reqVO) { return selectPage(reqVO, new LambdaQueryWrapperX<HttpTagEntity>() - .likeIfPresent(HttpTagEntity::getTagName, reqVO.getTagType()) - .likeIfPresent(HttpTagEntity::getTagName, reqVO.getTagCode()) + .eq(HttpTagEntity::getApiId, reqVO.getApiId()) .likeIfPresent(HttpTagEntity::getTagName, reqVO.getTagName()) .orderByDesc(HttpTagEntity::getCreateTime)); } -- Gitblit v1.9.3