Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: XML
Posted by: JUNE CHERN
Added: Dec 22, 2019 5:32 PM
Views: 4
Tags: no tags
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE mapper
  3.        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4.        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="cn.bdqn.mapper.UserMapper">
  6.     <select id="getUser" resultType="cn.bdqn.entity.User">
  7.         select * from smbms_user where id = #{id}
  8.     </select>
  9. </mapper>