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
6b10de49
Commit
6b10de49
authored
May 13, 2024
by
wdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询标准下检验项添加label值
parent
6f9e16e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
DictDataVO.java
...-review/src/main/java/com/ruoyi/domain/vo/DictDataVO.java
+2
-0
StandardInspectionItemRelationMapper.xml
...resources/mapper/StandardInspectionItemRelationMapper.xml
+1
-1
No files found.
quality-review/src/main/java/com/ruoyi/domain/vo/DictDataVO.java
View file @
6b10de49
...
...
@@ -8,4 +8,6 @@ public class DictDataVO {
private
Long
dictCode
;
private
String
dictValue
;
private
String
dictLabel
;
}
quality-review/src/main/resources/mapper/StandardInspectionItemRelationMapper.xml
View file @
6b10de49
...
...
@@ -10,7 +10,7 @@
<result
property=
"dictCode"
column=
"dict_code"
jdbcType=
"BIGINT"
/>
</resultMap>
<select
id=
"getListByStandardId"
resultType=
"com.ruoyi.domain.vo.DictDataVO"
>
SELECT sir.dict_code, dict_value as dictValue FROM t_standard_inspection_item_relation sir
SELECT sir.dict_code, dict_value as dictValue
, dict_label as dictLabel
FROM t_standard_inspection_item_relation sir
LEFT JOIN sys_dict_data sdt on sdt.dict_code = sir.dict_code
WHERE standard_id = #{standardId}
</select>
...
...
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