fei
8 天以前 fc3ccbfc30b83e432c71c508ef2b9c1052816ed2
ruoyi-admin/src/main/java/com/ruoyi/web/controller/archive/ArchiveRecordsController.java
@@ -193,9 +193,9 @@
    @PreAuthorize("@ss.hasPermi('system:records:edit')")
    @Log(title = "修改状态", businessType = BusinessType.IMPORT)
    @GetMapping(value = "/updateStatusById/{status}/{id}")
    public AjaxResult updateStatusById(@PathVariable("status") String status, @PathVariable("id") String id) {
        return new AjaxResult(200, archiveRecordsService.updateArchiveById(status, Long.parseLong(id)) + "");
    @GetMapping(value = "/updateStatusById/{status}/{id}/{operator}")
    public AjaxResult updateStatusById(@PathVariable("status") String status, @PathVariable("id") String id, @PathVariable("operator") String operator) {
        return new AjaxResult(200, archiveRecordsService.updateArchiveById(status, Long.parseLong(id), operator)+"");
    }
@@ -203,7 +203,7 @@
    public void getExportModel(HttpServletResponse response) {
        List<ArchiveRecordModelExp> list = Collections.singletonList(new ArchiveRecordModelExp());
        ExcelUtil<ArchiveRecordModelExp> util = new ExcelUtil<>(ArchiveRecordModelExp.class);
        util.exportExcel(response, list, "档案信息导入模板");
        util.exportExcel(response, list, "档案信息");
    }
@@ -211,7 +211,7 @@
    public void getExportModelOther(HttpServletResponse response) {
        List<ArchiveRecordModelOther> list = Collections.singletonList(new ArchiveRecordModelOther());
        ExcelUtil<ArchiveRecordModelOther> util = new ExcelUtil<>(ArchiveRecordModelOther.class);
        util.exportExcel(response, list, "档案信息导入模板");
        util.exportExcel(response, list, "档案信息");
    }
    @PreAuthorize("@ss.hasPermi('system:records:list')")