|
|
@ -28,7 +28,6 @@ import java.util.stream.Collectors; |
|
|
/** |
|
|
/** |
|
|
* 同步市认证部门组织信息表原始数据 |
|
|
* 同步市认证部门组织信息表原始数据 |
|
|
*/ |
|
|
*/ |
|
|
@Slf4j |
|
|
|
|
|
@Component |
|
|
@Component |
|
|
@RequiredArgsConstructor |
|
|
@RequiredArgsConstructor |
|
|
public class SrzDeptOriginalDataJob { |
|
|
public class SrzDeptOriginalDataJob { |
|
|
@ -60,6 +59,7 @@ public class SrzDeptOriginalDataJob { |
|
|
|
|
|
|
|
|
/** 同步部门数据 */ |
|
|
/** 同步部门数据 */ |
|
|
public void getData(){ |
|
|
public void getData(){ |
|
|
|
|
|
log.info(" SrzDeptOriginalDataJob 同步市认证部门组织信息表原始数据开始"); |
|
|
List<SysDictDataVo> srz_item = sysDictDataService.selectDictDataByType("srz_item"); |
|
|
List<SysDictDataVo> srz_item = sysDictDataService.selectDictDataByType("srz_item"); |
|
|
Map<String,String> map = srz_item.stream().collect(Collectors.toMap(SysDictDataVo::getDictLabel,SysDictDataVo::getDictValue)); |
|
|
Map<String,String> map = srz_item.stream().collect(Collectors.toMap(SysDictDataVo::getDictLabel,SysDictDataVo::getDictValue)); |
|
|
|
|
|
|
|
|
@ -119,6 +119,8 @@ public class SrzDeptOriginalDataJob { |
|
|
} catch (Exception e) { |
|
|
} catch (Exception e) { |
|
|
e.printStackTrace(); |
|
|
e.printStackTrace(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
log.info(" SrzDeptOriginalDataJob 同步市认证部门组织信息表原始数据结束"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private String connect(String apiPath) { |
|
|
private String connect(String apiPath) { |
|
|
|