miaogithub.yt_mybatis.2.1.source-code.Mapper.xml.vm Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://www.mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="${modulePackage}.dao.${replaceSuffixClassName}Mapper"> <!-- Result Map--> <resultMap id="cascadeResultMap" type="${modulePackage}.domain.$!{className}"> #foreach($item in $!{columnDatas}) <result column="$item.columnName" property="$item.columnName"/> #end </resultMap> </mapper>