From 9403cf7c9c2cf4b12e9be5234c86ad86b737d680 Mon Sep 17 00:00:00 2001 From: 1073413548 <14628403+gjb0917@user.noreply.gitee.com> Date: Wed, 31 Jul 2024 17:26:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=88=90=E5=90=88=E5=90=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/PsContractInfoServiceImpl.java | 24 +------------------ 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/pusong-modules/pusong-business/src/main/java/com/pusong/business/service/impl/PsContractInfoServiceImpl.java b/pusong-modules/pusong-business/src/main/java/com/pusong/business/service/impl/PsContractInfoServiceImpl.java index 843469f..4028092 100644 --- a/pusong-modules/pusong-business/src/main/java/com/pusong/business/service/impl/PsContractInfoServiceImpl.java +++ b/pusong-modules/pusong-business/src/main/java/com/pusong/business/service/impl/PsContractInfoServiceImpl.java @@ -219,28 +219,6 @@ public class PsContractInfoServiceImpl implements IPsContractInfoService { } - - -// private LambdaQueryWrapper buildQueryWrapper(PsContractInfoBo bo) { -// LambdaQueryWrapper lqw = Wrappers.lambdaQuery(); -// lqw.eq(StringUtils.isNotBlank(bo.getContractCode()), PsContractInfo::getContractCode, bo.getContractCode()); -// lqw.like(StringUtils.isNotBlank(bo.getContractName()), PsContractInfo::getContractName, bo.getContractName()); -// lqw.eq(bo.getCustomId() != null, PsContractInfo::getCustomId, bo.getCustomId()); -// lqw.eq(bo.getCompanyId() != null, PsContractInfo::getCompanyId, bo.getCompanyId()); -// lqw.eq(StringUtils.isNotBlank(bo.getContractMain()), PsContractInfo::getContractMain, bo.getContractMain()); -// lqw.eq(bo.getCustomManager() != null, PsContractInfo::getCustomManager, bo.getCustomManager()); -// lqw.eq(bo.getContractAmount() != null, PsContractInfo::getContractAmount, bo.getContractAmount()); -// lqw.eq(StringUtils.isNotBlank(bo.getContractStatus()), PsContractInfo::getContractStatus, bo.getContractStatus()); -// lqw.between(params.get("beginApplyDate") != null && params.get("endApplyDate") != null, -// PsContractInfo::getApplyDate ,params.get("beginApplyDate"), params.get("endApplyDate")); -// lqw.eq(bo.getTimeLimit() != null, PsContractInfo::getTimeLimit, bo.getTimeLimit()); -// lqw.eq(StringUtils.isNotBlank(bo.getCustomScene()), PsContractInfo::getCustomScene, bo.getCustomScene()); -// lqw.eq(StringUtils.isNotBlank(bo.getIsProxy()), PsContractInfo::getIsProxy, bo.getIsProxy()); -// lqw.eq(StringUtils.isNotBlank(bo.getSignDesc()), PsContractInfo::getSignDesc, bo.getSignDesc()); -// lqw.eq(bo.getDelFlage() != null, PsContractInfo::getDelFlage, bo.getDelFlage()); -// return lqw; -// } - /** * 分页查询合同基本信息列表 * @@ -250,7 +228,7 @@ public class PsContractInfoServiceImpl implements IPsContractInfoService { */ @Override public TableDataInfo queryPageList(PsContractInfoBo bo, PageQuery pageQuery) { - Wrapper lqw = buildQueryWrapper(bo); + QueryWrapper lqw = buildQueryWrapper(bo); Page result = baseMapper.selectPageContractList(pageQuery.build(), lqw); return TableDataInfo.build(result); }