whywhyo
2023-07-30 2f165d7451198c69080d667853e97701ea466318
ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZPropertyController.java
@@ -73,8 +73,18 @@
     */
//    @PreAuthorize("@ss.hasPermi('system:property:export')")
    @Log(title = "个人财产记录", businessType = BusinessType.EXPORT)
    @PostMapping("/export/{ids}")
    public void export(HttpServletResponse response,@PathVariable Long[] ids)
    @PostMapping("/export")
    public void export(HttpServletResponse response)
    {
        List<ZProperty> list = zPropertyService.selectByCondition();
        log.info("导出记录为:{}",list);
        ExcelUtil<ZProperty> util = new ExcelUtil<>(ZProperty.class);
        util.exportExcel(response, list, "个人财产记录数据");
    }
    @Log(title = "个人财产记录", businessType = BusinessType.EXPORT)
    @PostMapping("/export1/{ids}")
    public void export1(HttpServletResponse response,@PathVariable Long[] ids)
    {
        List<ZProperty> list = zPropertyService.selectByIds(ids);
        log.info("导出记录为:{}",list);