From 377ec88f74b14e7030537af8cec518b9a1a58238 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期四, 03 四月 2025 21:50:25 +0800
Subject: [PATCH] 修改bug

---
 ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TContractServiceImpl.java |   13 +++++++++++--
 1 files changed, 11 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 b8c2b1d..b9e250b 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;
 
@@ -211,7 +212,15 @@
      * @return
      */
     @Override
-    public Integer getCurrentMonthRentCount() {
-        return baseMapper.getCurrentMonthRentCount();
+    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