From cbd64aeeae6aa7db0026ee5e430877321467c05f Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期三, 12 二月 2025 15:08:50 +0800
Subject: [PATCH] 修改合同账单

---
 ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TContractServiceImpl.java |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TContractServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TContractServiceImpl.java
index 10ad7c9..cbe4cc0 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TContractServiceImpl.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TContractServiceImpl.java
@@ -118,6 +118,7 @@
         CheckAcceptRecordVO checkAcceptRecordVO = new CheckAcceptRecordVO();
         TCheckAcceptRecord tCheckAcceptRecord = checkAcceptRecordMapper.selectOne(new LambdaQueryWrapper<TCheckAcceptRecord>()
                 .eq(TCheckAcceptRecord::getContractId, id));
+        if (tCheckAcceptRecord==null)return checkAcceptRecordVO;
         BeanUtils.copyProperties(tCheckAcceptRecord,checkAcceptRecordVO);
         THouse tHouse = houseMapper.selectById(tCheckAcceptRecord.getHouseId());
         tHouse.setLeaseStatus(DictUtils.getDictLabel(DictConstants.DICT_TYPE_LEASE_STATUS,tHouse.getLeaseStatus()));
@@ -170,8 +171,18 @@
 //        deposit.setPayableFeesTime(contract.getFirstPayTime());
 //        deposit.setPayFeesStatus("1");
 //        deposit.setBillType("2");
-
-
         return R.ok();
     }
+
+    @Override
+    public void export(TContractQuery query) {
+
+    }
+
+    @Override
+    public List<TContract> contractExportList(TContractQuery query) {
+        List<TContract> list = this.baseMapper.contractExportList(query);
+
+        return list;
+    }
 }

--
Gitblit v1.7.1