|
@ -205,7 +205,8 @@ public class SysSmsServiceImpl extends BaseServiceImpl<SysSmsDao, SysSmsEntity> |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
Map<String, List<ProjectSendMsgFormDTO>> groupByCustomer = formDTOList.stream().collect(Collectors.groupingBy(ProjectSendMsgFormDTO::getCustomerId)); |
|
|
Map<String, List<ProjectSendMsgFormDTO>> groupByCustomer = formDTOList.stream().collect(Collectors.groupingBy(ProjectSendMsgFormDTO::getCustomerId)); |
|
|
List<CrmParameterFormDTO> parameterFormDTOS = ConvertUtils.sourceToTarget(formDTOList, CrmParameterFormDTO.class); |
|
|
List<CrmParameterFormDTO> formDTOS = ConvertUtils.sourceToTarget(formDTOList, CrmParameterFormDTO.class); |
|
|
|
|
|
List<CrmParameterFormDTO> parameterFormDTOS = formDTOS.stream().distinct().collect(Collectors.toList()); |
|
|
Result<List<CrmParameterResultDTO>> listResult = operCrmOpenFeignClient.selectParamInfo(parameterFormDTOS); |
|
|
Result<List<CrmParameterResultDTO>> listResult = operCrmOpenFeignClient.selectParamInfo(parameterFormDTOS); |
|
|
if (!listResult.success()){ |
|
|
if (!listResult.success()){ |
|
|
throw new RenException(SysSmsConstant.SELECT_PARAMETER_INFO_FAILURE); |
|
|
throw new RenException(SysSmsConstant.SELECT_PARAMETER_INFO_FAILURE); |
|
|