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
2aac5ea2
Commit
2aac5ea2
authored
Mar 20, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息
parent
fd62825c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
MessageApiServiceImpl.java
...anage/service/service/out/impl/MessageApiServiceImpl.java
+10
-3
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MessageApiServiceImpl.java
View file @
2aac5ea2
...
...
@@ -584,9 +584,9 @@ public class MessageApiServiceImpl implements MessageApiService {
@Override
public
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
<
Void
>
sendOrderMessage
(
String
enterpriseId
,
NoticeMessageTypeEnum
noticeType
,
String
relationId
,
String
refundStoreId
,
String
clerkId
,
String
memberId
,
NoticeMessageTypeEnum
noticeType
,
String
relationId
,
String
refundStoreId
,
String
clerkId
,
String
memberId
,
List
<
String
>
valueList
)
{
log
.
info
(
"订单消息通知={},{},{}
"
,
memberId
,
clerkId
,
relation
Id
);
log
.
info
(
"订单消息通知={},{},{}
,refundStoreId={}"
,
memberId
,
clerkId
,
relationId
,
refundStore
Id
);
List
<
NoticeMessageQDTO
>
list
=
new
ArrayList
<>();
if
(
StringUtils
.
isAnyBlank
(
enterpriseId
,
clerkId
,
memberId
))
{
return
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
.
failure
(
"9999"
,
"必传参数没传"
);
...
...
@@ -599,6 +599,14 @@ public class MessageApiServiceImpl implements MessageApiService {
if
(
null
==
clerkDTO
)
{
return
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
.
failure
(
"9999"
,
"导购查不到"
);
}
String
storeId
=
clerkDTO
.
getStoreId
();
// 如果是退款收货
if
(
StringUtils
.
isNotEmpty
(
refundStoreId
)
&&
!
refundStoreId
.
equals
(
clerkDTO
.
getStoreId
()))
{
log
.
info
(
"收货门店不是归属门店,store={},{}"
,
refundStoreId
,
clerkDTO
.
getStoreId
());
storeId
=
refundStoreId
;
ClerkDTO
dz
=
this
.
clerkService
.
getClerkLeaderByStoreId
(
storeId
);
clerkId
=
dz
.
getClerkId
();
}
Map
<
String
,
Object
>
extendContent
=
new
HashMap
<>();
if
(
messageTypeEnum
.
equals
(
NoticeMessageTypeEnum
.
ORDER_PAY
))
{
extendContent
.
put
(
"currentTab "
,
0
);
...
...
@@ -608,7 +616,6 @@ public class MessageApiServiceImpl implements MessageApiService {
Map
<
String
,
String
>
map
=
this
.
toMapValue
(
memberId
,
valueList
);
NoticeMessageQDTO
qdto
=
this
.
getDTO
(
enterpriseId
,
clerkId
,
relationId
,
noticeType
,
map
,
extendContent
);
list
.
add
(
qdto
);
String
storeId
=
clerkDTO
.
getStoreId
();
ClerkDTO
dz
=
this
.
clerkService
.
getClerkLeaderByStoreId
(
storeId
);
if
(
null
!=
dz
&&
!
dz
.
getClerkId
().
equals
(
clerkId
))
{
NoticeMessageQDTO
dzQdto
=
this
.
getDTO
(
enterpriseId
,
dz
.
getClerkId
(),
relationId
,
noticeType
,
map
,
...
...
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