|
@@ -2586,7 +2586,7 @@ public class QwExternalContactServiceImpl extends ServiceImpl<QwExternalContactM
|
|
|
}
|
|
|
|
|
|
//有渠道活码
|
|
|
- if (isWay) {
|
|
|
+ if (isWay && StringUtil.strIsNullOrEmpty(followUser.getRemark()) ) {
|
|
|
if (wayId.getIsDescription() == 1) {
|
|
|
qwExternalContact.setDescription(wayId.getDescription());
|
|
|
}
|
|
@@ -2638,7 +2638,7 @@ public class QwExternalContactServiceImpl extends ServiceImpl<QwExternalContactM
|
|
|
}
|
|
|
}
|
|
|
else {
|
|
|
- if (!StringUtil.strIsNullOrEmpty(tagRemark)) {
|
|
|
+ if (StringUtil.strIsNullOrEmpty(followUser.getRemark()) && !StringUtil.strIsNullOrEmpty(tagRemark)) {
|
|
|
qwExternalContact.setRemark(tagRemark + "-" + externalContact.getName());
|
|
|
QwExternalContactRemarkParam param = new QwExternalContactRemarkParam();
|
|
|
param.setRemark(qwExternalContact.getRemark());
|
|
@@ -2654,6 +2654,8 @@ public class QwExternalContactServiceImpl extends ServiceImpl<QwExternalContactM
|
|
|
|
|
|
logger.info("修改备注2:{}", remarkResult);
|
|
|
|
|
|
+ }else {
|
|
|
+ qwExternalContact.setRemark(StringUtil.strIsNullOrEmpty(followUser.getRemark()) ? externalContact.getName() : followUser.getRemark());
|
|
|
}
|
|
|
}
|
|
|
|