|
@@ -1,15 +1,12 @@
|
|
|
package org.dromara.controller.houseInfo;
|
|
|
|
|
|
import cn.dev33.satoken.annotation.SaCheckPermission;
|
|
|
-import jakarta.servlet.http.HttpServletResponse;
|
|
|
import jakarta.validation.constraints.NotEmpty;
|
|
|
import jakarta.validation.constraints.NotNull;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.dromara.common.core.domain.R;
|
|
|
-import org.dromara.common.core.domain.model.AjaxResult;
|
|
|
import org.dromara.common.core.validate.AddGroup;
|
|
|
import org.dromara.common.core.validate.EditGroup;
|
|
|
-import org.dromara.common.excel.utils.ExcelUtils;
|
|
|
import org.dromara.common.idempotent.annotation.RepeatSubmit;
|
|
|
import org.dromara.common.log.annotation.Log;
|
|
|
import org.dromara.common.log.enums.BusinessType;
|
|
@@ -24,7 +21,6 @@ import org.dromara.domain.residentInfo.ResidentInfo;
|
|
|
import org.dromara.service.IHouseInfoService;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
-import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
@@ -51,6 +47,15 @@ public class HouseInfoController extends BaseController {
|
|
|
return houseInfoService.queryPageList(residentInfo, pageQuery);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 查询房屋信息列表 物业查询 不带人员返回
|
|
|
+ */
|
|
|
+ @SaCheckPermission("wuYe:houseInfo:listManage")
|
|
|
+ @GetMapping("/listManage")
|
|
|
+ public TableDataInfo<HouseInfoVo> listManage(HouseInfoBo bo, PageQuery pageQuery) {
|
|
|
+ return houseInfoService.queryPageListManage(bo, pageQuery);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 查询房屋信息列表不分页
|
|
|
*/
|
|
@@ -74,9 +79,9 @@ public class HouseInfoController extends BaseController {
|
|
|
return R.ok(list);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+/* *//**
|
|
|
* 导出房屋信息列表
|
|
|
- */
|
|
|
+ *//*
|
|
|
@SaCheckPermission("wuYe:houseInfo:export")
|
|
|
@Log(title = "房屋信息", businessType = BusinessType.EXPORT)
|
|
|
@PostMapping("/export")
|
|
@@ -85,22 +90,22 @@ public class HouseInfoController extends BaseController {
|
|
|
list = houseInfoService.queryResidentInfo(list);
|
|
|
ExcelUtils<HouseInfoVo> util = new ExcelUtils<HouseInfoVo>(HouseInfoVo.class);
|
|
|
util.exportExcel(response, list, "房屋信息数据");
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
- /**
|
|
|
+/* *//**
|
|
|
* 导入房屋信息列表
|
|
|
*
|
|
|
* @param file
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
- */
|
|
|
+ *//*
|
|
|
@SaCheckPermission("wuYe:houseInfo:importData")
|
|
|
@PostMapping("/importData")
|
|
|
public AjaxResult importData(@RequestPart("file") MultipartFile file, boolean updateSupport) throws Exception {
|
|
|
ExcelUtils<HouseInfoVo> util = new ExcelUtils<HouseInfoVo>(HouseInfoVo.class);
|
|
|
List<HouseInfoVo> houseInfoList = util.importExcel(file.getInputStream());
|
|
|
return houseInfoService.importHouseInfo(houseInfoList);
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
/**
|
|
|
* 获取房屋信息详细信息
|