getLineInfo2

This commit is contained in:
guohb
2024-04-25 16:23:38 +08:00
parent 62ff276c62
commit ee3f76a0f0

View File

@@ -85,6 +85,9 @@ public class LineServiceImpl implements LineService {
if (lineInfo==null){
throw new ServiceException(ErrorCodeEnum.LINE_ID_IS_NOT_EXIST);
}
if (StringUtil.isBlank(lineInfo.getInvestmentManager())){
return null;
}
if (lineInfo.getLineSource()!=null){
Map<Integer, String> channelMapByIds = hyPartnerUserChannelDAO.getChannelMapByIds(Arrays.asList(lineInfo.getLineSource()));
result.setLineSourceName(channelMapByIds.get(lineInfo.getLineSource()));