2024-03-11 14:39:29 +08:00
|
|
|
<?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">
|
2024-05-10 10:30:53 +08:00
|
|
|
<mapper namespace="com.qihang.oms.mapper.ErpSaleOrderMapper">
|
2024-03-11 14:39:29 +08:00
|
|
|
|
2024-05-10 10:30:53 +08:00
|
|
|
<resultMap id="BaseResultMap" type="com.qihang.oms.domain.ErpSaleOrder">
|
2024-03-11 14:39:29 +08:00
|
|
|
<id property="id" column="id" jdbcType="BIGINT"/>
|
|
|
|
|
<result property="orderNum" column="order_num" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="shopType" column="shop_type" jdbcType="INTEGER"/>
|
|
|
|
|
<result property="shopId" column="shop_id" jdbcType="INTEGER"/>
|
|
|
|
|
<result property="remark" column="remark" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="buyerMemo" column="buyer_memo" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="sellerMemo" column="seller_memo" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="tag" column="tag" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="refundStatus" column="refund_status" jdbcType="INTEGER"/>
|
|
|
|
|
<result property="orderStatus" column="order_status" jdbcType="INTEGER"/>
|
|
|
|
|
<result property="goodsAmount" column="goods_amount" jdbcType="DOUBLE"/>
|
2024-06-15 10:50:16 +08:00
|
|
|
<result property="sellerDiscount" column="seller_discount" jdbcType="DOUBLE"/>
|
|
|
|
|
<result property="platformDiscount" column="platform_discount" jdbcType="DOUBLE"/>
|
2024-05-10 10:30:53 +08:00
|
|
|
<result property="postage" column="postage" jdbcType="DOUBLE"/>
|
2024-06-15 10:50:16 +08:00
|
|
|
<result property="orderAmount" column="order_amount" jdbcType="DOUBLE"/>
|
|
|
|
|
<result property="payAmount" column="pay_amount" jdbcType="DOUBLE"/>
|
2024-03-11 14:39:29 +08:00
|
|
|
<result property="receiverName" column="receiver_name" jdbcType="VARCHAR"/>
|
2024-05-10 10:30:53 +08:00
|
|
|
<result property="receiverPhone" column="receiver_phone" jdbcType="VARCHAR"/>
|
2024-03-11 14:39:29 +08:00
|
|
|
<result property="address" column="address" jdbcType="VARCHAR"/>
|
2024-05-10 10:30:53 +08:00
|
|
|
<result property="country" column="country" jdbcType="VARCHAR"/>
|
2024-03-11 14:39:29 +08:00
|
|
|
<result property="province" column="province" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="city" column="city" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="town" column="town" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="orderTime" column="order_time" jdbcType="TIMESTAMP"/>
|
2024-05-10 10:30:53 +08:00
|
|
|
<result property="payTime" column="pay_time" jdbcType="TIMESTAMP"/>
|
|
|
|
|
<result property="confirmTime" column="confirm_time" jdbcType="TIMESTAMP"/>
|
2024-03-11 14:39:29 +08:00
|
|
|
<result property="shipType" column="ship_type" jdbcType="INTEGER"/>
|
2024-05-10 10:30:53 +08:00
|
|
|
<result property="shipStatus" column="ship_status" jdbcType="INTEGER"/>
|
2024-03-11 14:39:29 +08:00
|
|
|
<result property="shippingTime" column="shipping_time" jdbcType="TIMESTAMP"/>
|
|
|
|
|
<result property="shippingNumber" column="shipping_number" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="shippingCompany" column="shipping_company" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="shippingMan" column="shipping_man" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="shippingCost" column="shipping_cost" jdbcType="DECIMAL"/>
|
|
|
|
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
|
|
|
|
<result property="createBy" column="create_by" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
|
|
|
|
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
|
2024-05-10 10:30:53 +08:00
|
|
|
<result property="length" column="length" jdbcType="FLOAT"/>
|
|
|
|
|
<result property="width" column="width" jdbcType="FLOAT"/>
|
|
|
|
|
<result property="height" column="height" jdbcType="FLOAT"/>
|
|
|
|
|
<result property="weight" column="weight" jdbcType="FLOAT"/>
|
2024-03-11 14:39:29 +08:00
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
|
id,order_num,shop_type,
|
2024-05-10 10:30:53 +08:00
|
|
|
shop_id,remark,buyer_memo,seller_memo,
|
|
|
|
|
tag,refund_status,order_status,
|
2024-06-15 10:50:16 +08:00
|
|
|
goods_amount,seller_discount,platform_discount,postage,
|
|
|
|
|
order_amount,pay_amount,receiver_name,receiver_phone,
|
2024-05-10 10:30:53 +08:00
|
|
|
address,country,province,
|
|
|
|
|
city,town,order_time,
|
|
|
|
|
pay_time,confirm_time,ship_type,
|
|
|
|
|
ship_status,shipping_time,shipping_number,
|
|
|
|
|
shipping_company,shipping_man,shipping_cost,
|
|
|
|
|
create_time,create_by,update_time,
|
|
|
|
|
update_by,length,width,
|
|
|
|
|
height,weight
|
2024-03-11 14:39:29 +08:00
|
|
|
</sql>
|
|
|
|
|
</mapper>
|