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
25b60eef
Commit
25b60eef
authored
Mar 14, 2024
by
wdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取任务与样品关系
parent
3ec6dbd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
TaskServiceImpl.java
...src/main/java/com/ruoyi/service/impl/TaskServiceImpl.java
+0
-22
No files found.
quality-review/src/main/java/com/ruoyi/service/impl/TaskServiceImpl.java
View file @
25b60eef
...
...
@@ -147,33 +147,11 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, Task>implements Tas
// 构建并保存该任务所关联的审核组信息
saveUserRelation
(
auditors
,
task
);
// for(TaskUserRelation auditor : auditors) {
// auditor.setTaskId(task.getId());
// }
//
// taskUserRelationService.saveBatch(auditors);
// 保存关联的整车样品信息和零部件样品信息
List
<
TaskSampleRelation
>
relations
=
request
.
getSample
();
List
<
TaskSampleRelation
>
partRelations
=
request
.
getPartSample
();
saveSampleRelation
(
relations
,
partRelations
,
task
);
// if (relations.size() != 0 && relations != null) {
// for (TaskSampleRelation sampleRelation : relations) {
// sampleRelation.setTaskId(task.getId());
// }
//
// taskSampleRelationService.saveBatch(relations);
// }
//
// // 保存关联的零部件样品信息
//
// if (partRelations.size() != 0 && partRelations != null) {
// for (TaskSampleRelation sampleRelation : partRelations) {
// sampleRelation.setTaskId(task.getId());
// }
//
// taskSampleRelationService.saveBatch(partRelations);
// }
taskStateFacade
.
doCreate
(
task
,
request
.
getTaskList
());
...
...
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