This commit is contained in:
苏竹红
2024-06-25 15:46:58 +08:00
parent c4d88876cc
commit c050084873

View File

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