From 0a5e1b26aa2d82e5c5ba58a3749a31289d5aaf51 Mon Sep 17 00:00:00 2001 From: "chen.ma" Date: Wed, 7 Jul 2021 10:01:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=BA=BF=E7=A8=8B?= =?UTF-8?q?=E6=B1=A0=E6=9F=A5=E8=AF=A2=E4=BC=A0=E5=8F=82=E9=94=99=E8=AF=AF?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../threadpool/config/service/biz/ThreadPoolServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/src/main/java/io/dynamic/threadpool/config/service/biz/ThreadPoolServiceImpl.java b/config/src/main/java/io/dynamic/threadpool/config/service/biz/ThreadPoolServiceImpl.java index 0891bd37..96b843ca 100644 --- a/config/src/main/java/io/dynamic/threadpool/config/service/biz/ThreadPoolServiceImpl.java +++ b/config/src/main/java/io/dynamic/threadpool/config/service/biz/ThreadPoolServiceImpl.java @@ -34,7 +34,7 @@ public class ThreadPoolServiceImpl implements ThreadPoolService { @Override public IPage queryThreadPoolPage(ThreadPoolQueryReqDTO reqDTO) { LambdaQueryWrapper wrapper = Wrappers.lambdaQuery(ConfigAllInfo.class) - .eq(!StringUtils.isBlank(reqDTO.getItemId()), ConfigAllInfo::getTenantId, reqDTO.getItemId()) + .eq(!StringUtils.isBlank(reqDTO.getTenantId()), ConfigAllInfo::getTenantId, reqDTO.getTenantId()) .eq(!StringUtils.isBlank(reqDTO.getItemId()), ConfigAllInfo::getItemId, reqDTO.getItemId()) .eq(!StringUtils.isBlank(reqDTO.getTpId()), ConfigAllInfo::getTpId, reqDTO.getTpId()); return configInfoMapper.selectPage(reqDTO, wrapper).convert(each -> BeanUtil.convert(each, ThreadPoolRespDTO.class)); @@ -42,7 +42,7 @@ public class ThreadPoolServiceImpl implements ThreadPoolService { @Override public ThreadPoolRespDTO getThreadPool(ThreadPoolQueryReqDTO reqDTO) { - ConfigAllInfo configAllInfo = configService.findConfigAllInfo(reqDTO.getTpId(), reqDTO.getItemId(), reqDTO.getItemId()); + ConfigAllInfo configAllInfo = configService.findConfigAllInfo(reqDTO.getTpId(), reqDTO.getItemId(), reqDTO.getTenantId()); return BeanUtil.convert(configAllInfo, ThreadPoolRespDTO.class); }