| | |
| | | private IZfPropertyService zfPropertyService; |
| | | |
| | | @GetMapping("/all") |
| | | public AjaxResult listAll(@RequestBody ZfProperty zfProperty){ |
| | | public AjaxResult listAll(ZfProperty zfProperty){ |
| | | Integer pageNum = Convert.toInt(ServletUtils.getParameter(PAGE_NUM), 1); |
| | | Integer pageSize = Convert.toInt(ServletUtils.getParameter(PAGE_SIZE), 10); |
| | | return zfPropertyService.selectUserList(zfProperty,pageNum,pageSize); |
| | |
| | | // @PreAuthorize("@ss.hasPermi('system:property:export')") |
| | | @Log(title = "家庭资产记录", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response) |
| | | public void export(HttpServletResponse response,ZfProperty zfProperty) |
| | | { |
| | | List<ZfProperty> list = zfPropertyService.list(); |
| | | List<ZfProperty> list = zfPropertyService.selectByCondition(zfProperty); |
| | | ExcelUtil<ZfProperty> util = new ExcelUtil<ZfProperty>(ZfProperty.class); |
| | | util.exportExcel(response, list, "家庭资产记录数据"); |
| | | } |