Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
S
stockPriceTack
Project
Project
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
刘长帅
stockPriceTack
Commits
4aeac41a
Commit
4aeac41a
authored
Jul 20, 2022
by
liucx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
错误日志捕获
parent
550c4a9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
CommunicationRecordStatisticalLogServiceImpl.java
...nt/impl/CommunicationRecordStatisticalLogServiceImpl.java
+9
-4
No files found.
src/main/java/com/zfxftech/telmarket/service/followAccount/impl/CommunicationRecordStatisticalLogServiceImpl.java
View file @
4aeac41a
...
...
@@ -45,10 +45,15 @@ public class CommunicationRecordStatisticalLogServiceImpl extends ServiceImpl<Co
CommunicationRecordStatisticalLog
distinct
=
getBaseMapper
().
selectDistinct
(
customerCommunicationRecordTask
.
getCustomerId
().
longValue
(),
customerCommunicationRecordTask
.
getProductId
().
longValue
(),
customerCommunicationRecordTask
.
getProductType
());
if
(
ObjectUtils
.
isEmpty
(
distinct
))
{
CommunicationRecordStatisticalLog
communicationRecordStatisticalLog
=
new
CommunicationRecordStatisticalLog
();
communicationRecordStatisticalLog
.
setCustomerId
(
customerCommunicationRecordTask
.
getCustomerId
().
longValue
());
communicationRecordStatisticalLog
.
setProductType
(
customerCommunicationRecordTask
.
getProductType
());
communicationRecordStatisticalLog
.
setProductId
(
customerCommunicationRecordTask
.
getProductId
().
longValue
());
distinct
.
setDayConut
(
customerCommunicationRecordTask
.
getCount
());
if
(!
ObjectUtils
.
isEmpty
(
customerCommunicationRecordTask
.
getCustomerId
())){
communicationRecordStatisticalLog
.
setCustomerId
(
customerCommunicationRecordTask
.
getCustomerId
().
longValue
());
}
if
(!
ObjectUtils
.
isEmpty
(
customerCommunicationRecordTask
.
getProductType
())){
communicationRecordStatisticalLog
.
setProductType
(
customerCommunicationRecordTask
.
getProductType
());
}
if
(!
ObjectUtils
.
isEmpty
(
customerCommunicationRecordTask
.
getProductId
())){
communicationRecordStatisticalLog
.
setProductId
(
customerCommunicationRecordTask
.
getProductId
().
longValue
());
}
if
(!
ObjectUtils
.
isEmpty
(
customerCommunicationRecordTask
.
getCount
())){
distinct
.
setDayConut
(
customerCommunicationRecordTask
.
getCount
());
}
saveOrUpdate
(
communicationRecordStatisticalLog
);
}
else
{
if
(
type
.
equals
(
"day"
))
{
...
...
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