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
a3a57abb
Commit
a3a57abb
authored
Mar 10, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
朋友圈
parent
e65ea987
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
QwMomentController.java
...oban/manage/web/controller/moment/QwMomentController.java
+23
-0
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/moment/QwMomentController.java
View file @
a3a57abb
...
@@ -22,6 +22,7 @@ import com.gic.haoban.manage.web.qo.moment.PlanDataListQO;
...
@@ -22,6 +22,7 @@ import com.gic.haoban.manage.web.qo.moment.PlanDataListQO;
import
com.gic.haoban.manage.web.qo.moment.PlanListQO
;
import
com.gic.haoban.manage.web.qo.moment.PlanListQO
;
import
com.gic.haoban.manage.web.qo.moment.QwMomentPlanQO
;
import
com.gic.haoban.manage.web.qo.moment.QwMomentPlanQO
;
import
com.gic.haoban.manage.web.utils.CreatorUtils
;
import
com.gic.haoban.manage.web.utils.CreatorUtils
;
import
com.gic.haoban.manage.web.vo.moment.ClerkVO
;
import
com.gic.haoban.manage.web.vo.moment.HaobanQwMomentPlanVO
;
import
com.gic.haoban.manage.web.vo.moment.HaobanQwMomentPlanVO
;
import
com.gic.haoban.manage.web.vo.moment.QwMomentPlanAttendVO
;
import
com.gic.haoban.manage.web.vo.moment.QwMomentPlanAttendVO
;
import
com.gic.haoban.manage.web.vo.moment.QwMomentPlanDataVO
;
import
com.gic.haoban.manage.web.vo.moment.QwMomentPlanDataVO
;
...
@@ -30,6 +31,7 @@ import com.gic.log.record.util.GicLogRecordCategoryEnum;
...
@@ -30,6 +31,7 @@ import com.gic.log.record.util.GicLogRecordCategoryEnum;
import
com.gic.log.record.util.GicLogRecordEvaluationContext
;
import
com.gic.log.record.util.GicLogRecordEvaluationContext
;
import
com.gic.log.record.util.GicLogRecordOptTypeEnum
;
import
com.gic.log.record.util.GicLogRecordOptTypeEnum
;
import
com.gic.web.common.utils.SessionContextUtils
;
import
com.gic.web.common.utils.SessionContextUtils
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.Logger
;
import
org.apache.logging.log4j.Logger
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -38,6 +40,9 @@ import org.springframework.web.bind.annotation.RequestMapping;
...
@@ -38,6 +40,9 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
/**
* 企微朋友圈
* 企微朋友圈
*/
*/
...
@@ -194,6 +199,24 @@ public class QwMomentController {
...
@@ -194,6 +199,24 @@ public class QwMomentController {
}
}
// 查询素材列表
// 查询素材列表
HaobanQwMomentPlanVO
vo
=
EntityUtil
.
changeEntityByJSON
(
HaobanQwMomentPlanVO
.
class
,
detaiResp
.
getResult
());
HaobanQwMomentPlanVO
vo
=
EntityUtil
.
changeEntityByJSON
(
HaobanQwMomentPlanVO
.
class
,
detaiResp
.
getResult
());
// 部分导购
if
(
vo
.
getPlanClerkType
()==
1
)
{
PlanClerkListQDTO
clerkQDTO
=
new
PlanClerkListQDTO
()
;
clerkQDTO
.
setPlanId
(
planId
);
clerkQDTO
.
setPageNum
(
1
);
clerkQDTO
.
setPageSize
(
10000
);
ServiceResponse
<
Page
<
QwMomentPlanAttendDTO
>>
clerkResp
=
this
.
qwMomentApiService
.
attendList
(
clerkQDTO
)
;
if
(
clerkResp
.
isSuccess
()
&&
CollectionUtils
.
isNotEmpty
(
clerkResp
.
getResult
().
getResult
()))
{
List
<
ClerkVO
>
list
=
clerkResp
.
getResult
().
getResult
().
stream
().
map
(
o
->{
ClerkVO
clerkVO
=
new
ClerkVO
();
clerkVO
.
setClerkId
(
o
.
getClerkId
());
clerkVO
.
setClerkCode
(
o
.
getClerkCode
());
clerkVO
.
setClerkName
(
o
.
getClerkName
());
return
clerkVO
;
}).
collect
(
Collectors
.
toList
())
;
vo
.
setClerkVOList
(
list
);
}
}
return
RestResponse
.
successResult
(
vo
);
return
RestResponse
.
successResult
(
vo
);
}
}
...
...
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