<?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="com.tsai.mapper.DemoMapper">
<select id="selectDemo" resultType="demo">
SELECT *
FROM demo
WHERE demo_number = #{demo_number}
AND demo_password= #{demo_password}
</select>
</mapper>
mapper.xml基础配置
于 2022-12-02 21:37:08 首次发布