feige
2024-06-16 3ad8fb4e7cc1391e8090f3da6ffa9c48690a12a3
ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZHonorController.java
@@ -50,6 +50,11 @@
        return zHonorService.selectDataList(zHonor,pageNum,pageSize);
    }
    @GetMapping("/type")
    public AjaxResult listType(){
        return zHonorService.listType();
    }
    /**
     * 根据id查询
     */
@@ -61,7 +66,7 @@
    /**
     * 模板
     */
    @GetMapping("/model")
    @PostMapping("/model")
    public void getModel(HttpServletResponse response){
        ZHonor zHonor = new ZHonor();
        List<ZHonor> emptyList = Collections.singletonList(zHonor);
@@ -74,8 +79,8 @@
     */
//    @PreAuthorize("@ss.hasPermi('system:property:export')")
    @Log(title = "证件、荣誉、资质记录", businessType = BusinessType.EXPORT)
    @PostMapping("/export/{ids}")
    public void export(HttpServletResponse response,@PathVariable Long[] ids)
    @PostMapping(value = {"/export/{ids}","/export"})
    public void export(HttpServletResponse response,@PathVariable(required = false) Long[] ids)
    {
        List<ZHonor> list = zHonorService.selectByIds(ids);
        log.info("导出记录为:{}",list);