jinpengyong
2021-03-08 d44846781d58e4f9a56188baa5f5ecb2613d96c1
新增TestMapper.xml
1 files added
13 ■■■■■ changed files
screen-api/src/main/resources/mapper/TestMapper.xml 13 ●●●●● patch | view | raw | blame | history
screen-api/src/main/resources/mapper/TestMapper.xml
New file
@@ -0,0 +1,13 @@
<?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.moral.api.mapper.TestMapper">
        <!-- 通用查询映射结果 -->
        <resultMap id="BaseResultMap" type="com.moral.api.entity.Test">
                    <id column="id" property="id" />
                    <result column="name" property="name" />
                    <result column="email" property="email" />
                    <result column="mobile" property="mobile" />
        </resultMap>
</mapper>