start/src/main/java/com/ycl/web/controller/system/SysDeptController.java
@@ -3,6 +3,7 @@ import java.util.List; import com.ycl.common.base.Result; import com.ycl.common.core.domain.StringTreeSelect; import io.swagger.annotations.ApiOperation; import lombok.RequiredArgsConstructor; import org.apache.commons.lang3.ArrayUtils; @@ -52,6 +53,13 @@ return success(depts); } @GetMapping("/flowable/all") public AjaxResult all() { List<StringTreeSelect> depts = deptService.flowableAll(); return success(depts); } /** * 查询部门列表(排除节点) */