linwe
2023-12-23 55d677758efadb6d42e6d4e595cecc2c50c20d5a
src/main/java/org/springblade/modules/house/controller/HouseRentalController.java
@@ -118,7 +118,6 @@
   @ApiOperationSupport(order = 5)
   @ApiOperation(value = "修改", notes = "传入houseRental")
   public R update(@RequestBody HouseRentalEntity houseRental) {
      houseRental.setUpdateTime(new Date());
      houseRental.setUpdateUser(AuthUtil.getUserId());
      return R.status(houseRentalService.updateById(houseRental));
   }
@@ -189,14 +188,12 @@
   }
   /**
    * 导出用户
    * 导出租赁信息
    */
   @GetMapping("export-house")
   @ApiOperationSupport(order = 13)
   @ApiOperation(value = "导出出租房屋", notes = "传入user")
   public void exportUser(HouseRentalVO houseRentalVO, HttpServletResponse response) {
   @GetMapping("export-houseRental")
   public void exportHouseRental(HouseRentalTenantVO houseRentalVO, HttpServletResponse response) {
      List<HouseRentalExcel> list = houseRentalService.export(houseRentalVO);
      ExcelUtil.export(response, "房屋数据" + DateUtil.time(), "房屋数据表", list, HouseRentalExcel.class);
      ExcelUtil.export(response, "出租屋数据" + DateUtil.time(), "出租屋数据表", list, HouseRentalExcel.class);
   }