k.e.book.ddh.mapper.CcBoxProductMapper.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.CcBoxProductMapper"> <!-- 通用查询映射结果 --> <resultMap id="BaseResultMap" type="k.e.book.ddh.entity.CcBoxProductDO"> <id column="id" property="id" /> <result column="author_id" property="authorId" /> <result column="product_id" property="productId" /> <result column="quantity" property="quantity" /> <result column="soldQty" property="soldQty" /> <result column="box_id" property="boxId" /> <result column="amount" property="amount" /> <result column="priceunit" property="priceunit" /> <result column="tag" property="tag" /> <result column="weigh" property="weigh" /> <result column="probability" property="probability" /> <result column="createtime" property="createtime" /> </resultMap> <!-- 通用查询结果 --> <sql id="Base_Column_List"> id, author_id, product_id, quantity, soldQty, box_id, amount, priceunit, tag, weigh, probability, createtime, </sql> </mapper>