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
c82aea65
Commit
c82aea65
authored
Mar 11, 2024
by
wdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
返回文件名称
parent
02732afd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
24 deletions
+4
-24
ReviewDetailsResult.java
...w/src/main/java/com/ruoyi/domain/ReviewDetailsResult.java
+2
-2
StrategyCarReviewTaskPending.java
.../com/ruoyi/service/impl/StrategyCarReviewTaskPending.java
+1
-11
StrategySystemReviewTaskPending.java
...m/ruoyi/service/impl/StrategySystemReviewTaskPending.java
+1
-11
No files found.
quality-review/src/main/java/com/ruoyi/domain/ReviewDetailsResult.java
View file @
c82aea65
...
...
@@ -87,8 +87,8 @@ public class ReviewDetailsResult implements Serializable {
private
Long
reviewEnterpriseArchiveId
;
@TableField
(
exist
=
false
)
@ApiModelProperty
(
"
企业
名称"
)
private
String
enterpris
eName
;
@ApiModelProperty
(
"
文件
名称"
)
private
String
fil
eName
;
}
quality-review/src/main/java/com/ruoyi/service/impl/StrategyCarReviewTaskPending.java
View file @
c82aea65
...
...
@@ -89,16 +89,6 @@ public class StrategyCarReviewTaskPending implements StrategyCarReviewTask, Init
// 任务样品关系
List
<
TaskSampleRelation
>
relations
=
taskSampleRelationMapper
.
selectByTaskId
(
taskMapper
.
findByCarReviewTaskId
(
carReviewTask
.
getId
()),
TaskSampleRelation
.
COMPLETE_VEHICLE_SAMPLE
);
if
(
results
.
size
()
!=
0
&&
results
!=
null
)
{
for
(
ReviewDetailsResult
reviewDetailsResult
:
results
)
{
if
(
reviewDetailsResult
!=
null
&&
reviewDetailsResult
.
getReviewEnterpriseArchiveId
()
==
null
&&
relations
.
size
()
!=
0
&&
relations
!=
null
)
{
TaskSampleRelation
taskSampleRelation
=
relations
.
get
(
0
);
Sample
sample
=
sampleManagementMapper
.
selectSampleManagementById
(
taskSampleRelation
.
getSampleId
());
reviewDetailsResult
.
setEnterpriseName
(
sample
.
getManufacturingEnterprise
());
}
}
}
// 绑定问卷与答案
setDetailsResult
(
standardTree
,
results
,
carReviewTask
);
...
...
@@ -186,7 +176,7 @@ public class StrategyCarReviewTaskPending implements StrategyCarReviewTask, Init
}
if
(
reviewDetailsResult
!=
null
&&
reviewDetailsResult
.
getReviewEnterpriseArchiveId
()
!=
null
)
{
ReviewEnterpriseArchive
reviewEnterpriseArchive
=
reviewEnterpriseArchiveMapper
.
selectById
(
reviewDetailsResult
.
getReviewEnterpriseArchiveId
());
reviewDetailsResult
.
set
EnterpriseName
(
reviewEnterpriseArchive
.
getEnterpris
eName
());
reviewDetailsResult
.
set
FileName
(
reviewEnterpriseArchive
.
getFil
eName
());
}
details
.
setResult
(
reviewDetailsResult
);
}
...
...
quality-review/src/main/java/com/ruoyi/service/impl/StrategySystemReviewTaskPending.java
View file @
c82aea65
...
...
@@ -132,16 +132,6 @@ public class StrategySystemReviewTaskPending implements StrategySystemReviewTask
// 任务样品关系
List
<
TaskSampleRelation
>
relations
=
taskSampleRelationMapper
.
selectByTaskId
(
taskMapper
.
findBySystemReviewTaskId
(
systemReviewTask
.
getId
()),
TaskSampleRelation
.
COMPLETE_VEHICLE_SAMPLE
);
if
(
results
.
size
()
!=
0
&&
results
!=
null
)
{
for
(
ReviewDetailsResult
reviewDetailsResult
:
results
)
{
if
(
reviewDetailsResult
!=
null
&&
reviewDetailsResult
.
getReviewEnterpriseArchiveId
()
==
null
&&
relations
.
size
()
!=
0
&&
relations
!=
null
)
{
TaskSampleRelation
taskSampleRelation
=
relations
.
get
(
0
);
Sample
sample
=
sampleManagementMapper
.
selectSampleManagementById
(
taskSampleRelation
.
getSampleId
());
reviewDetailsResult
.
setEnterpriseName
(
sample
.
getManufacturingEnterprise
());
}
}
}
// 绑定问卷与答案
setDetailsResult
(
standardTree
,
results
,
systemReviewTask
);
...
...
@@ -185,7 +175,7 @@ public class StrategySystemReviewTaskPending implements StrategySystemReviewTask
}
if
(
reviewDetailsResult
!=
null
&&
reviewDetailsResult
.
getReviewEnterpriseArchiveId
()
!=
null
)
{
ReviewEnterpriseArchive
reviewEnterpriseArchive
=
reviewEnterpriseArchiveMapper
.
selectById
(
reviewDetailsResult
.
getReviewEnterpriseArchiveId
());
reviewDetailsResult
.
set
EnterpriseName
(
reviewEnterpriseArchive
.
getEnterpris
eName
());
reviewDetailsResult
.
set
FileName
(
reviewEnterpriseArchive
.
getFil
eName
());
}
details
.
setResult
(
reviewDetailsResult
);
}
...
...
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