k.e.book.ddh.mapper.CcUserCollectMapper.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.CcUserCollectMapper"> <!-- 通用查询映射结果 --> <resultMap id="BaseResultMap" type="k.e.book.ddh.entity.CcUserCollectDO"> <id column="id" property="id" /> <result column="parent_id" property="parentId" /> <result column="user_id" property="userId" /> <result column="seller_id" property="sellerId" /> <result column="author_id" property="authorId" /> <result column="product_id" property="productId" /> <result column="item_id" property="itemId" /> <result column="amount" property="amount" /> <result column="priceunit" property="priceunit" /> <result column="orderid" property="orderid" /> <result column="createtime" property="createtime" /> <result column="updatetime" property="updatetime" /> <result column="deletetime" property="deletetime" /> <result column="contract_address" property="contractAddress" /> <result column="txhash" property="txhash" /> <result column="token_id" property="tokenId" /> <result column="status" property="status" /> <result column="origin" property="origin" /> <result column="created_at" property="createdAt" /> <result column="updated_at" property="updatedAt" /> <result column="deleted_at" property="deletedAt" /> </resultMap> <!-- 通用查询结果 --> <sql id="Base_Column_List"> id, parent_id, user_id, seller_id, author_id, product_id, item_id, amount, priceunit, orderid, createtime, updatetime, deletetime, contract_address, txhash, token_id, status, origin, created_at, updated_at, deleted_at, </sql> </mapper>