소스 검색

debug 查询最新项目

master
PoffyZhang 1 년 전
부모
커밋
2fbf0e8e47
2개의 변경된 파일10개의 추가작업 그리고 6개의 파일을 삭제
  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 파일 보기

@@ -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 파일 보기

@@ -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();
}
}

불러오는 중...
취소
저장