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
f075a34a
Commit
f075a34a
authored
Dec 06, 2023
by
songyinghui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature: 销售线索数据组
parent
6e133313
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
PotentialCustomerController.java
...e/web/controller/content/PotentialCustomerController.java
+1
-1
MaterialDataAdaptor.java
...e/web/controller/content/adaptor/MaterialDataAdaptor.java
+5
-1
PotentialCustomerQO.java
.../manage/web/qo/content/potential/PotentialCustomerQO.java
+7
-0
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/PotentialCustomerController.java
View file @
f075a34a
...
@@ -101,7 +101,7 @@ public class PotentialCustomerController {
...
@@ -101,7 +101,7 @@ public class PotentialCustomerController {
.
map
(
PotentialCustomerDTO:
:
getMemberId
)
.
map
(
PotentialCustomerDTO:
:
getMemberId
)
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
Map
<
String
,
Integer
>
memberVisitMap
=
Map
<
String
,
Integer
>
memberVisitMap
=
materialDataAdaptor
.
queryMemberVisitMap
(
potentialCustomerQO
.
getEnterpriseId
(),
null
,
potentialCustomerQO
.
getClerkId
(),
memberIds
);
materialDataAdaptor
.
queryMemberVisitMap
(
potentialCustomerQO
.
getEnterpriseId
(),
null
,
potentialCustomerQO
.
getClerkId
(),
memberIds
,
potentialCustomerQO
.
getWithData
()
);
List
<
PotentialCustomerVO
>
customerVOS
=
customerDTOS
List
<
PotentialCustomerVO
>
customerVOS
=
customerDTOS
.
stream
()
.
stream
()
.
map
(
item
->
{
.
map
(
item
->
{
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/adaptor/MaterialDataAdaptor.java
View file @
f075a34a
...
@@ -417,8 +417,12 @@ public class MaterialDataAdaptor {
...
@@ -417,8 +417,12 @@ public class MaterialDataAdaptor {
* @param memberIds
* @param memberIds
* @return
* @return
*/
*/
public
Map
<
String
,
Integer
>
queryMemberVisitMap
(
String
enterpriseId
,
String
storeId
,
String
clerkId
,
List
<
String
>
memberIds
)
{
public
Map
<
String
,
Integer
>
queryMemberVisitMap
(
String
enterpriseId
,
String
storeId
,
String
clerkId
,
List
<
String
>
memberIds
,
Boolean
withData
)
{
if
(
Boolean
.
FALSE
.
equals
(
withData
))
{
log
.
info
(
"不查询数据组 "
);
return
Collections
.
emptyMap
();
}
try
{
try
{
Map
<
String
,
Object
>
inlineParams
=
new
HashMap
<>();
Map
<
String
,
Object
>
inlineParams
=
new
HashMap
<>();
if
(
StringUtils
.
isNotBlank
(
clerkId
))
{
if
(
StringUtils
.
isNotBlank
(
clerkId
))
{
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/qo/content/potential/PotentialCustomerQO.java
View file @
f075a34a
...
@@ -71,4 +71,11 @@ public class PotentialCustomerQO extends BasePageInfo {
...
@@ -71,4 +71,11 @@ public class PotentialCustomerQO extends BasePageInfo {
*/
*/
private
Integer
searchType
;
private
Integer
searchType
;
/**
* 是否查询数据
* true 查询
* false 不查询
*/
private
Boolean
withData
;
}
}
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