| | |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:records:edit')") |
| | | @Log(title = "修改状态", businessType = BusinessType.IMPORT) |
| | | @GetMapping(value = "/updateStatusById/{id}") |
| | | public AjaxResult updateStatusById(@PathVariable("id") String id) |
| | | @GetMapping(value = "/updateStatusById/{status}/{id}") |
| | | public AjaxResult updateStatusById(@PathVariable("status") String status,@PathVariable("id") String id) |
| | | { |
| | | return new AjaxResult(200, archiveRecordsService.updateArchiveById(Long.parseLong(id))+""); |
| | | return new AjaxResult(200, archiveRecordsService.updateArchiveById(status, Long.parseLong(id))+""); |
| | | } |
| | | |
| | | |
| | |
| | | ExcelUtil<ArchiveRecordModelOther> util = new ExcelUtil<>(ArchiveRecordModelOther.class); |
| | | util.exportExcel(response,list,"档案信息导入模板"); |
| | | } |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:records:list')") |
| | | @Log(title = "是否允许提交", businessType = BusinessType.IMPORT) |
| | | @GetMapping(value = "/whether/{recordId}") |
| | | public AjaxResult whether(@PathVariable("recordId") Long recordId) |
| | | { |
| | | return AjaxResult.success( archiveRecordsService.whether(recordId)); |
| | | } |
| | | } |