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
a52ce7b7
Commit
a52ce7b7
authored
Sep 24, 2024
by
yuanshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1./Plan/Record/exportTo接口修改,调用新的Utils类生成Excel
parent
037b5069
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
656 additions
and
1 deletion
+656
-1
ExcelMultipleSheetsUtil.java
...c/main/java/com/ruoyi/common/ExcelMultipleSheetsUtil.java
+650
-0
TestPlanRecordController.java
...src/main/java/com/ruoyi/web/TestPlanRecordController.java
+2
-1
TTestPlanRecordMapper.xml
...eview/src/main/resources/mapper/TTestPlanRecordMapper.xml
+4
-0
No files found.
quality-review/src/main/java/com/ruoyi/common/ExcelMultipleSheetsUtil.java
0 → 100644
View file @
a52ce7b7
This diff is collapsed.
Click to expand it.
quality-review/src/main/java/com/ruoyi/web/TestPlanRecordController.java
View file @
a52ce7b7
...
...
@@ -3,11 +3,12 @@ package com.ruoyi.web;
import
cn.hutool.core.date.DateUtil
;
import
com.alibaba.fastjson2.JSON
;
import
com.ruoyi.common.ExcelMultipleSheetsUtil
;
import
com.ruoyi.common.annotation.Log
;
import
com.ruoyi.common.core.domain.R
;
import
com.ruoyi.common.core.page.TableDataInfo
;
import
com.ruoyi.common.enums.BusinessType
;
import
com.ruoyi.common.utils.poi.ExcelMultipleSheetsUtil
;
//
import com.ruoyi.common.utils.poi.ExcelMultipleSheetsUtil;
import
com.ruoyi.common.utils.poi.ExcelUtil
;
import
com.ruoyi.domain.ReviewStandard
;
import
com.ruoyi.domain.TTestPlanRecord
;
...
...
quality-review/src/main/resources/mapper/TTestPlanRecordMapper.xml
View file @
a52ce7b7
...
...
@@ -87,5 +87,9 @@
LEFT JOIN t_review_details trd on trd.review_keypoint_id = trk.id
LEFT JOIN t_review_scene trsc on trsc.review_details_id = trd.id
WHERE standard_id = #{standardId} AND type = #{type}
ORDER BY
CAST(SUBSTRING_INDEX(trs.chapter, '.', 1) AS UNSIGNED),
CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(trs.chapter, '.', 2), '.', -1) AS UNSIGNED),
CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(trs.chapter, '.', 3), '.', -1) AS UNSIGNED)
</select>
</mapper>
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