|
|
@ -1,5 +1,8 @@ |
|
|
|
package com.epmet.service.evaluationindex.extract.toscreen.impl; |
|
|
|
|
|
|
|
import com.epmet.commons.tools.dto.result.CustomerStaffInfoCacheResult; |
|
|
|
import com.epmet.commons.tools.exception.EpmetException; |
|
|
|
import com.epmet.commons.tools.redis.common.CustomerStaffRedis; |
|
|
|
import com.epmet.constant.OrgTypeConstant; |
|
|
|
import com.epmet.constant.ProjectConstant; |
|
|
|
import com.epmet.dto.screen.ScreenProjectDataDTO; |
|
|
@ -126,7 +129,11 @@ public class ScreenProjectSettleServiceImpl implements ScreenProjectSettleServic |
|
|
|
//上面的initNewScreenProjectData已经赋值了orgName=组织名称
|
|
|
|
meta.setProjectContent(projectInfo.getBackGround()); |
|
|
|
meta.setLinkUserId(projectInfo.getCreatedBy()); |
|
|
|
meta.setLinkName(projectInfo.getCreatedBy()); |
|
|
|
CustomerStaffInfoCacheResult staffInfo = CustomerStaffRedis.getStaffInfo(param.getCustomerId(), projectInfo.getCreatedBy()); |
|
|
|
if (null == staffInfo){ |
|
|
|
throw new EpmetException("未查询到工作人员:"+projectInfo.getCreatedBy()); |
|
|
|
} |
|
|
|
meta.setLinkName(staffInfo.getRealName()); |
|
|
|
if (StringUtils.isNotBlank(projectInfo.getLocateDimension())) { |
|
|
|
meta.setLatitude(new BigDecimal(projectInfo.getLocateDimension())); |
|
|
|
} |
|
|
|