| | |
| | | util.exportExcel(response,list,"家庭资产导入模板"); |
| | | } |
| | | |
| | | // /** |
| | | // * 导出家庭资产记录列表 |
| | | // */ |
| | | //// @PreAuthorize("@ss.hasPermi('system:property:export')") |
| | | // @Log(title = "家庭资产记录", businessType = BusinessType.EXPORT) |
| | | // @PostMapping("/export") |
| | | // public void export(HttpServletResponse response,ZfProperty zfProperty) |
| | | // { |
| | | // List<ZfProperty> list = zfPropertyService.selectByCondition(zfProperty); |
| | | // log.info("导出记录为:{}",list); |
| | | // ExcelUtil<ZfProperty> util = new ExcelUtil<>(ZfProperty.class); |
| | | // util.exportExcel(response, list, "家庭资产记录数据"); |
| | | // } |
| | | /** |
| | | * 导出家庭资产记录列表 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:property:export')") |
| | | @Log(title = "家庭资产记录", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response,ZfProperty zfProperty) |
| | | { |
| | | List<ZfProperty> list = zfPropertyService.selectByCondition(zfProperty); |
| | | log.info("导出记录为:{}",list); |
| | | ExcelUtil<ZfProperty> util = new ExcelUtil<>(ZfProperty.class); |
| | | util.exportExcel(response, list, "家庭资产记录数据"); |
| | | } |
| | | /** |
| | | * 导出家庭资产记录列表 |
| | | */ |
| | | @Log(title = "家庭大事件记录", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export/{ids}") |
| | | @PostMapping("/export1/{ids}") |
| | | public void export1(HttpServletResponse response, @PathVariable Long[] ids) { |
| | | List<ZfProperty> list = zfPropertyService.selectByIds(ids); |
| | | log.info("导出记录为:{}", list); |