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
64be5add
Commit
64be5add
authored
Oct 10, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导购任务
parent
467c2a7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
ClerkTaskController.java
.../manage/web/controller/clerktask/ClerkTaskController.java
+9
-2
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/clerktask/ClerkTaskController.java
View file @
64be5add
...
@@ -8,11 +8,9 @@ import com.gic.commons.util.PageHelperUtils;
...
@@ -8,11 +8,9 @@ import com.gic.commons.util.PageHelperUtils;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.enterprise.api.enums.PlatformChannelEnum
;
import
com.gic.enterprise.api.enums.PlatformChannelEnum
;
import
com.gic.enterprise.api.service.EnterpriseService
;
import
com.gic.enterprise.api.service.EnterpriseService
;
import
com.gic.haoban.manage.web.controller.MaterialController
;
import
com.gic.haoban.manage.web.qo.clerktask.*
;
import
com.gic.haoban.manage.web.qo.clerktask.*
;
import
com.gic.haoban.manage.web.vo.clerktask.*
;
import
com.gic.haoban.manage.web.vo.clerktask.*
;
import
com.gic.marketing.pro.api.dto.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.ClerkAwardQDTO
;
import
com.gic.marketing.pro.api.qdto.clerktask.ClerkRankQDTO
;
import
com.gic.marketing.pro.api.qdto.clerktask.ClerkRankQDTO
;
import
com.gic.marketing.pro.api.qdto.clerktask.ClerkTaskContentPageQDTO
;
import
com.gic.marketing.pro.api.qdto.clerktask.ClerkTaskContentPageQDTO
;
...
@@ -166,6 +164,9 @@ public class ClerkTaskController {
...
@@ -166,6 +164,9 @@ public class ClerkTaskController {
public
RestResponse
<
Page
<
ClerkRankVO
>>
taskRankList
(
@RequestBody
ClerkRankQO
qo
)
{
public
RestResponse
<
Page
<
ClerkRankVO
>>
taskRankList
(
@RequestBody
ClerkRankQO
qo
)
{
ClerkRankQDTO
qdto
=
EntityUtil
.
changeEntityByJSON
(
ClerkRankQDTO
.
class
,
qo
)
;
ClerkRankQDTO
qdto
=
EntityUtil
.
changeEntityByJSON
(
ClerkRankQDTO
.
class
,
qo
)
;
ServiceResponse
<
Page
<
ClerkRankDTO
>>
resp
=
this
.
clerkTaskApiService
.
taskRankList
(
qdto
)
;
ServiceResponse
<
Page
<
ClerkRankDTO
>>
resp
=
this
.
clerkTaskApiService
.
taskRankList
(
qdto
)
;
if
(!
resp
.
isSuccess
())
{
return
RestResponse
.
failure
(
"9999"
,
resp
.
getMessage
())
;
}
Page
<
ClerkRankDTO
>
page
=
resp
.
getResult
();
Page
<
ClerkRankDTO
>
page
=
resp
.
getResult
();
Page
<
ClerkRankVO
>
retPage
=
PageHelperUtils
.
changePageToCurrentPage
(
page
,
ClerkRankVO
.
class
);
Page
<
ClerkRankVO
>
retPage
=
PageHelperUtils
.
changePageToCurrentPage
(
page
,
ClerkRankVO
.
class
);
return
RestResponse
.
successResult
(
retPage
)
;
return
RestResponse
.
successResult
(
retPage
)
;
...
@@ -192,6 +193,9 @@ public class ClerkTaskController {
...
@@ -192,6 +193,9 @@ public class ClerkTaskController {
ClerkTaskContentLogDTO
dto
=
EntityUtil
.
changeEntityByJSON
(
ClerkTaskContentLogDTO
.
class
,
qo
)
;
ClerkTaskContentLogDTO
dto
=
EntityUtil
.
changeEntityByJSON
(
ClerkTaskContentLogDTO
.
class
,
qo
)
;
dto
.
setEnterpriseId
(
enterpriseId
);
dto
.
setEnterpriseId
(
enterpriseId
);
ServiceResponse
<
Long
>
resp
=
this
.
clerkTaskApiService
.
saveContent
(
dto
)
;
ServiceResponse
<
Long
>
resp
=
this
.
clerkTaskApiService
.
saveContent
(
dto
)
;
if
(!
resp
.
isSuccess
())
{
return
RestResponse
.
failure
(
"9999"
,
resp
.
getMessage
())
;
}
return
RestResponse
.
successResult
(
resp
.
getResult
()+
""
)
;
return
RestResponse
.
successResult
(
resp
.
getResult
()+
""
)
;
}
}
...
@@ -204,6 +208,9 @@ public class ClerkTaskController {
...
@@ -204,6 +208,9 @@ public class ClerkTaskController {
ClerkTaskContentLogDTO
dto
=
EntityUtil
.
changeEntityByJSON
(
ClerkTaskContentLogDTO
.
class
,
qo
)
;
ClerkTaskContentLogDTO
dto
=
EntityUtil
.
changeEntityByJSON
(
ClerkTaskContentLogDTO
.
class
,
qo
)
;
dto
.
setEnterpriseId
(
enterpriseId
);
dto
.
setEnterpriseId
(
enterpriseId
);
ServiceResponse
<
Long
>
resp
=
this
.
clerkTaskApiService
.
saveContent
(
dto
)
;
ServiceResponse
<
Long
>
resp
=
this
.
clerkTaskApiService
.
saveContent
(
dto
)
;
if
(!
resp
.
isSuccess
())
{
return
RestResponse
.
failure
(
"9999"
,
resp
.
getMessage
())
;
}
return
RestResponse
.
successResult
(
resp
.
getResult
()+
""
)
;
return
RestResponse
.
successResult
(
resp
.
getResult
()+
""
)
;
}
}
...
...
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