Commit 373c49ab by Java-金吉宝

删除安科同步数据

parent 170f7ee6
...@@ -412,14 +412,14 @@ public class HuaweiUCSyncService { ...@@ -412,14 +412,14 @@ public class HuaweiUCSyncService {
} }
if ("SUCCESS".equals(ucAccountEntity.getBindStatus())) { // if ("SUCCESS".equals(ucAccountEntity.getBindStatus())) {
//同步用户到录音管理中 // //同步用户到录音管理中
boolean contactsResult = syncContacts(ucAccountEntity.getHuaweiNum(), userProfileEntity.getMobile(), userProfileEntity.getPhone(), userProfileEntity.getId(), userProfileEntity.getName(), ucAccountEntity); // boolean contactsResult = syncContacts(ucAccountEntity.getHuaweiNum(), userProfileEntity.getMobile(), userProfileEntity.getPhone(), userProfileEntity.getId(), userProfileEntity.getName(), ucAccountEntity);
if (!contactsResult) { //若添加录音管理联系人失败,重新尝试 // if (!contactsResult) { //若添加录音管理联系人失败,重新尝试
contactsResult = syncContacts(ucAccountEntity.getHuaweiNum(), userProfileEntity.getMobile(), userProfileEntity.getPhone(), userProfileEntity.getId(), userProfileEntity.getName(), ucAccountEntity); // contactsResult = syncContacts(ucAccountEntity.getHuaweiNum(), userProfileEntity.getMobile(), userProfileEntity.getPhone(), userProfileEntity.getId(), userProfileEntity.getName(), ucAccountEntity);
} // }
resultStr.append(contactsResult ? "新增(更新)到录音管理系统成功。" : "新增(更新)到录音管理系统失败。"); // resultStr.append(contactsResult ? "新增(更新)到录音管理系统成功。" : "新增(更新)到录音管理系统失败。");
} // }
resultStr.append("end"); resultStr.append("end");
ucAccountEntity.setSyncMessage(resultStr.toString()); ucAccountEntity.setSyncMessage(resultStr.toString());
ucAccountEntity.setUpdateDate(new Date()); ucAccountEntity.setUpdateDate(new Date());
...@@ -598,14 +598,14 @@ public class HuaweiUCSyncService { ...@@ -598,14 +598,14 @@ public class HuaweiUCSyncService {
} }
} }
if ("SUCCESS".equals(ucAccountEntity.getBindStatus())) { // if ("SUCCESS".equals(ucAccountEntity.getBindStatus())) {
//同步席位到录音管理中 // //同步席位到录音管理中
boolean contactsResult = syncContacts(ucAccountEntity.getHuaweiNum(), seatEntity.getSeatPhone(), seatEntity.getSeatPhone(), seatEntity.getId(), seatEntity.getSeatName(), ucAccountEntity); // boolean contactsResult = syncContacts(ucAccountEntity.getHuaweiNum(), seatEntity.getSeatPhone(), seatEntity.getSeatPhone(), seatEntity.getId(), seatEntity.getSeatName(), ucAccountEntity);
if (!contactsResult) { //若添加录音管理联系人失败,重新尝试 // if (!contactsResult) { //若添加录音管理联系人失败,重新尝试
contactsResult = syncContacts(ucAccountEntity.getHuaweiNum(), seatEntity.getSeatPhone(), seatEntity.getSeatPhone(), seatEntity.getId(), seatEntity.getSeatName(), ucAccountEntity); // contactsResult = syncContacts(ucAccountEntity.getHuaweiNum(), seatEntity.getSeatPhone(), seatEntity.getSeatPhone(), seatEntity.getId(), seatEntity.getSeatName(), ucAccountEntity);
} // }
resultStr.append(contactsResult ? "新增(更新)到录音管理系统成功。" : "新增(更新)到录音管理系统失败。"); // resultStr.append(contactsResult ? "新增(更新)到录音管理系统成功。" : "新增(更新)到录音管理系统失败。");
} // }
resultStr.append("end"); resultStr.append("end");
ucAccountEntity.setUpdateDate(new Date()); ucAccountEntity.setUpdateDate(new Date());
ucAccountEntity.setSyncMessage(resultStr.toString()); 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