diff --git a/blade-service/blade-desk/pom.xml b/blade-service/blade-desk/pom.xml
index 3598072e..1c6d7073 100644
--- a/blade-service/blade-desk/pom.xml
+++ b/blade-service/blade-desk/pom.xml
@@ -37,6 +37,11 @@
blade-dict-api
${bladex.project.version}
+
+ org.springblade
+ blade-user-api
+ ${bladex.project.version}
+
org.springblade
blade-flow-api
diff --git a/blade-service/blade-desk/src/main/java/org/springblade/desk/controller/LeaveController.java b/blade-service/blade-desk/src/main/java/org/springblade/desk/controller/LeaveController.java
index 064e13b5..2b455948 100644
--- a/blade-service/blade-desk/src/main/java/org/springblade/desk/controller/LeaveController.java
+++ b/blade-service/blade-desk/src/main/java/org/springblade/desk/controller/LeaveController.java
@@ -20,12 +20,10 @@ import lombok.AllArgsConstructor;
import org.springblade.common.cache.CacheNames;
import org.springblade.core.boot.ctrl.BladeController;
import org.springblade.core.tool.api.R;
-import org.springblade.core.tool.utils.Func;
import org.springblade.desk.entity.ProcessLeave;
import org.springblade.desk.service.ILeaveService;
-import org.springblade.flowable.core.constant.ProcessConstant;
import org.springblade.flowable.core.entity.BladeFlow;
-import org.springblade.flowable.core.feign.IFlowClient;
+import org.springblade.system.user.cache.UserCache;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
@@ -41,21 +39,16 @@ import springfox.documentation.annotations.ApiIgnore;
public class LeaveController extends BladeController implements CacheNames {
private ILeaveService leaveService;
- private IFlowClient flowClient;
/**
* 详情
*
- * @param taskId 任务主键
* @param businessId 主键
*/
@GetMapping("detail")
- public R detail(String taskId, Integer businessId) {
+ public R detail(Integer businessId) {
ProcessLeave detail = leaveService.getById(businessId);
- R