linwe
2024-05-29 c10d6358b9f014375a13821465bc978d0c0da22e
src/main/java/org/springblade/modules/house/mapper/HouseRentalMapper.java
@@ -16,10 +16,15 @@
 */
package org.springblade.modules.house.mapper;
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;
/**
@@ -37,7 +42,38 @@
    * @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);
   /**
    * 查询房屋出租情况
    * @param code
    * @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);
}