From 1fad0578c97abbb7fc30f59eb1de0f23f08ddde1 Mon Sep 17 00:00:00 2001
From: zhangmei <645025773@qq.com>
Date: 星期四, 27 三月 2025 15:21:15 +0800
Subject: [PATCH] 流水、开票营业部权限

---
 ruoyi-system/src/main/java/com/ruoyi/system/mapper/TBillMapper.java |   15 ++++++++++-----
 1 files changed, 10 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 357d516..5041a90 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
@@ -5,9 +5,9 @@
 import com.ruoyi.system.dto.TBillDto;
 import com.ruoyi.system.model.TBill;
 import com.ruoyi.system.query.TBillQuery;
+import com.ruoyi.system.vo.ScreenRentRankVO;
 import org.apache.ibatis.annotations.Mapper;
 import org.apache.ibatis.annotations.Param;
-import org.apache.ibatis.annotations.Select;
 
 import java.math.BigDecimal;
 import java.util.List;
@@ -37,13 +37,18 @@
 
     TBillDto selectDetailByBillId(@Param("billId") String billId);
 
-    BigDecimal statisticsAllRent();
+    BigDecimal statisticsAllRent(@Param("busDeptId") String busDeptId);
 
-    BigDecimal statisticsNoPay();
+    BigDecimal statisticsNoPay(@Param("busDeptId") String busDeptId);
 
-    BigDecimal statisticsPayed();
+    BigDecimal statisticsPayed(@Param("busDeptId") String busDeptId);
 
-    BigDecimal statisticsOverdue();
+    BigDecimal statisticsOverdue(@Param("busDeptId") String busDeptId);
 
     Integer batchBillCount(@Param("userId")String userId, @Param("billIds")List<String> billIds);
+    /**
+     * 街道租金排行
+     * @return
+     */
+    List<ScreenRentRankVO> getStreetRentRank();
 }

--
Gitblit v1.7.1