Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car-database-api
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
中汽研标准应用数据库
car-database-api
Commits
dc63cd7d
Commit
dc63cd7d
authored
Sep 03, 2024
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出方案
parent
74bf0437
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
2 deletions
+24
-2
RecaordUseCasesReportVO.java
...ain/java/com/ruoyi/domain/vo/RecaordUseCasesReportVO.java
+16
-0
TestPlanRecordController.java
...src/main/java/com/ruoyi/web/TestPlanRecordController.java
+8
-2
No files found.
quality-review/src/main/java/com/ruoyi/domain/vo/RecaordUseCasesReportVO.java
0 → 100644
View file @
dc63cd7d
package
com
.
ruoyi
.
domain
.
vo
;
import
com.ruoyi.common.annotation.Excel
;
import
lombok.Data
;
@Data
public
class
RecaordUseCasesReportVO
{
@Excel
(
name
=
"标准章节号"
)
private
String
serialNumber
;
@Excel
(
name
=
"标准要求"
)
private
String
requirements
;
@Excel
(
name
=
"用例编号"
)
private
String
customizedID
;
@Excel
(
name
=
"用例描述"
)
private
String
description
;
}
quality-review/src/main/java/com/ruoyi/web/TestPlanRecordController.java
View file @
dc63cd7d
...
@@ -12,6 +12,7 @@ import com.ruoyi.common.utils.poi.ExcelUtil;
...
@@ -12,6 +12,7 @@ import com.ruoyi.common.utils.poi.ExcelUtil;
import
com.ruoyi.domain.ReviewStandard
;
import
com.ruoyi.domain.ReviewStandard
;
import
com.ruoyi.domain.TTestPlanRecord
;
import
com.ruoyi.domain.TTestPlanRecord
;
import
com.ruoyi.domain.vo.ItemsByUseCaseVO
;
import
com.ruoyi.domain.vo.ItemsByUseCaseVO
;
import
com.ruoyi.domain.vo.RecaordUseCasesReportVO
;
import
com.ruoyi.domain.vo.RecaordUseCasesVO
;
import
com.ruoyi.domain.vo.RecaordUseCasesVO
;
import
com.ruoyi.mapper.TTestPlanRecordMapper
;
import
com.ruoyi.mapper.TTestPlanRecordMapper
;
import
com.ruoyi.service.TTestPlanRecordService
;
import
com.ruoyi.service.TTestPlanRecordService
;
...
@@ -152,10 +153,15 @@ public class TestPlanRecordController extends BaseController{
...
@@ -152,10 +153,15 @@ public class TestPlanRecordController extends BaseController{
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
throw
new
RuntimeException
(
e
);
throw
new
RuntimeException
(
e
);
}
}
List
<
RecaordUseCasesVO
>
list
=
new
ArrayList
<>();
List
<
RecaordUseCases
Report
VO
>
list
=
new
ArrayList
<>();
listUseCase
.
forEach
(
itemS
->{
listUseCase
.
forEach
(
itemS
->{
itemS
.
getUseCases
().
forEach
(
data
->{
itemS
.
getUseCases
().
forEach
(
data
->{
list
.
add
(
data
);
RecaordUseCasesReportVO
recaordUseCasesReportVO
=
new
RecaordUseCasesReportVO
();
recaordUseCasesReportVO
.
setDescription
(
itemS
.
getSerialNumber
());
recaordUseCasesReportVO
.
setRequirements
(
itemS
.
getRequirements
());
recaordUseCasesReportVO
.
setCustomizedID
(
data
.
getCustomizedID
());
recaordUseCasesReportVO
.
setDescription
(
data
.
getDescription
());
list
.
add
(
recaordUseCasesReportVO
);
});
});
});
});
result
.
put
(
isPage
?
"车型实验"
:
"sheet1名字"
,
list
);
result
.
put
(
isPage
?
"车型实验"
:
"sheet1名字"
,
list
);
...
...
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