Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
MybatisTraning
Project
Project
Details
Activity
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
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
qin.wen
MybatisTraning
Commits
f4ef0b9d
Commit
f4ef0b9d
authored
Jan 02, 2020
by
qin.wen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
parent
691607ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
MyMapper.xml
秦雯_Mybatis2/src/main/resource/MyMapper.xml
+12
-0
No files found.
秦雯_Mybatis2/src/main/resource/MyMapper.xml
0 → 100644
View file @
f4ef0b9d
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"MyMapper"
>
<select
id=
"selectUser"
resultType=
"com.cesgroup.mybatiswork.entity.User"
>
select * from user where id = #{id}
</select>
<insert
id=
"insert"
parameterType=
"com.cesgroup.mybatiswork.entity.User"
>
INSERT INTO user (id, name, info) VALUES (#{id}, #{name}, #{info})
</insert>
</mapper>
\ No newline at end of file
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