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
33929f74
Commit
33929f74
authored
Mar 31, 2023
by
songyinghui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 销售线索列表NPE
parent
3024e346
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
PotentialCustomerController.java
...e/web/controller/content/PotentialCustomerController.java
+5
-1
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/PotentialCustomerController.java
View file @
33929f74
...
@@ -17,6 +17,7 @@ import com.gic.haoban.manage.web.qo.content.potential.PotentialCustomerQO;
...
@@ -17,6 +17,7 @@ import com.gic.haoban.manage.web.qo.content.potential.PotentialCustomerQO;
import
com.gic.haoban.manage.web.vo.content.ContentMaterialInfoVO
;
import
com.gic.haoban.manage.web.vo.content.ContentMaterialInfoVO
;
import
com.gic.haoban.manage.web.vo.content.potential.PotentialCustomerVO
;
import
com.gic.haoban.manage.web.vo.content.potential.PotentialCustomerVO
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
...
@@ -44,7 +45,6 @@ public class PotentialCustomerController {
...
@@ -44,7 +45,6 @@ public class PotentialCustomerController {
MaterialDataAdaptor
materialDataAdaptor
;
MaterialDataAdaptor
materialDataAdaptor
;
/**
/**
* 销售线索列表
* 销售线索列表
*
*
...
@@ -62,6 +62,10 @@ public class PotentialCustomerController {
...
@@ -62,6 +62,10 @@ public class PotentialCustomerController {
log
.
info
(
"查询销售线索异常 {}"
,
JSON
.
toJSONString
(
serviceResponse
));
log
.
info
(
"查询销售线索异常 {}"
,
JSON
.
toJSONString
(
serviceResponse
));
return
RestResponse
.
failure
(
serviceResponse
.
getCode
(),
serviceResponse
.
getMessage
());
return
RestResponse
.
failure
(
serviceResponse
.
getCode
(),
serviceResponse
.
getMessage
());
}
}
if
(
CollectionUtils
.
isEmpty
(
serviceResponse
.
getResult
().
getResult
()))
{
log
.
info
(
"查询销售线索为空 params: {}"
,
JSON
.
toJSONString
(
potentialCustomerQO
));
return
RestResponse
.
successResult
();
}
List
<
PotentialCustomerDTO
>
customerDTOS
=
serviceResponse
.
getResult
().
getResult
();
List
<
PotentialCustomerDTO
>
customerDTOS
=
serviceResponse
.
getResult
().
getResult
();
List
<
Long
>
materialIds
=
customerDTOS
List
<
Long
>
materialIds
=
customerDTOS
.
stream
()
.
stream
()
...
...
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