screen-api/src/main/resources/mapper/TestMapper.xml | ●●●●● 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>