Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
徐少华
midjourney-proxy
Commits
87b832b5
Commit
87b832b5
authored
Mar 13, 2019
by
gaopeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
广告位埋点清除无用数据
parent
536594d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
AdvertisingSpaceBizImpl.java
...ud/book/advertising/biz/impl/AdvertisingSpaceBizImpl.java
+8
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/advertising/biz/impl/AdvertisingSpaceBizImpl.java
View file @
87b832b5
...
@@ -568,6 +568,10 @@ public class AdvertisingSpaceBizImpl implements AdvertisingSpaceBiz {
...
@@ -568,6 +568,10 @@ public class AdvertisingSpaceBizImpl implements AdvertisingSpaceBiz {
@Override
@Override
@ParamLog
(
value
=
"曝光量埋点"
,
isAfterReturn
=
false
)
@ParamLog
(
value
=
"曝光量埋点"
,
isAfterReturn
=
false
)
public
void
addExposureTrack
(
AdvertisingExposureRecord
advertisingExposureRecord
)
throws
BizException
{
public
void
addExposureTrack
(
AdvertisingExposureRecord
advertisingExposureRecord
)
throws
BizException
{
if
(
StringUtil
.
isEmpty
(
advertisingExposureRecord
.
getFromType
())
||
null
==
advertisingExposureRecord
.
getFromId
()
||
advertisingExposureRecord
.
getFromId
()
<=
0L
)
{
return
;
}
Long
agentId
=
channelConsr
.
getParentId
(
advertisingExposureRecord
.
getChannelId
());
Long
agentId
=
channelConsr
.
getParentId
(
advertisingExposureRecord
.
getChannelId
());
advertisingExposureRecord
.
setAgentId
(
agentId
);
advertisingExposureRecord
.
setAgentId
(
agentId
);
advertisingExposureRecordDao
.
insert
(
advertisingExposureRecord
);
advertisingExposureRecordDao
.
insert
(
advertisingExposureRecord
);
...
@@ -579,6 +583,10 @@ public class AdvertisingSpaceBizImpl implements AdvertisingSpaceBiz {
...
@@ -579,6 +583,10 @@ public class AdvertisingSpaceBizImpl implements AdvertisingSpaceBiz {
@Override
@Override
@ParamLog
(
value
=
"点击量埋点"
,
isAfterReturn
=
false
)
@ParamLog
(
value
=
"点击量埋点"
,
isAfterReturn
=
false
)
public
void
addClickTrack
(
AdvertisingClickRecord
advertisingClickRecord
)
throws
BizException
{
public
void
addClickTrack
(
AdvertisingClickRecord
advertisingClickRecord
)
throws
BizException
{
if
(
StringUtil
.
isEmpty
(
advertisingClickRecord
.
getFromType
())
||
null
==
advertisingClickRecord
.
getFromId
()
||
advertisingClickRecord
.
getFromId
()
<=
0L
)
{
return
;
}
Long
agentId
=
channelConsr
.
getParentId
(
advertisingClickRecord
.
getChannelId
());
Long
agentId
=
channelConsr
.
getParentId
(
advertisingClickRecord
.
getChannelId
());
advertisingClickRecord
.
setAgentId
(
agentId
);
advertisingClickRecord
.
setAgentId
(
agentId
);
advertisingClickRecordDao
.
insert
(
advertisingClickRecord
);
advertisingClickRecordDao
.
insert
(
advertisingClickRecord
);
...
...
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