| | |
| | | @PreAuthorize("@ss.hasPermi('system:archiverecordstouser:edit')") |
| | | |
| | | @PutMapping("/authUserToArchive") |
| | | public AjaxResult selectRecordToUser(String recordId, Long[] userIds) |
| | | public AjaxResult selectRecordToUser(Long recordId, Long[] userIds) |
| | | { |
| | | for(Long userId:userIds) |
| | | { |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:archiverecordstouser:remove')") |
| | | @DeleteMapping("/deleteByRidUid") |
| | | public AjaxResult removeByRecordIdAndUserId(String recordId, Long userId) |
| | | public AjaxResult removeByRecordIdAndUserId(Long recordId, Long userId) |
| | | { |
| | | return toAjax(archiverecordstouserService.deleteArchiverecordstouserByRecordId(recordId, userId)); |
| | | } |
| | |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:archiverecordstouser:query')") |
| | | @GetMapping("/getByRidUid") |
| | | public AjaxResult getByRecordIdAndUserId(String recordId, Long userId) |
| | | public AjaxResult getByRecordIdAndUserId(Long recordId, Long userId) |
| | | { |
| | | return toAjax(archiverecordstouserService.queryArchiverecordstouserByRecordId(recordId, userId)); |
| | | } |