Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
c9c48cfe
Commit
c9c48cfe
authored
Apr 10, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
非空判断
parent
29a333ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
HandoverOperationApiServiceImpl.java
...ice/service/out/impl/HandoverOperationApiServiceImpl.java
+8
-0
KafkaMessageServiceImpl.java
...c/haoban/manage/service/task/KafkaMessageServiceImpl.java
+3
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/HandoverOperationApiServiceImpl.java
View file @
c9c48cfe
...
@@ -137,6 +137,14 @@ public class HandoverOperationApiServiceImpl implements HandoverOperationApiServ
...
@@ -137,6 +137,14 @@ public class HandoverOperationApiServiceImpl implements HandoverOperationApiServ
try
{
try
{
TabHaobanStaff
handover
=
staffService
.
selectById
(
dto
.
getHandoverStaffId
());
TabHaobanStaff
handover
=
staffService
.
selectById
(
dto
.
getHandoverStaffId
());
TabHaobanStaff
takeover
=
staffService
.
selectById
(
dto
.
getTakeoverStaffId
());
TabHaobanStaff
takeover
=
staffService
.
selectById
(
dto
.
getTakeoverStaffId
());
if
(
null
==
handover
)
{
logger
.
info
(
"handover is null={}"
,
dto
.
getHandoverStaffId
());
return
;
}
if
(
null
==
takeover
)
{
logger
.
info
(
"takeover is null={}"
,
dto
.
getTakeoverStaffId
());
return
;
}
QywxTransferCustomerDTO
customerDTO
=
qywxUserApiService
.
transferResult
(
qwDTO
.
getThirdCorpid
(),
config
.
getWxSuiteid
(),
handover
.
getWxUserId
(),
takeover
.
getWxUserId
(),
true
);
QywxTransferCustomerDTO
customerDTO
=
qywxUserApiService
.
transferResult
(
qwDTO
.
getThirdCorpid
(),
config
.
getWxSuiteid
(),
handover
.
getWxUserId
(),
takeover
.
getWxUserId
(),
true
);
if
(
customerDTO
.
getErrcode
()
!=
0
)
{
if
(
customerDTO
.
getErrcode
()
!=
0
)
{
return
;
return
;
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/task/KafkaMessageServiceImpl.java
View file @
c9c48cfe
...
@@ -170,6 +170,9 @@ public class KafkaMessageServiceImpl implements MessageListener<String, GicRecor
...
@@ -170,6 +170,9 @@ public class KafkaMessageServiceImpl implements MessageListener<String, GicRecor
*/
*/
private
void
dealStoreGroup
(
GroupSyncPojo
syncPojo
)
{
private
void
dealStoreGroup
(
GroupSyncPojo
syncPojo
)
{
logger
.
info
(
"门店分组变更binlog监听:{}"
,
JSONObject
.
toJSONString
(
syncPojo
));
logger
.
info
(
"门店分组变更binlog监听:{}"
,
JSONObject
.
toJSONString
(
syncPojo
));
if
(
null
!=
syncPojo
&&
(
null
==
syncPojo
.
getOldStatus
()
||
null
==
syncPojo
.
getStatus
()))
{
return
;
}
//删除 同步绑定门店
//删除 同步绑定门店
if
(
syncPojo
!=
null
&&
syncPojo
.
getOldStatus
()
==
1
&&
syncPojo
.
getStatus
()
==
0
)
{
if
(
syncPojo
!=
null
&&
syncPojo
.
getOldStatus
()
==
1
&&
syncPojo
.
getStatus
()
==
0
)
{
logger
.
info
(
"门店分组变更,同步绑定门店:{}"
,
JSONObject
.
toJSONString
(
syncPojo
));
logger
.
info
(
"门店分组变更,同步绑定门店:{}"
,
JSONObject
.
toJSONString
(
syncPojo
));
...
...
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