|
@@ -206,6 +206,8 @@ public class FundAliasServiceImpl implements FundAliasService {
|
|
|
navMapper.batchInsert(navDOList);
|
|
|
}
|
|
|
List<Integer> emailFundNavIdList = emailFundNavDOList.stream().map(EmailFundNavDO::getId).toList();
|
|
|
- emailFundNavMapper.updateFundIdByIds(fundId, emailFundNavIdList);
|
|
|
+ if (CollUtil.isNotEmpty(emailFundNavIdList)) {
|
|
|
+ emailFundNavMapper.updateFundIdByIds(fundId, emailFundNavIdList);
|
|
|
+ }
|
|
|
}
|
|
|
}
|