Browse Source

debug 员工

tags/24080901
PoffyZhang 1 year ago
parent
commit
6555a8cfa8
1 changed files with 2 additions and 5 deletions
  1. +2
    -5
      pmapi/src/main/java/com/ningdatech/pmapi/ding/controller/DingInfoPullController.java

+ 2
- 5
pmapi/src/main/java/com/ningdatech/pmapi/ding/controller/DingInfoPullController.java View File

@@ -4,10 +4,7 @@ import com.ningdatech.pmapi.ding.task.EmployeeBatchGetTask;
import com.ningdatech.pmapi.ding.task.GovBusinessStripsTask;
import com.ningdatech.pmapi.ding.task.OrganizationBatchGetTask;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;

/**
* <p>
@@ -43,7 +40,7 @@ public class DingInfoPullController {
}

@GetMapping("/employee/{regionCode}")
public void employeeBatchGetByRegionCode(@RequestParam(required = false) String regionCode) {
public void employeeBatchGetByRegionCode(@PathVariable String regionCode) {
employeeBatchGetTask.batchGetEmployeeTaskByRegionCode(regionCode);
}
}

Loading…
Cancel
Save