提交 9bec1cab 作者: 沈振路

问题调整

上级 c6890edc
......@@ -138,16 +138,21 @@ public class CustomerGraphicsDelayServiceImpl extends ServiceImpl<CustomerGraphi
return new BaseResult().error("获取链接异常" + e.getMessage());
}
}
customerGraphicsDelay.setSourceUrl(referralEntity.getReferral());
try {
customerGraphicsDelay.setSourceUrl(referralEntity.getReferral());
String storeTypeName = kanbanCommonMapper.getStoreTypeNameByAppId(customerGraphicsDelay.getAppId());
referralEntity.setStoreTypeName(storeTypeName);
} catch (Exception e) {
return new BaseResult().error(e.getMessage());
}
boolean mainResult = super.saveOrUpdate(customerGraphicsDelay);
if (!mainResult) {
localLog.info("主体数据生成异常");
return new BaseResult().error("新增/更新 主体数据异常");
}
String storeTypeName = kanbanCommonMapper.getStoreTypeNameByAppId(customerGraphicsDelay.getAppId());
referralEntity.setStoreTypeName(storeTypeName);
boolean referralResult = referralEntityService.saveOrUpdate(referralEntity);
if (!referralResult) {
return new BaseResult().error("新增/更新 链接数据异常");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论