Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
traffic-signal-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
signal
traffic-signal-platform
Commits
8b435bb5
Commit
8b435bb5
authored
Jun 14, 2023
by
duanruiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[update] 添加通过编码查询厂商信息
parent
773b2eeb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
ManufacturerInfoMapper.java
.../net/wanji/databus/dao/mapper/ManufacturerInfoMapper.java
+1
-0
ManufacturerInfoMapper.xml
...abus/src/main/resources/mapper/ManufacturerInfoMapper.xml
+5
-0
No files found.
wj-databus/src/main/java/net/wanji/databus/dao/mapper/ManufacturerInfoMapper.java
View file @
8b435bb5
...
...
@@ -28,4 +28,5 @@ public interface ManufacturerInfoMapper {
Integer
selectIdByNick
(
@Param
(
"manufacturerNick"
)
String
manufacturerNick
);
String
selectNickById
(
@Param
(
"manufacturerId"
)
Integer
manufacturerId
);
Integer
selectIdByCode
(
@Param
(
"code"
)
String
code
);
}
wj-databus/src/main/resources/mapper/ManufacturerInfoMapper.xml
View file @
8b435bb5
...
...
@@ -86,4 +86,9 @@
select nick_name from t_manufacturer_info
where id = #{manufacturerId}
</select>
<select
id=
"selectIdByCode"
resultType=
"java.lang.Integer"
>
select id from t_manufacturer_info
where code = #{code}
</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