From 2d9a64c410f9e452951658f01ffc597d7bc1ea5f Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期四, 03 四月 2025 15:20:38 +0800
Subject: [PATCH] Merge branch 'xizang-changyun' of https://gitee.com/xiaochen991015/xizang
---
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TBillMapper.java | 33 ++++++++++++++++++++++++++++++++-
1 files changed, 32 insertions(+), 1 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 ab6c3dc..f87f3fe 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,8 +5,12 @@
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;
/**
* <p>
@@ -16,8 +20,35 @@
* @author xiaochen
* @since 2025-01-17
*/
+@Mapper
public interface TBillMapper extends BaseMapper<TBill> {
PageInfo<TBillDto> page(@Param("pageInfo") PageInfo<TBill> pageInfo, @Param("query") TBillQuery query);
+ List<TBillDto> getBillList(@Param("query")TBillQuery query);
+
+ /**
+ * 获取开票列表
+ * @param query
+ * @param pageInfo
+ * @return
+ */
+ List<TBillDto> invoiceList(@Param("query")TBillQuery query, @Param("pageInfo")PageInfo<TBillDto> pageInfo);
+
+ TBillDto selectDetailByBillId(@Param("billId") String billId);
+
+ BigDecimal statisticsAllRent(@Param("busDeptId") String busDeptId);
+
+ BigDecimal statisticsNoPay(@Param("busDeptId") String busDeptId);
+
+ BigDecimal statisticsPayed(@Param("busDeptId") String busDeptId);
+
+ BigDecimal statisticsOverdue(@Param("busDeptId") String busDeptId);
+
+ Integer batchBillCount(@Param("userId")String userId, @Param("billIds")List<String> billIds);
+ /**
+ * 街道租金排行
+ * @return
+ */
+ List<ScreenRentRankVO> getStreetRentRank(@Param("businessDeptId") String businessDeptId);
}
--
Gitblit v1.7.1