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