k.e.book.ddh.mapper.CcUserAddressMapper.xml Maven / Gradle / Ivy
<?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="k.e.book.ddh.mapper.CcUserAddressMapper"> <!-- 通用查询映射结果 --> <resultMap id="BaseResultMap" type="k.e.book.ddh.entity.CcUserAddressDO"> <id column="id" property="id" /> <result column="user_id" property="userId" /> <result column="code" property="code" /> <result column="address" property="address" /> <result column="name" property="name" /> <result column="mobile" property="mobile" /> <result column="remark" property="remark" /> <result column="createtime" property="createtime" /> <result column="updatetime" property="updatetime" /> <result column="deletetime" property="deletetime" /> <result column="is_default" property="isDefault" /> </resultMap> <!-- 通用查询结果 --> <sql id="Base_Column_List"> id, user_id, code, address, name, mobile, remark, createtime, updatetime, deletetime, is_default, </sql> </mapper>