linwe
2024-08-09 8b7258c9427882bb1798f1502eaa35184c6e374e
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("gridCodeList") List<String> gridCodeList,
                                       @Param("regionChildCodesList") List<String> regionChildCodesList,
                                       @Param("isAdministrator") Integer isAdministrator);
   /**
    * 查询房屋出租情况
@@ -46,4 +54,26 @@
    * @return
    */
    List<HouseRentalVO> getHouseRentalListByCode(@Param("code") String code);
   /**
    * 获取统计数据
    * @return
    */
   List<HouseRentalStatistics> getStatistics(@Param("vo") HouseRentalTenantVO houseRental,
                                   @Param("gridCodeList") List<String> gridCodeList,
                                   @Param("regionChildCodesList") List<String> regionChildCodesList,
                                   @Param("isAdministrator") Integer isAdministrator);
   /**
    * 导出租赁信息
    * @param houseRental
    * @return
    */
   List<HouseRentalExcel> export(@Param("vo") HouseRentalTenantVO houseRental);
   Integer getStatisticsCount(@Param("vo") HouseRentalTenantVO houseRental,
                        @Param("regionChildCodesList") List<String> regionChildCodesList,
                        @Param("gridCodeList") List<String> gridCodeList,
                        @Param("isAdministrator") Integer isAdministrator);
}