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
18627ab7
Commit
18627ab7
authored
Sep 02, 2024
by
xiongjiangtao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户推荐时间更新
parent
1a272c42
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
2 deletions
+21
-2
MaterialShareLogApiServiceImpl.java
...vice/out/impl/content/MaterialShareLogApiServiceImpl.java
+3
-0
ClerkMaterialShareController.java
.../web/controller/content/ClerkMaterialShareController.java
+15
-2
dubbo-haoban-manage-wx.xml
...ge3-wx/src/main/webapp/WEB-INF/dubbo-haoban-manage-wx.xml
+3
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/content/MaterialShareLogApiServiceImpl.java
View file @
18627ab7
...
@@ -119,6 +119,9 @@ public class MaterialShareLogApiServiceImpl implements MaterialShareLogApiServic
...
@@ -119,6 +119,9 @@ public class MaterialShareLogApiServiceImpl implements MaterialShareLogApiServic
return
temp
;
return
temp
;
}).
collect
(
Collectors
.
toList
());
}).
collect
(
Collectors
.
toList
());
triggerCustomerDetailService
.
batchSaveGoodsShare
(
list
);
triggerCustomerDetailService
.
batchSaveGoodsShare
(
list
);
return
ServiceResponse
.
success
();
return
ServiceResponse
.
success
();
}
}
}
}
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/ClerkMaterialShareController.java
View file @
18627ab7
...
@@ -22,6 +22,8 @@ import com.gic.haoban.manage.web.qo.content.share.ContentLinkShareQO;
...
@@ -22,6 +22,8 @@ import com.gic.haoban.manage.web.qo.content.share.ContentLinkShareQO;
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.SimpleGoodsInfoVO
;
import
com.gic.haoban.manage.web.vo.content.SimpleGoodsInfoVO
;
import
com.gic.haoban.manage.web.vo.content.share.ContentMaterialLandingPageVO
;
import
com.gic.haoban.manage.web.vo.content.share.ContentMaterialLandingPageVO
;
import
com.gic.member.api.dto.member.req.MemberExtraPropertyReq
;
import
com.gic.member.api.service.extra.MemberExtraPropertyApiService
;
import
com.google.common.base.Splitter
;
import
com.google.common.base.Splitter
;
import
com.google.common.collect.Lists
;
import
com.google.common.collect.Lists
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.collections.CollectionUtils
;
...
@@ -35,6 +37,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
...
@@ -35,6 +37,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
...
@@ -48,9 +51,13 @@ public class ClerkMaterialShareController {
...
@@ -48,9 +51,13 @@ public class ClerkMaterialShareController {
@Autowired
@Autowired
private
MaterialShareLogApiService
materialShareLogApiService
;
private
MaterialShareLogApiService
materialShareLogApiService
;
@Autowired
@Autowired
private
ContentMaterialShareApiService
contentMaterialShareApiService
;
private
ContentMaterialShareApiService
contentMaterialShareApiService
;
@Autowired
private
MemberExtraPropertyApiService
memberExtraPropertyApiService
;
/**
/**
* 导购分享素材日志
* 导购分享素材日志
*
*
...
@@ -131,8 +138,14 @@ public class ClerkMaterialShareController {
...
@@ -131,8 +138,14 @@ public class ClerkMaterialShareController {
}
}
//更新会员推荐时间更新
//更新会员推荐时间更新
if
(
CollectionUtils
.
isNotEmpty
(
memberIdList
)){
if
(
CollectionUtils
.
isNotEmpty
(
memberIdList
)){
for
(
String
memberId
:
memberIdList
)
{
MemberExtraPropertyReq
memberExtraPropertyReq
=
new
MemberExtraPropertyReq
();
memberExtraPropertyReq
.
setEnterpriseId
(
recommendShareLogQO
.
getEnterpriseId
());
memberExtraPropertyReq
.
setMemberId
(
memberId
);
memberExtraPropertyReq
.
setExtraKey
(
"interestingGoodsLastSuggestTime"
);
memberExtraPropertyReq
.
setExtraValue
(
new
Date
());
memberExtraPropertyApiService
.
updateMemberExtraProperty
(
memberExtraPropertyReq
);
}
}
}
return
RestResponse
.
successResult
();
return
RestResponse
.
successResult
();
...
...
haoban-manage3-wx/src/main/webapp/WEB-INF/dubbo-haoban-manage-wx.xml
View file @
18627ab7
...
@@ -174,4 +174,7 @@
...
@@ -174,4 +174,7 @@
<dubbo:reference
id=
"storeRankApiService"
interface=
"com.gic.enterprise.api.service.rank.StoreRankApiService"
timeout=
"100000"
retries=
"0"
check=
"false"
/>
<dubbo:reference
id=
"storeRankApiService"
interface=
"com.gic.enterprise.api.service.rank.StoreRankApiService"
timeout=
"100000"
retries=
"0"
check=
"false"
/>
<dubbo:reference
id=
"memberExtraPropertyApiService"
interface=
"com.gic.member.api.service.extra.MemberExtraPropertyApiService"
timeout=
"100000"
retries=
"0"
check=
"false"
/>
</beans>
</beans>
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