Browse Source

debug 查询最新项目

master
PoffyZhang 1 year ago
parent
commit
2fbf0e8e47
2 changed files with 10 additions and 6 deletions
  1. +10
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/ding/controller/DingInfoPullController.java
  2. +0
    -6
      pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/ProcDefController.java

+ 10
- 0
pmapi/src/main/java/com/ningdatech/pmapi/ding/controller/DingInfoPullController.java View File

@@ -3,6 +3,8 @@ package com.ningdatech.pmapi.ding.controller;
import com.ningdatech.pmapi.ding.task.EmployeeBatchGetTask;
import com.ningdatech.pmapi.ding.task.GovBusinessStripsTask;
import com.ningdatech.pmapi.ding.task.OrganizationBatchGetTask;
import com.ningdatech.pmapi.organization.manage.ProcDefManage;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
@@ -25,6 +27,8 @@ public class DingInfoPullController {
private final GovBusinessStripsTask businessStripsTask;
private final OrganizationBatchGetTask organizationBatchGetTask;

private final ProcDefManage procDefManage;


@GetMapping("/employee")
public void employeeBatchGet() {
@@ -70,4 +74,10 @@ public class DingInfoPullController {
public String getAuthToken() {
return employeeBatchGetTask.getAuthToken();
}

@ApiOperation(value = "系统流程配置初始化", notes = "系统流程配置初始化")
@GetMapping("/init")
public String init() {
return procDefManage.init();
}
}

+ 0
- 6
pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/ProcDefController.java View File

@@ -83,10 +83,4 @@ public class ProcDefController {
public Boolean delete(@PathVariable String processDefId) {
return orgProcessModelService.delProcess(processDefId);
}

@ApiOperation(value = "系统流程配置初始化", notes = "系统流程配置初始化")
@GetMapping("/init")
public String init() {
return procDefManage.init();
}
}

Loading…
Cancel
Save