Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-dj-supervisor
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 00610437
authored
May 21, 2026
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
飞行督导
1 parent
e04aa1b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletions
rpc-dj-supervisor/src/main/java/cn/com/glsx/dj/supervisor/service/SupervisorTaskInfoService.java
rpc-dj-supervisor/src/main/java/cn/com/glsx/dj/supervisor/service/SupervisorTaskInfoService.java
View file @
0061043
...
@@ -1246,8 +1246,20 @@ public class SupervisorTaskInfoService {
...
@@ -1246,8 +1246,20 @@ public class SupervisorTaskInfoService {
}
}
public
Page
<
SupervisorTeachingListDTO
>
pageTeachingRecords
(
RpcPagination
<
SupervisorTaskQueryDTO
>
request
)
{
public
Page
<
SupervisorTeachingListDTO
>
pageTeachingRecords
(
RpcPagination
<
SupervisorTaskQueryDTO
>
request
)
{
SupervisorTaskQueryDTO
condition
=
request
.
getCondition
();
SupervisorTaskInfo
taskInfo
=
supervisorTaskInfoMapper
.
selectByPrimaryKey
(
condition
.
getId
());
if
(
taskInfo
==
null
)
{
throw
new
RpcServiceException
(
DefaultErrorEnum
.
DATA_NOT_EXIST
,
"任务不存在"
);
}
if
(!
TaskTypeEnum
.
COACHING_REQUIREMENT
.
getCode
().
equals
(
taskInfo
.
getTaskType
()))
{
throw
new
RpcServiceException
(
DefaultErrorEnum
.
SERVICE_ERROR
,
"非带教要求任务"
);
}
condition
.
setSupervisorPhone
(
taskInfo
.
getSupervisorPhone
());
condition
.
setStartDate
(
taskInfo
.
getStartDate
());
condition
.
setEndDate
(
taskInfo
.
getEndDate
());
Page
<
SupervisorTeachingListDTO
>
page
=
PageHelper
.
startPage
(
request
.
getPageNum
(),
request
.
getPageSize
());
Page
<
SupervisorTeachingListDTO
>
page
=
PageHelper
.
startPage
(
request
.
getPageNum
(),
request
.
getPageSize
());
List
<
SupervisorTeachingListDTO
>
list
=
supervisorTaskInfoMapper
.
listTeachingRecords
(
request
.
getCondition
()
);
List
<
SupervisorTeachingListDTO
>
list
=
supervisorTaskInfoMapper
.
listTeachingRecords
(
condition
);
return
page
;
return
page
;
}
}
...
...
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