From c2505547f1bf207057c4e8e697585a271c2e5bff Mon Sep 17 00:00:00 2001 From: yinq Date: Wed, 25 Feb 2026 08:58:37 +0800 Subject: [PATCH] =?UTF-8?q?1.0.67=20=E6=A0=B9=E6=8D=AEID=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E5=90=88=E5=90=8C=E5=8F=96=E6=B6=88=E6=95=B0=E6=8D=AE=E6=9D=83?= =?UTF-8?q?=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/dromara/oa/erp/mapper/ErpContractInfoMapper.java | 9 +++++++++ .../oa/erp/service/impl/ErpContractInfoServiceImpl.java | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ruoyi-modules/ruoyi-oa/src/main/java/org/dromara/oa/erp/mapper/ErpContractInfoMapper.java b/ruoyi-modules/ruoyi-oa/src/main/java/org/dromara/oa/erp/mapper/ErpContractInfoMapper.java index 7b533564..3ae21b92 100644 --- a/ruoyi-modules/ruoyi-oa/src/main/java/org/dromara/oa/erp/mapper/ErpContractInfoMapper.java +++ b/ruoyi-modules/ruoyi-oa/src/main/java/org/dromara/oa/erp/mapper/ErpContractInfoMapper.java @@ -44,4 +44,13 @@ public interface ErpContractInfoMapper extends BaseMapperPlus selectCustomErpContractInfoVoList(@Param(Constants.WRAPPER) MPJLambdaWrapper queryWrapper); + + /** + * 查询合同信息列表 + * + * @param queryWrapper 条件 + * @return 合同信息集合 + */ + public List selectCustomErpContractInfoVoList(@Param(Constants.WRAPPER) MPJLambdaWrapper queryWrapper, Boolean single); + } diff --git a/ruoyi-modules/ruoyi-oa/src/main/java/org/dromara/oa/erp/service/impl/ErpContractInfoServiceImpl.java b/ruoyi-modules/ruoyi-oa/src/main/java/org/dromara/oa/erp/service/impl/ErpContractInfoServiceImpl.java index 4120fa6e..723e0518 100644 --- a/ruoyi-modules/ruoyi-oa/src/main/java/org/dromara/oa/erp/service/impl/ErpContractInfoServiceImpl.java +++ b/ruoyi-modules/ruoyi-oa/src/main/java/org/dromara/oa/erp/service/impl/ErpContractInfoServiceImpl.java @@ -80,7 +80,7 @@ public class ErpContractInfoServiceImpl implements IErpContractInfoService { .selectAll(ErpContractInfo.class) .eq(contractId != null, ErpContractInfo::getContractId, contractId) .eq("t.del_flag", "0"); - List infoList = baseMapper.selectCustomErpContractInfoVoList(infoLqw); + List infoList = baseMapper.selectCustomErpContractInfoVoList(infoLqw, true); ErpContractInfoVo contractInfoVo = infoList.isEmpty() ? null : infoList.get(0); if (contractInfoVo == null) { return null;