From b7df6735bcb2d447cae7fcfba2d12accf3dd2fcc Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Sat, 03 Feb 2024 17:27:21 +0800
Subject: [PATCH] 消防检查优化
---
src/main/java/org/springblade/modules/house/mapper/HouseRentalMapper.java | 26 +++++++++++++++++++++++++-
1 files changed, 25 insertions(+), 1 deletions(-)
diff --git a/src/main/java/org/springblade/modules/house/mapper/HouseRentalMapper.java b/src/main/java/org/springblade/modules/house/mapper/HouseRentalMapper.java
index 5a48599..c9c4628 100644
--- a/src/main/java/org/springblade/modules/house/mapper/HouseRentalMapper.java
+++ b/src/main/java/org/springblade/modules/house/mapper/HouseRentalMapper.java
@@ -18,9 +18,13 @@
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.house.entity.HouseRentalEntity;
+import org.springblade.modules.house.vo.HouseRentalStatistics;
+import org.springblade.modules.house.vo.HouseRentalTenantVO;
import org.springblade.modules.house.vo.HouseRentalVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.springblade.modules.house.excel.HouseRentalExcel;
+
import java.util.List;
/**
@@ -38,7 +42,11 @@
* @param houseRental
* @return
*/
- List<HouseRentalVO> selectHouseRentalPage(IPage page, HouseRentalVO houseRental);
+ List<HouseRentalTenantVO> selectHouseRentalPage(IPage page,
+ @Param("vo") HouseRentalTenantVO houseRental,
+ @Param("list") List<String> list,
+ @Param("regionChildCodesList") List<String> regionChildCodesList,
+ @Param("isAdministrator") Integer isAdministrator);
/**
* 查询房屋出租情况
@@ -46,4 +54,20 @@
* @return
*/
List<HouseRentalVO> getHouseRentalListByCode(@Param("code") String code);
+
+ /**
+ * 获取统计数据
+ * @return
+ */
+ List<HouseRentalStatistics> getStatistics(@Param("vo") HouseRentalTenantVO houseRental,
+ @Param("list") List<String> list);
+
+ /**
+ * 导出租赁信息
+ * @param houseRental
+ * @return
+ */
+ List<HouseRentalExcel> export(@Param("vo") HouseRentalTenantVO houseRental);
+
+ Integer getStatisticsCount(Long userId,String neiCode);
}
--
Gitblit v1.9.3