From a03a1a440e45f0b64f19640e48e9099b2b79d3b9 Mon Sep 17 00:00:00 2001
From: yupeng <roc__yu@163.com>
Date: 星期二, 22 四月 2025 12:54:51 +0800
Subject: [PATCH] feat: 缴费的扣款金额,返回设置为支付金额

---
 ruoyi-system/src/main/java/com/ruoyi/system/mapper/TBillMapper.java |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TBillMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TBillMapper.java
index 5041a90..e0c85e5 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TBillMapper.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TBillMapper.java
@@ -10,6 +10,7 @@
 import org.apache.ibatis.annotations.Param;
 
 import java.math.BigDecimal;
+import java.util.Date;
 import java.util.List;
 
 /**
@@ -25,6 +26,8 @@
 
     PageInfo<TBillDto> page(@Param("pageInfo") PageInfo<TBill> pageInfo, @Param("query") TBillQuery query);
 
+    PageInfo<TBillDto> pageForApplet(@Param("pageInfo") PageInfo<TBill> pageInfo, @Param("query") TBillQuery query);
+
     List<TBillDto> getBillList(@Param("query")TBillQuery query);
 
     /**
@@ -37,18 +40,24 @@
 
     TBillDto selectDetailByBillId(@Param("billId") String billId);
 
-    BigDecimal statisticsAllRent(@Param("busDeptId") String busDeptId);
+    BigDecimal statisticsAllRent(@Param("query") TBillQuery query);
 
-    BigDecimal statisticsNoPay(@Param("busDeptId") String busDeptId);
+    BigDecimal statisticsNoPay(@Param("query") TBillQuery query);
 
-    BigDecimal statisticsPayed(@Param("busDeptId") String busDeptId);
+    BigDecimal statisticsPayed(@Param("query") TBillQuery query);
 
-    BigDecimal statisticsOverdue(@Param("busDeptId") String busDeptId);
+    BigDecimal statisticsOverdue(@Param("query") TBillQuery query);
 
     Integer batchBillCount(@Param("userId")String userId, @Param("billIds")List<String> billIds);
     /**
      * 街道租金排行
      * @return
      */
-    List<ScreenRentRankVO> getStreetRentRank();
+    List<ScreenRentRankVO> getStreetRentRank(@Param("businessDeptId") String businessDeptId);
+    /**
+     * 查询季付账单
+     * @param businessDeptId
+     * @return
+     */
+    List<TBill> getJiFuBillList(@Param("businessDeptId") String businessDeptId, @Param("first") Date first, @Param("last") Date last);
 }

--
Gitblit v1.7.1