Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vehicle-quality-review
Project
Project
Details
Activity
Releases
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
王飞
vehicle-quality-review
Commits
470b2686
Commit
470b2686
authored
Aug 13, 2024
by
wdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创新基地查询任务详情
parent
8ebb1ad9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
0 deletions
+36
-0
ReviewSceneChangeTaskService.java
.../java/com/ruoyi/service/ReviewSceneChangeTaskService.java
+6
-0
ReviewSceneChangeTaskServiceImpl.java
.../ruoyi/service/impl/ReviewSceneChangeTaskServiceImpl.java
+18
-0
ReviewSceneChangeTaskController.java
...n/java/com/ruoyi/web/ReviewSceneChangeTaskController.java
+12
-0
No files found.
quality-review/src/main/java/com/ruoyi/service/ReviewSceneChangeTaskService.java
View file @
470b2686
...
@@ -90,4 +90,10 @@ public interface ReviewSceneChangeTaskService extends IService<ReviewSceneChange
...
@@ -90,4 +90,10 @@ public interface ReviewSceneChangeTaskService extends IService<ReviewSceneChange
* @return
* @return
*/
*/
List
<
ReviewSceneChangeTaskResponse
>
findFinishList
(
Long
userId
,
ReviewSceneChangeTaskFindFinishRequest
request
);
List
<
ReviewSceneChangeTaskResponse
>
findFinishList
(
Long
userId
,
ReviewSceneChangeTaskFindFinishRequest
request
);
/**
* 创新基地查询任务详情
* @return
*/
ReviewSceneChangeTask
getBySceneChange
(
Long
id
);
}
}
quality-review/src/main/java/com/ruoyi/service/impl/ReviewSceneChangeTaskServiceImpl.java
View file @
470b2686
...
@@ -367,6 +367,24 @@ public class ReviewSceneChangeTaskServiceImpl extends ServiceImpl<ReviewSceneCha
...
@@ -367,6 +367,24 @@ public class ReviewSceneChangeTaskServiceImpl extends ServiceImpl<ReviewSceneCha
return
reviewSceneChangeTask
;
return
reviewSceneChangeTask
;
}
}
@Override
public
ReviewSceneChangeTask
getBySceneChange
(
Long
id
)
{
ReviewSceneChangeTask
reviewSceneChangeTask
=
getById
(
id
);
//查询审核人员
List
<
Long
>
reviewerIdList
=
sysUserRoleMapper
.
selectReviewerIdByRoleId
(
ReviewSceneChangeTask
.
INNOVATION_BASE_ID
);
List
<
SysUser
>
reviewerList
=
sysUserService
.
selectUserListByIds
(
reviewerIdList
);
Set
<
String
>
reviewerNameSet
=
new
HashSet
<>();
for
(
SysUser
reviewer
:
reviewerList
)
{
reviewerNameSet
.
add
(
reviewer
.
getNickName
());
}
// 生成审核人员名字字符串
String
reviewerNames
=
String
.
join
(
"、"
,
reviewerNameSet
);
reviewSceneChangeTask
.
setReviewer
(
reviewerNames
);
return
reviewSceneChangeTask
;
}
}
}
...
...
quality-review/src/main/java/com/ruoyi/web/ReviewSceneChangeTaskController.java
View file @
470b2686
...
@@ -129,4 +129,16 @@ public class ReviewSceneChangeTaskController extends BaseController {
...
@@ -129,4 +129,16 @@ public class ReviewSceneChangeTaskController extends BaseController {
return
getDataTable
(
reviewSceneChangeTaskService
.
findFinishList
(
getUserId
(),
request
));
return
getDataTable
(
reviewSceneChangeTaskService
.
findFinishList
(
getUserId
(),
request
));
}
}
/**
* 创新基地查询任务详情
* @return
*/
@ApiOperation
(
"查询任务详情"
)
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/innovationBaseGetById"
)
public
R
<
ReviewSceneChangeTask
>
innovationBaseGetById
(
@Validated
@RequestBody
ReviewSceneChangeTaskGetInfoRequest
request
)
{
return
R
.
ok
(
reviewSceneChangeTaskService
.
getBySceneChange
(
request
.
getId
()));
}
}
}
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