fei
8 天以前 f2f1274c7b51671d6d3b0b503f229da4657484f2
ruoyi-admin/src/main/java/com/ruoyi/web/controller/archive/ArchiverecordstouserController.java
@@ -50,7 +50,7 @@
    @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)
        {
@@ -158,7 +158,7 @@
     */
    @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));
    }
@@ -166,7 +166,7 @@
    @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));
    }