Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
首航-临时账号
api
Commits
373c49ab
Commit
373c49ab
authored
Sep 25, 2017
by
Java-金吉宝
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除安科同步数据
parent
170f7ee6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
HuaweiUCSyncService.java
src/com/ejweb/modules/im/service/HuaweiUCSyncService.java
+16
-16
No files found.
src/com/ejweb/modules/im/service/HuaweiUCSyncService.java
View file @
373c49ab
...
...
@@ -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
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment