Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rop-dj-supervisor-mini
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fe771b09
authored
May 14, 2026
by
范富荣
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
督导-周报:新增查询优秀案例列表接口
1 parent
7f06b1c8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
src/main/java/cn/com/glsx/dj/supervisor/controller/ExcellentCaseReviewController.java
src/main/java/cn/com/glsx/dj/supervisor/controller/ExcellentCaseReviewController.java
View file @
fe771b0
package
cn
.
com
.
glsx
.
dj
.
supervisor
.
controller
;
package
cn
.
com
.
glsx
.
dj
.
supervisor
.
controller
;
import
cn.com.glsx.dj.carboutique.response.LoginUserInfoResponse
;
import
cn.com.glsx.dj.carboutique.response.LoginUserInfoResponse
;
import
cn.com.glsx.dj.supervisor.dto.ExcellentCaseDetailDTO
;
import
cn.com.glsx.dj.supervisor.dto.ExcellentCaseReviewQueryDTO
;
import
cn.com.glsx.dj.supervisor.dto.ExcellentCaseSubmitDTO
;
import
cn.com.glsx.dj.supervisor.dto.ExcellentCaseSubmitDTO
;
import
cn.com.glsx.dj.supervisor.remote.ExcellentCaseReviewRemote
;
import
cn.com.glsx.dj.supervisor.remote.ExcellentCaseReviewRemote
;
import
cn.com.glsx.dj.supervisor.request.ExcellentCaseSubmitRequest
;
import
cn.com.glsx.dj.supervisor.request.ExcellentCaseSubmitRequest
;
import
cn.com.glsx.dj.supervisor.request.SupervisorTaskQueryRequest
;
import
cn.com.glsx.dj.supervisor.util.CommonUtil
;
import
cn.com.glsx.dj.supervisor.util.CommonUtil
;
import
cn.com.glsx.framework.core.beans.rpc.RpcPagination
;
import
cn.com.glsx.framework.core.beans.rpc.RpcResponse
;
import
cn.com.glsx.framework.core.beans.rpc.RpcResponse
;
import
cn.com.glsx.framework.rop.response.RopResponse
;
import
cn.com.glsx.framework.rop.response.RopResponse
;
import
com.rop.annotation.NeedInSessionType
;
import
com.rop.annotation.NeedInSessionType
;
...
@@ -60,4 +64,20 @@ public class ExcellentCaseReviewController {
...
@@ -60,4 +64,20 @@ public class ExcellentCaseReviewController {
}
}
}
}
/**
* 根据任务ID查询优秀案例列表(分页)
*/
@ServiceMethod
(
method
=
"dj.api.supervisor.excellent.case.listByTaskId"
,
needInSession
=
NeedInSessionType
.
YES
)
@ApiOperation
(
"根据任务ID查询优秀案例列表"
)
public
RopResponse
<
RpcPagination
<
ExcellentCaseDetailDTO
>>
queryExcellentCaseListByTaskId
(
SupervisorTaskQueryRequest
request
)
{
RpcPagination
<
ExcellentCaseReviewQueryDTO
>
pagination
=
CommonUtil
.
getRpcPagination
(
ExcellentCaseReviewQueryDTO
.
class
);
pagination
.
getCondition
().
setTaskId
(
request
.
getId
());
RpcResponse
<
RpcPagination
<
ExcellentCaseDetailDTO
>>
result
=
excellentCaseReviewRemote
.
queryExcellentCaseListByTaskId
(
pagination
);
if
(
result
.
isSuccess
())
{
return
RopResponse
.
success
(
result
.
getResult
());
}
else
{
return
RopResponse
.
error
(
result
.
getError
(),
result
.
getMessage
());
}
}
}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment