|
|
@@ -0,0 +1,26 @@
|
|
|
+<?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.zksy.base.mapper.ProductCenterMapper">
|
|
|
+
|
|
|
+ <resultMap id="BaseResultMap" type="com.zksy.base.domain.ProductCenter">
|
|
|
+ <id property="id" column="id" jdbcType="VARCHAR"/>
|
|
|
+ <result property="productCategory" column="product_category" jdbcType="VARCHAR"/>
|
|
|
+ <result property="productType" column="product_type" jdbcType="VARCHAR"/>
|
|
|
+ <result property="productName" column="product_name" jdbcType="VARCHAR"/>
|
|
|
+ <result property="productDetails" column="product_details" jdbcType="VARCHAR"/>
|
|
|
+ <result property="productUrl" column="product_url" jdbcType="VARCHAR"/>
|
|
|
+ <result property="createBy" column="create_by" jdbcType="VARCHAR"/>
|
|
|
+ <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
|
|
+ <result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
|
|
|
+ <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
+ <sql id="Base_Column_List">
|
|
|
+ id,product_category,product_type,
|
|
|
+ product_name,product_details,product_url,
|
|
|
+ create_by,create_time,update_by,
|
|
|
+ update_time
|
|
|
+ </sql>
|
|
|
+</mapper>
|