| | |
| | | import org.springblade.modules.house.mapper.HouseRentalMapper; |
| | | import org.springblade.modules.house.service.IHouseRentalService; |
| | | import org.springblade.modules.house.vo.HouseTenantVO; |
| | | import org.springblade.modules.system.excel.HouseExcel; |
| | | import org.springblade.modules.system.excel.HouseRentalExcel; |
| | | import org.springblade.modules.house.excel.HouseRentalExcel; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.stream.Collectors; |
| | | |
| | | /** |
| | |
| | | return updateById(houseRental); |
| | | } |
| | | |
| | | /** |
| | | * 导出租赁信息 |
| | | * @param houseRentalVO |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<HouseRentalExcel> export(HouseRentalVO houseRentalVO) { |
| | | public List<HouseRentalExcel> export(HouseRentalTenantVO houseRentalVO) { |
| | | List<HouseRentalExcel> houseRentalExcels = baseMapper.export(houseRentalVO); |
| | | return houseRentalExcels; |
| | | } |
| | | |
| | | @Override |
| | | public Integer getStatisticsCount(HouseRentalTenantVO houseRental) { |
| | | return baseMapper.getStatisticsCount(AuthUtil.getUserId()); |
| | | } |
| | | } |