Mybatis映射文件中数据库表列名称和POJO成员域的联系
时间:2021-07-01 10:21:17
帮助过:21人阅读
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">
<select id="findbyname" resultType="user" parameterType="String">
SELECT * FROM user1 WHERE Login_name = #{name}
</select>
</mapper>
Mybatis映射文件中数据库表列名称和POJO成员域的联系
标签:ati coding ring mybatis bsp find select sql doc