生成合同

This commit is contained in:
1073413548 2024-07-31 17:26:46 +08:00
parent cf4f820efa
commit 9403cf7c9c

View File

@ -219,28 +219,6 @@ public class PsContractInfoServiceImpl implements IPsContractInfoService {
} }
// private LambdaQueryWrapper<PsContractInfo> buildQueryWrapper(PsContractInfoBo bo) {
// LambdaQueryWrapper<PsContractInfo> 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 @Override
public TableDataInfo<PsContractInfoVo> queryPageList(PsContractInfoBo bo, PageQuery pageQuery) { public TableDataInfo<PsContractInfoVo> queryPageList(PsContractInfoBo bo, PageQuery pageQuery) {
Wrapper<PsCustomInfo> lqw = buildQueryWrapper(bo); QueryWrapper<PsContractInfo> lqw = buildQueryWrapper(bo);
Page<PsContractInfoVo> result = baseMapper.selectPageContractList(pageQuery.build(), lqw); Page<PsContractInfoVo> result = baseMapper.selectPageContractList(pageQuery.build(), lqw);
return TableDataInfo.build(result); return TableDataInfo.build(result);
} }