|
|
@@ -4,6 +4,7 @@ package com.ningdatech.pmapi.expert.assembler; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.ningdatech.file.entity.vo.result.AttachFileVo; |
|
|
|
import com.ningdatech.pmapi.common.enumeration.BoolDisplayEnum; |
|
|
|
import com.ningdatech.pmapi.common.helper.RegionCacheHelper; |
|
|
|
import com.ningdatech.pmapi.common.model.FileBasicInfo; |
|
|
|
import com.ningdatech.pmapi.expert.constant.ExpertApplyTypeEnum; |
|
|
|
import com.ningdatech.pmapi.expert.entity.ExpertAvoidCompany; |
|
|
@@ -41,7 +42,7 @@ public class ExpertUserInfoAssembler { |
|
|
|
|
|
|
|
private final TagCache tagCache; |
|
|
|
private final DictionaryCache dictionaryCache; |
|
|
|
// private final RegionCache regionCache; |
|
|
|
private final RegionCacheHelper regionCacheHelper; |
|
|
|
|
|
|
|
public ExpertFullInfoVO buildExpertFullInfoVO(List<AttachFileVo> attachFiles |
|
|
|
, ExpertFullInfoAllDTO expertUserFullInfoAll) { |
|
|
@@ -83,7 +84,7 @@ public class ExpertUserInfoAssembler { |
|
|
|
ExpertRegionInfo expertApplyIntentionWorkRegion = new ExpertRegionInfo(); |
|
|
|
expertApplyIntentionWorkRegion.setRegionLevel(r.getRegionLevel()); |
|
|
|
expertApplyIntentionWorkRegion.setRegionCode(r.getRegionCode()); |
|
|
|
// expertApplyIntentionWorkRegion.setRegionName(regionCache.getUnionPathStr(r.getRegionCode(), r.getRegionLevel())); |
|
|
|
expertApplyIntentionWorkRegion.setRegionName(regionCacheHelper.getUnionPathStr(r.getRegionCode(), r.getRegionLevel())); |
|
|
|
return expertApplyIntentionWorkRegion; |
|
|
|
}).collect(Collectors.toList()); |
|
|
|
|
|
|
|