<?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.sckw.slope.detection.dao.mysql.KwtLogisticsOrderMapper">
    <resultMap id="BaseResultMap" type="com.sckw.slope.detection.model.dos.mysql.KwtLogisticsOrder">
        <id column="id" jdbcType="BIGINT" property="id"/>
        <result column="ent_id" jdbcType="BIGINT" property="entId"/>
        <result column="type" jdbcType="BIGINT" property="type"/>
        <result column="t_order_id" jdbcType="BIGINT" property="tOrderId"/>
        <result column="t_order_no" jdbcType="VARCHAR" property="tOrderNo"/>
        <result column="l_order_no" jdbcType="VARCHAR" property="lOrderNo"/>
        <result column="pid" jdbcType="BIGINT" property="pid"/>
        <result column="pids" jdbcType="VARCHAR" property="pids"/>
        <result column="level" jdbcType="VARCHAR" property="level"/>
        <result column="bind_status" jdbcType="VARCHAR" property="bindStatus"/>
        <result column="total_load_amount" jdbcType="VARCHAR" property="totalLoadAmount"/>
        <result column="total_unload_amount" jdbcType="VARCHAR" property="totalUnloadAmount"/>
        <result column="settlement_cycle" jdbcType="BIGINT" property="settlementCycle"/>
        <result column="billing_mode" jdbcType="BIGINT" property="billingMode"/>
        <result column="price" jdbcType="DECIMAL" property="price"/>
        <result column="price_type" jdbcType="BIGINT" property="priceType"/>
        <result column="amount" jdbcType="DECIMAL" property="amount"/>
        <result column="unit" jdbcType="VARCHAR" property="unit"/>
        <result column="loss" jdbcType="DECIMAL" property="loss"/>
        <result column="loss_unit" jdbcType="VARCHAR" property="lossUnit"/>
        <result column="goods_price" jdbcType="DECIMAL" property="goodsPrice"/>
        <result column="goods_price_unit" jdbcType="VARCHAR" property="goodsPriceUnit"/>
        <result column="start_time" jdbcType="TIMESTAMP" property="startTime"/>
        <result column="end_time" jdbcType="TIMESTAMP" property="endTime"/>
        <result column="subcontract_amount" jdbcType="DECIMAL" property="subcontractAmount"/>
        <result column="entrust_amount" jdbcType="DECIMAL" property="entrustAmount"/>
        <result column="unload_amount" jdbcType="DECIMAL" property="unloadAmount"/>
        <result column="load_amount" jdbcType="DECIMAL" property="loadAmount"/>
        <result column="ignore_amount" jdbcType="DECIMAL" property="ignoreAmount"/>
        <result column="deficit_amount" jdbcType="DECIMAL" property="deficitAmount"/>
        <result column="deficit_price" jdbcType="DECIMAL" property="deficitPrice"/>
        <result column="payment" jdbcType="BIGINT" property="payment"/>
        <result column="tax_rate" jdbcType="DECIMAL" property="taxRate"/>
        <result column="remark" jdbcType="VARCHAR" property="remark"/>
        <result column="status" jdbcType="INTEGER" property="status"/>
        <result column="create_by" jdbcType="BIGINT" property="createBy"/>
        <result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
        <result column="update_by" jdbcType="BIGINT" property="updateBy"/>
        <result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
        <result column="del_flag" jdbcType="INTEGER" property="delFlag"/>
    </resultMap>
    <sql id="Base_Column_List">
        id
        , ent_id, t_order_id,type,level,bind_status,total_load_amount,total_unload_amount, t_order_no, l_order_no, pid,pids, settlement_cycle, price, price_type,billing_mode,
    amount, unit, loss, loss_unit, goods_price, goods_price_unit, start_time, end_time,
    subcontract_amount, entrust_amount, unload_amount, load_amount, ignore_amount, deficit_amount,
    deficit_price, payment, tax_rate, remark, `status`, create_by, create_time, update_by,
    update_time, del_flag
    </sql>
</mapper>