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
a91ac89f
Commit
a91ac89f
authored
Oct 09, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
素材审批消息
parent
f3a44354
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
ClerkTaskController.java
.../manage/web/controller/clerktask/ClerkTaskController.java
+10
-0
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/clerktask/ClerkTaskController.java
View file @
a91ac89f
...
...
@@ -12,6 +12,7 @@ import com.gic.haoban.manage.web.controller.MaterialController;
import
com.gic.haoban.manage.web.qo.clerktask.*
;
import
com.gic.haoban.manage.web.vo.clerktask.*
;
import
com.gic.marketing.pro.api.dto.clerktask.*
;
import
com.gic.marketing.pro.api.enums.clerktask.ClerkTaskTypeEnum
;
import
com.gic.marketing.pro.api.qdto.clerktask.ClerkAwardQDTO
;
import
com.gic.marketing.pro.api.qdto.clerktask.ClerkRankQDTO
;
import
com.gic.marketing.pro.api.qdto.clerktask.ClerkTaskContentPageQDTO
;
...
...
@@ -108,6 +109,9 @@ public class ClerkTaskController {
@RequestMapping
(
"task-detail"
)
@ResponseBody
public
RestResponse
<
TaskPlanDetailVO
>
taskDetail
(
String
enterpriseId
,
Long
planId
,
String
clerkId
)
{
if
(
StringUtils
.
isAnyBlank
(
""
+
planId
,
clerkId
))
{
return
RestResponse
.
failure
(
"9999"
,
"必传参数为空"
)
;
}
ServiceResponse
<
ClerkTaskPlanDTO
>
resp
=
this
.
clerkTaskApiService
.
getDetail
(
enterpriseId
,
planId
,
0
)
;
if
(!
resp
.
isSuccess
())
{
return
RestResponse
.
failure
(
"9999"
,
resp
.
getMessage
())
;
...
...
@@ -117,6 +121,12 @@ public class ClerkTaskController {
vo
=
EntityUtil
.
changeEntityByJSON
(
TaskPlanDetailVO
.
class
,
resp
.
getResult
());
vo
.
setStatus
(
map
.
get
(
vo
.
getPlanId
()));
vo
.
setOrderChannelNames
(
this
.
channelName
(
enterpriseId
,
vo
.
getOrderChannels
()));
ClerkAwardInfoDTO
awardInfoDTO
=
this
.
clerkTaskApiService
.
getClerkFinishInfo
(
planId
,
clerkId
)
;
ClerkAwardInfoVO
awardInfoVO
=
new
ClerkAwardInfoVO
();
if
(
null
!=
awardInfoVO
)
{
awardInfoVO
=
EntityUtil
.
changeEntityByJSON
(
ClerkAwardInfoVO
.
class
,
awardInfoDTO
)
;
}
vo
.
setClerkAwardInfo
(
awardInfoVO
);
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