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
32622de4
Commit
32622de4
authored
May 27, 2025
by
王祖波
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-recommend3' into 'developer'
发送商品 See merge request
!2891
parents
ab17e77c
bc091626
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
ContactFollowBatchQDTO.java
...aoban/manage/api/qdto/contact/ContactFollowBatchQDTO.java
+13
-0
ContactFollowApiServiceImpl.java
...service/out/impl/contact/ContactFollowApiServiceImpl.java
+1
-0
QwSendMsgServiceImpl.java
...anage/service/service/send/impl/QwSendMsgServiceImpl.java
+3
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/qdto/contact/ContactFollowBatchQDTO.java
View file @
32622de4
...
@@ -30,6 +30,11 @@ public class ContactFollowBatchQDTO implements Serializable {
...
@@ -30,6 +30,11 @@ public class ContactFollowBatchQDTO implements Serializable {
*/
*/
private
String
followRemark
;
private
String
followRemark
;
/**
* 关联商品信息
*/
private
List
<
String
>
goodsInfoList
;
public
String
getEnterpriseId
()
{
public
String
getEnterpriseId
()
{
return
enterpriseId
;
return
enterpriseId
;
}
}
...
@@ -70,6 +75,14 @@ public class ContactFollowBatchQDTO implements Serializable {
...
@@ -70,6 +75,14 @@ public class ContactFollowBatchQDTO implements Serializable {
this
.
followRemark
=
followRemark
;
this
.
followRemark
=
followRemark
;
}
}
public
List
<
String
>
getGoodsInfoList
()
{
return
goodsInfoList
;
}
public
void
setGoodsInfoList
(
List
<
String
>
goodsInfoList
)
{
this
.
goodsInfoList
=
goodsInfoList
;
}
public
static
class
MemberFollow
implements
Serializable
{
public
static
class
MemberFollow
implements
Serializable
{
/**
/**
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/contact/ContactFollowApiServiceImpl.java
View file @
32622de4
...
@@ -77,6 +77,7 @@ public class ContactFollowApiServiceImpl implements ContactFollowApiService {
...
@@ -77,6 +77,7 @@ public class ContactFollowApiServiceImpl implements ContactFollowApiService {
followQDTO
.
setClerkCode
(
clerkDTO
.
getClerkCode
());
followQDTO
.
setClerkCode
(
clerkDTO
.
getClerkCode
());
followQDTO
.
setFollowRemark
(
clerkDTO
.
getClerkName
()
+
qdto
.
getFollowRemark
());
followQDTO
.
setFollowRemark
(
clerkDTO
.
getClerkName
()
+
qdto
.
getFollowRemark
());
followQDTO
.
setFollowTime
(
x
.
getFollowTime
());
followQDTO
.
setFollowTime
(
x
.
getFollowTime
());
followQDTO
.
setGoodsInfoList
(
qdto
.
getGoodsInfoList
());
followQDTO
.
setEnterpriseId
(
clerkDTO
.
getEnterpriseId
());
followQDTO
.
setEnterpriseId
(
clerkDTO
.
getEnterpriseId
());
return
followQDTO
;
return
followQDTO
;
}).
collect
(
Collectors
.
toList
());
}).
collect
(
Collectors
.
toList
());
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/send/impl/QwSendMsgServiceImpl.java
View file @
32622de4
...
@@ -266,12 +266,14 @@ public class QwSendMsgServiceImpl implements QwSendMsgService {
...
@@ -266,12 +266,14 @@ public class QwSendMsgServiceImpl implements QwSendMsgService {
String
followRemark
=
null
;
String
followRemark
=
null
;
Integer
bizType
=
finishQwSendBO
.
getBizType
();
Integer
bizType
=
finishQwSendBO
.
getBizType
();
List
<
ClerkShareGoodsLogDTO
>
shareGoodsList
=
finishQwSendBO
.
getShareGoodsList
();
List
<
ClerkShareGoodsLogDTO
>
shareGoodsList
=
finishQwSendBO
.
getShareGoodsList
();
List
<
String
>
goodsInfoList
=
null
;
if
(
Objects
.
equals
(
bizType
,
1
))
{
if
(
Objects
.
equals
(
bizType
,
1
))
{
followType
=
ContactFollowTypeEnum
.
MATERIAL
.
getCode
();
followType
=
ContactFollowTypeEnum
.
MATERIAL
.
getCode
();
followRemark
=
"向客户发送了营销素材"
;
followRemark
=
"向客户发送了营销素材"
;
}
else
if
(
Objects
.
equals
(
bizType
,
2
))
{
}
else
if
(
Objects
.
equals
(
bizType
,
2
))
{
followType
=
ContactFollowTypeEnum
.
PRODUCT
.
getCode
();
followType
=
ContactFollowTypeEnum
.
PRODUCT
.
getCode
();
followRemark
=
"向客户发送了"
+
shareGoodsList
.
size
()
+
"款商品"
;
followRemark
=
"向客户发送了"
+
shareGoodsList
.
size
()
+
"款商品"
;
goodsInfoList
=
shareGoodsList
.
stream
().
map
(
ClerkShareGoodsLogDTO:
:
getBizId
).
collect
(
Collectors
.
toList
());
}
else
{
}
else
{
return
;
return
;
}
}
...
@@ -281,6 +283,7 @@ public class QwSendMsgServiceImpl implements QwSendMsgService {
...
@@ -281,6 +283,7 @@ public class QwSendMsgServiceImpl implements QwSendMsgService {
batchQDTO
.
setClerkId
(
clerkId
);
batchQDTO
.
setClerkId
(
clerkId
);
batchQDTO
.
setFollowType
(
followType
);
batchQDTO
.
setFollowType
(
followType
);
batchQDTO
.
setFollowRemark
(
followRemark
);
batchQDTO
.
setFollowRemark
(
followRemark
);
batchQDTO
.
setGoodsInfoList
(
goodsInfoList
);
MqUtils
.
sendMessageToMQ
(
"saveBatchFollowForMQ"
,
JSON
.
toJSONString
(
batchQDTO
));
MqUtils
.
sendMessageToMQ
(
"saveBatchFollowForMQ"
,
JSON
.
toJSONString
(
batchQDTO
));
if
(
Objects
.
equals
(
bizType
,
2
))
{
if
(
Objects
.
equals
(
bizType
,
2
))
{
saveShareMaterialLog
(
enterpriseId
,
shareGoodsList
,
memberList
);
saveShareMaterialLog
(
enterpriseId
,
shareGoodsList
,
memberList
);
...
...
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