Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
0b9a5ef8
Commit
0b9a5ef8
authored
Aug 16, 2019
by
周健威
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
851c2b2d
50f06362
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
BannerVo.java
...c/main/java/com/xxfc/platform/app/entity/vo/BannerVo.java
+2
-1
BannerBiz.java
...er/src/main/java/com/xxfc/platform/app/biz/BannerBiz.java
+1
-0
CustomerBehaviorNotesBiz.java
.../platform/user/behavior/biz/CustomerBehaviorNotesBiz.java
+7
-0
No files found.
xx-app/xx-app-api/src/main/java/com/xxfc/platform/app/entity/vo/BannerVo.java
View file @
0b9a5ef8
...
...
@@ -11,7 +11,8 @@ import lombok.Data;
@Data
public
class
BannerVo
{
private
String
title
;
private
Long
id
;
private
String
title
;
/**
* 封面地址
...
...
xx-app/xx-app-server/src/main/java/com/xxfc/platform/app/biz/BannerBiz.java
View file @
0b9a5ef8
...
...
@@ -40,6 +40,7 @@ public class BannerBiz extends BaseBiz<BannerMapper,Banner> {
bannerVo
.
setCover
(
banner
.
getCover
());
bannerVo
.
setUrl
(
banner
.
getUrl
());
bannerVo
.
setTitle
(
banner
.
getTitle
());
bannerVo
.
setId
(
banner
.
getId
());
bannerVos
.
add
(
bannerVo
);
});
return
bannerVos
;
...
...
xx-user-behavior-collect/xx-user-behavior-server/src/main/java/com/xxfc/platform/user/behavior/biz/CustomerBehaviorNotesBiz.java
View file @
0b9a5ef8
...
...
@@ -16,6 +16,7 @@ import lombok.RequiredArgsConstructor;
import
org.apache.commons.collections.CollectionUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
...
...
@@ -45,10 +46,16 @@ public class CustomerBehaviorNotesBiz extends BaseBiz<CustomerBehaviorNotesMappe
private
final
ActivityBehaviorRelationBiz
activityBehaviorRelationBiz
;
@Value
(
"${activity.register.id}"
)
private
Integer
activityId
;
public
void
saveCustomerBehavior
(
CustomerBehaviorNoteDTO
customerBehaviorNoteDTO
)
{
CustomerBehaviorNotes
customerBehaviorNotes
=
new
CustomerBehaviorNotes
();
BeanUtils
.
copyProperties
(
customerBehaviorNoteDTO
,
customerBehaviorNotes
);
customerBehaviorNotes
.
setCrtTime
(
Instant
.
now
().
toEpochMilli
());
if
(
customerBehaviorNoteDTO
.
getType
()==
BehaviorEnum
.
REGISTRY
.
getCode
()){
customerBehaviorNotes
.
setTypeId
(
activityId
);
}
mapper
.
insertSelective
(
customerBehaviorNotes
);
}
...
...
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