zjj
8 小时以前 50f2f8945f1ab86c931fee6cf9d9bd88a122ae6e
rsf-server/src/main/java/com/vincent/rsf/server/manager/controller/TaskController.java
@@ -101,9 +101,9 @@
    }
    @PreAuthorize("hasAuthority('manager:task:remove')")
    @OperationLog("Delete 任务工作档")
    @OperationLog("取消/删除工作极档")
    @ApiOperation("取消/删除工作极档")
    @PostMapping("/task/remove/{ids}")
    @Transactional(rollbackFor = Exception.class)
    public R remove(@PathVariable Long[] ids) {
        if (Objects.isNull(ids) || ids.length < 1) {
            return R.error("参数不能为空!!");
@@ -139,7 +139,7 @@
        if (Cools.isEmpty(id)) {
            throw new CoolException("参数不能为空!!");
        }
        return R.ok("完成任务成功").add(taskService.operateComplete(id));
        return R.ok("完成任务成功").add(taskService.operateComplete(id, getLoginUserId()));
    }
@@ -198,7 +198,7 @@
            throw new CoolException("参数不能为空!!");
        }
        try {
            taskService.taskToTop(id);
            taskService.taskToTop(id, getLoginUserId());
        } catch (Exception e) {
            logger.error("UNK", e);
            throw new CoolException(e.getMessage());