63 lines
3.5 KiB
XML
63 lines
3.5 KiB
XML
|
|
<?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.qihang.tao.mapper.OGoodsMapper">
|
||
|
|
|
||
|
|
<resultMap id="BaseResultMap" type="com.qihang.tao.domain.OGoods">
|
||
|
|
<id property="id" column="id" jdbcType="BIGINT"/>
|
||
|
|
<result property="name" column="name" jdbcType="VARCHAR"/>
|
||
|
|
<result property="image" column="image" jdbcType="VARCHAR"/>
|
||
|
|
<result property="erpGoodsId" column="erp_goods_id" jdbcType="BIGINT"/>
|
||
|
|
<result property="goodsNum" column="goods_num" jdbcType="VARCHAR"/>
|
||
|
|
<result property="unitName" column="unit_name" jdbcType="VARCHAR"/>
|
||
|
|
<result property="categoryId" column="category_id" jdbcType="INTEGER"/>
|
||
|
|
<result property="barCode" column="bar_code" jdbcType="VARCHAR"/>
|
||
|
|
<result property="remark" column="remark" jdbcType="VARCHAR"/>
|
||
|
|
<result property="status" column="status" jdbcType="TINYINT"/>
|
||
|
|
<result property="length" column="length" jdbcType="FLOAT"/>
|
||
|
|
<result property="height" column="height" jdbcType="FLOAT"/>
|
||
|
|
<result property="width" column="width" jdbcType="FLOAT"/>
|
||
|
|
<result property="width1" column="width1" jdbcType="FLOAT"/>
|
||
|
|
<result property="width2" column="width2" jdbcType="FLOAT"/>
|
||
|
|
<result property="width3" column="width3" jdbcType="FLOAT"/>
|
||
|
|
<result property="weight" column="weight" jdbcType="FLOAT"/>
|
||
|
|
<result property="disable" column="disable" jdbcType="TINYINT"/>
|
||
|
|
<result property="period" column="period" jdbcType="VARCHAR"/>
|
||
|
|
<result property="purPrice" column="pur_price" jdbcType="DECIMAL"/>
|
||
|
|
<result property="wholePrice" column="whole_price" jdbcType="DECIMAL"/>
|
||
|
|
<result property="retailPrice" column="retail_price" jdbcType="DECIMAL"/>
|
||
|
|
<result property="unitCost" column="unit_cost" jdbcType="DECIMAL"/>
|
||
|
|
<result property="supplierId" column="supplier_id" jdbcType="INTEGER"/>
|
||
|
|
<result property="brandId" column="brand_id" jdbcType="INTEGER"/>
|
||
|
|
<result property="attr1" column="attr1" jdbcType="VARCHAR"/>
|
||
|
|
<result property="attr2" column="attr2" jdbcType="VARCHAR"/>
|
||
|
|
<result property="attr3" column="attr3" jdbcType="VARCHAR"/>
|
||
|
|
<result property="attr4" column="attr4" jdbcType="VARCHAR"/>
|
||
|
|
<result property="attr5" column="attr5" jdbcType="VARCHAR"/>
|
||
|
|
<result property="linkUrl" column="link_url" jdbcType="VARCHAR"/>
|
||
|
|
<result property="lowQty" column="low_qty" jdbcType="INTEGER"/>
|
||
|
|
<result property="highQty" column="high_qty" jdbcType="INTEGER"/>
|
||
|
|
<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,name,image,
|
||
|
|
erp_goods_id,goods_num,unit_name,
|
||
|
|
category_id,bar_code,remark,
|
||
|
|
status,length,height,
|
||
|
|
width,width1,width2,
|
||
|
|
width3,weight,disable,
|
||
|
|
period,pur_price,whole_price,
|
||
|
|
retail_price,unit_cost,supplier_id,
|
||
|
|
brand_id,attr1,attr2,
|
||
|
|
attr3,attr4,attr5,
|
||
|
|
link_url,low_qty,high_qty,
|
||
|
|
create_by,create_time,update_by,
|
||
|
|
update_time
|
||
|
|
</sql>
|
||
|
|
</mapper>
|