提交 179388b1 作者: 沈振路

取消客服消息找不到链接数据的中断

上级 176e62c1
...@@ -131,10 +131,9 @@ public class CustomerGraphicsServiceImpl extends ServiceImpl<CustomerGraphicsMap ...@@ -131,10 +131,9 @@ public class CustomerGraphicsServiceImpl extends ServiceImpl<CustomerGraphicsMap
ReferralEntity referralEntity = referralEntityService.getOne(new QueryWrapper<ReferralEntity>().eq("material_graphics_id", id).isNull("account_id")); ReferralEntity referralEntity = referralEntityService.getOne(new QueryWrapper<ReferralEntity>().eq("material_graphics_id", id).isNull("account_id"));
CommonReferralBody customerReferralDto = new CommonReferralBody(); CommonReferralBody customerReferralDto = new CommonReferralBody();
if (ObjectUtil.isNull(referralEntity)) { if (referralEntity != null) {
return new GenericsResult<>(false, "找不到链接数据"); BeanUtil.copyProperties(referralEntity, customerReferralDto);
} }
BeanUtil.copyProperties(referralEntity, customerReferralDto);
customerMessageDetailVO.setCustomerReferralDto(customerReferralDto); customerMessageDetailVO.setCustomerReferralDto(customerReferralDto);
return new GenericsResult<>(customerMessageDetailVO); return new GenericsResult<>(customerMessageDetailVO);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论