From 5fa6e6f8410ef9d057174bcff2a3c5038c54a551 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期日, 27 四月 2025 18:41:20 +0800
Subject: [PATCH] bug修改

---
 ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TContractServiceImpl.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 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 09ca4dc..9abc49d 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
@@ -31,6 +31,7 @@
 import com.ruoyi.system.service.TContractService;
 import com.ruoyi.system.vo.BillVO;
 import com.ruoyi.system.vo.CheckAcceptRecordVO;
+import com.ruoyi.system.vo.ScreenRentIncomeTrendVO;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
@@ -124,6 +125,7 @@
     public void terminateContract(TerminateContractDTO dto) {
         TContract contract = this.baseMapper.selectById(dto.getId());
         contract.setTerminateRemark(dto.getTerminateRemark());
+        contract.setTerminateTime(dto.getTerminateTime());
         this.baseMapper.updateById(contract);
         // 进入合同提前终止审批流程
         ProcessStartBO processStartBO = new ProcessStartBO();
@@ -214,4 +216,12 @@
     public Integer getCurrentMonthRentCount(String businessDeptId) {
         return baseMapper.getCurrentMonthRentCount(businessDeptId);
     }
+
+    @Override
+    public PageInfo<TContract> queryPage(TContractQuery query) {
+        PageInfo<TContract> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize());
+        pageInfo = this.baseMapper.page(pageInfo,query);
+        return pageInfo;
+    }
+
 }

--
Gitblit v1.7.1