Commit 373c49ab by Java-金吉宝

删除安科同步数据

parent 170f7ee6
......@@ -412,14 +412,14 @@ public class HuaweiUCSyncService {
}
if ("SUCCESS".equals(ucAccountEntity.getBindStatus())) {
//同步用户到录音管理中
boolean contactsResult = syncContacts(ucAccountEntity.getHuaweiNum(), userProfileEntity.getMobile(), userProfileEntity.getPhone(), userProfileEntity.getId(), userProfileEntity.getName(), ucAccountEntity);
if (!contactsResult) { //若添加录音管理联系人失败,重新尝试
contactsResult = syncContacts(ucAccountEntity.getHuaweiNum(), userProfileEntity.getMobile(), userProfileEntity.getPhone(), userProfileEntity.getId(), userProfileEntity.getName(), ucAccountEntity);
}
resultStr.append(contactsResult ? "新增(更新)到录音管理系统成功。" : "新增(更新)到录音管理系统失败。");
}
// if ("SUCCESS".equals(ucAccountEntity.getBindStatus())) {
// //同步用户到录音管理中
// boolean contactsResult = syncContacts(ucAccountEntity.getHuaweiNum(), userProfileEntity.getMobile(), userProfileEntity.getPhone(), userProfileEntity.getId(), userProfileEntity.getName(), ucAccountEntity);
// if (!contactsResult) { //若添加录音管理联系人失败,重新尝试
// contactsResult = syncContacts(ucAccountEntity.getHuaweiNum(), userProfileEntity.getMobile(), userProfileEntity.getPhone(), userProfileEntity.getId(), userProfileEntity.getName(), ucAccountEntity);
// }
// resultStr.append(contactsResult ? "新增(更新)到录音管理系统成功。" : "新增(更新)到录音管理系统失败。");
// }
resultStr.append("end");
ucAccountEntity.setSyncMessage(resultStr.toString());
ucAccountEntity.setUpdateDate(new Date());
......@@ -598,14 +598,14 @@ public class HuaweiUCSyncService {
}
}
if ("SUCCESS".equals(ucAccountEntity.getBindStatus())) {
//同步席位到录音管理中
boolean contactsResult = syncContacts(ucAccountEntity.getHuaweiNum(), seatEntity.getSeatPhone(), seatEntity.getSeatPhone(), seatEntity.getId(), seatEntity.getSeatName(), ucAccountEntity);
if (!contactsResult) { //若添加录音管理联系人失败,重新尝试
contactsResult = syncContacts(ucAccountEntity.getHuaweiNum(), seatEntity.getSeatPhone(), seatEntity.getSeatPhone(), seatEntity.getId(), seatEntity.getSeatName(), ucAccountEntity);
}
resultStr.append(contactsResult ? "新增(更新)到录音管理系统成功。" : "新增(更新)到录音管理系统失败。");
}
// if ("SUCCESS".equals(ucAccountEntity.getBindStatus())) {
// //同步席位到录音管理中
// boolean contactsResult = syncContacts(ucAccountEntity.getHuaweiNum(), seatEntity.getSeatPhone(), seatEntity.getSeatPhone(), seatEntity.getId(), seatEntity.getSeatName(), ucAccountEntity);
// if (!contactsResult) { //若添加录音管理联系人失败,重新尝试
// contactsResult = syncContacts(ucAccountEntity.getHuaweiNum(), seatEntity.getSeatPhone(), seatEntity.getSeatPhone(), seatEntity.getId(), seatEntity.getSeatName(), ucAccountEntity);
// }
// resultStr.append(contactsResult ? "新增(更新)到录音管理系统成功。" : "新增(更新)到录音管理系统失败。");
// }
resultStr.append("end");
ucAccountEntity.setUpdateDate(new Date());
ucAccountEntity.setSyncMessage(resultStr.toString());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment