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