<?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.bailuntec.mapper.DcBaseLogisticsReconciliationMapper">
  <resultMap id="BaseResultMap" type="com.bailuntec.domain.entity.DcBaseLogisticsReconciliation">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    <id column="id" jdbcType="INTEGER" property="id" />
    <result column="wms_id" jdbcType="INTEGER" property="wmsId" />
    <result column="company_Code" jdbcType="VARCHAR" property="companyCode" />
    <result column="company_Name" jdbcType="VARCHAR" property="companyName" />
    <result column="line_Code" jdbcType="VARCHAR" property="lineCode" />
    <result column="line_Name" jdbcType="VARCHAR" property="lineName" />
    <result column="allocatecargoOrderCode" jdbcType="VARCHAR" property="allocatecargoordercode" />
    <result column="yiCangNo" jdbcType="VARCHAR" property="yicangno" />
    <result column="trackingNo" jdbcType="VARCHAR" property="trackingno" />
    <result column="shipmentTime" jdbcType="TIMESTAMP" property="shipmenttime" />
    <result column="outputWeightKg" jdbcType="DECIMAL" property="outputweightkg" />
    <result column="bailunShipmentCostCNY" jdbcType="DECIMAL" property="bailunshipmentcostcny" />
    <result column="merchantOutputWeightKg" jdbcType="DECIMAL" property="merchantoutputweightkg" />
    <result column="merchantShipmentCostCNY" jdbcType="DECIMAL" property="merchantshipmentcostcny" />
    <result column="merchantReconciliationTime" jdbcType="TIMESTAMP" property="merchantreconciliationtime" />
    <result column="reconciliationStatus" jdbcType="VARCHAR" property="reconciliationstatus" />
    <result column="weightDiff" jdbcType="VARCHAR" property="weightdiff" />
    <result column="costDiff" jdbcType="VARCHAR" property="costdiff" />
    <result column="weightSpecificDiff" jdbcType="VARCHAR" property="weightspecificdiff" />
    <result column="thisReconciliateTime" jdbcType="TIMESTAMP" property="thisreconciliatetime" />
    <result column="originalScanningTime" jdbcType="TIMESTAMP" property="originalscanningtime" />
    <result column="wareNo" jdbcType="VARCHAR" property="wareno" />
    <result column="reconciliationUser" jdbcType="VARCHAR" property="reconciliationuser" />
    <result column="auditUser" jdbcType="VARCHAR" property="audituser" />
    <result column="auditStatus" jdbcType="VARCHAR" property="auditstatus" />
    <result column="auditRemark" jdbcType="VARCHAR" property="auditremark" />
    <result column="remark" jdbcType="VARCHAR" property="remark" />
    <result column="confirmShipmentCostCNY" jdbcType="DECIMAL" property="confirmshipmentcostcny" />
    <result column="confirmOutputWeightKg" jdbcType="DECIMAL" property="confirmoutputweightkg" />
    <result column="createUser" jdbcType="VARCHAR" property="createuser" />
    <result column="creationTime" jdbcType="TIMESTAMP" property="creationtime" />
    <result column="lastModificationTime" jdbcType="TIMESTAMP" property="lastmodificationtime" />
    <result column="gmt_createTime" jdbcType="TIMESTAMP" property="gmtCreatetime" />
    <result column="gmt_modifyTime" jdbcType="TIMESTAMP" property="gmtModifytime" />
  </resultMap>
  <sql id="Example_Where_Clause">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    <where>
      <foreach collection="oredCriteria" item="criteria" separator="or">
        <if test="criteria.valid">
          <trim prefix="(" prefixOverrides="and" suffix=")">
            <foreach collection="criteria.criteria" item="criterion">
              <choose>
                <when test="criterion.noValue">
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue">
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue">
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue">
                  and ${criterion.condition}
                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Update_By_Example_Where_Clause">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    <where>
      <foreach collection="example.oredCriteria" item="criteria" separator="or">
        <if test="criteria.valid">
          <trim prefix="(" prefixOverrides="and" suffix=")">
            <foreach collection="criteria.criteria" item="criterion">
              <choose>
                <when test="criterion.noValue">
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue">
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue">
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue">
                  and ${criterion.condition}
                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Base_Column_List">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    id, wms_id, company_Code, company_Name, line_Code, line_Name, allocatecargoOrderCode, 
    yiCangNo, trackingNo, shipmentTime, outputWeightKg, bailunShipmentCostCNY, merchantOutputWeightKg, 
    merchantShipmentCostCNY, merchantReconciliationTime, reconciliationStatus, weightDiff, 
    costDiff, weightSpecificDiff, thisReconciliateTime, originalScanningTime, wareNo, 
    reconciliationUser, auditUser, auditStatus, auditRemark, remark, confirmShipmentCostCNY, 
    confirmOutputWeightKg, createUser, creationTime, lastModificationTime, gmt_createTime, 
    gmt_modifyTime
  </sql>
  <select id="selectByExample" parameterType="com.bailuntec.domain.example.DcBaseLogisticsReconciliationExample" resultMap="BaseResultMap">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select
    <if test="distinct">
      distinct
    </if>
    <include refid="Base_Column_List" />
    from dc_base_logistics_reconciliation
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
    <if test="rows != null">
      <if test="offset != null">
        limit ${offset}, ${rows}
      </if>
      <if test="offset == null">
        limit ${rows}
      </if>
    </if>
  </select>
  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select 
    <include refid="Base_Column_List" />
    from dc_base_logistics_reconciliation
    where id = #{id,jdbcType=INTEGER}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    delete from dc_base_logistics_reconciliation
    where id = #{id,jdbcType=INTEGER}
  </delete>
  <delete id="deleteByExample" parameterType="com.bailuntec.domain.example.DcBaseLogisticsReconciliationExample">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    delete from dc_base_logistics_reconciliation
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.bailuntec.domain.entity.DcBaseLogisticsReconciliation">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    insert into dc_base_logistics_reconciliation (id, wms_id, company_Code, 
      company_Name, line_Code, line_Name, 
      allocatecargoOrderCode, yiCangNo, trackingNo, 
      shipmentTime, outputWeightKg, bailunShipmentCostCNY, 
      merchantOutputWeightKg, merchantShipmentCostCNY, 
      merchantReconciliationTime, reconciliationStatus, 
      weightDiff, costDiff, weightSpecificDiff, 
      thisReconciliateTime, originalScanningTime, 
      wareNo, reconciliationUser, auditUser, 
      auditStatus, auditRemark, remark, 
      confirmShipmentCostCNY, confirmOutputWeightKg, 
      createUser, creationTime, lastModificationTime, 
      gmt_createTime, gmt_modifyTime)
    values (#{id,jdbcType=INTEGER}, #{wmsId,jdbcType=INTEGER}, #{companyCode,jdbcType=VARCHAR}, 
      #{companyName,jdbcType=VARCHAR}, #{lineCode,jdbcType=VARCHAR}, #{lineName,jdbcType=VARCHAR}, 
      #{allocatecargoordercode,jdbcType=VARCHAR}, #{yicangno,jdbcType=VARCHAR}, #{trackingno,jdbcType=VARCHAR}, 
      #{shipmenttime,jdbcType=TIMESTAMP}, #{outputweightkg,jdbcType=DECIMAL}, #{bailunshipmentcostcny,jdbcType=DECIMAL}, 
      #{merchantoutputweightkg,jdbcType=DECIMAL}, #{merchantshipmentcostcny,jdbcType=DECIMAL}, 
      #{merchantreconciliationtime,jdbcType=TIMESTAMP}, #{reconciliationstatus,jdbcType=VARCHAR}, 
      #{weightdiff,jdbcType=VARCHAR}, #{costdiff,jdbcType=VARCHAR}, #{weightspecificdiff,jdbcType=VARCHAR}, 
      #{thisreconciliatetime,jdbcType=TIMESTAMP}, #{originalscanningtime,jdbcType=TIMESTAMP}, 
      #{wareno,jdbcType=VARCHAR}, #{reconciliationuser,jdbcType=VARCHAR}, #{audituser,jdbcType=VARCHAR}, 
      #{auditstatus,jdbcType=VARCHAR}, #{auditremark,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, 
      #{confirmshipmentcostcny,jdbcType=DECIMAL}, #{confirmoutputweightkg,jdbcType=DECIMAL}, 
      #{createuser,jdbcType=VARCHAR}, #{creationtime,jdbcType=TIMESTAMP}, #{lastmodificationtime,jdbcType=TIMESTAMP}, 
      #{gmtCreatetime,jdbcType=TIMESTAMP}, #{gmtModifytime,jdbcType=TIMESTAMP})
  </insert>
  <insert id="insertSelective" parameterType="com.bailuntec.domain.entity.DcBaseLogisticsReconciliation">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    insert into dc_base_logistics_reconciliation
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        id,
      </if>
      <if test="wmsId != null">
        wms_id,
      </if>
      <if test="companyCode != null">
        company_Code,
      </if>
      <if test="companyName != null">
        company_Name,
      </if>
      <if test="lineCode != null">
        line_Code,
      </if>
      <if test="lineName != null">
        line_Name,
      </if>
      <if test="allocatecargoordercode != null">
        allocatecargoOrderCode,
      </if>
      <if test="yicangno != null">
        yiCangNo,
      </if>
      <if test="trackingno != null">
        trackingNo,
      </if>
      <if test="shipmenttime != null">
        shipmentTime,
      </if>
      <if test="outputweightkg != null">
        outputWeightKg,
      </if>
      <if test="bailunshipmentcostcny != null">
        bailunShipmentCostCNY,
      </if>
      <if test="merchantoutputweightkg != null">
        merchantOutputWeightKg,
      </if>
      <if test="merchantshipmentcostcny != null">
        merchantShipmentCostCNY,
      </if>
      <if test="merchantreconciliationtime != null">
        merchantReconciliationTime,
      </if>
      <if test="reconciliationstatus != null">
        reconciliationStatus,
      </if>
      <if test="weightdiff != null">
        weightDiff,
      </if>
      <if test="costdiff != null">
        costDiff,
      </if>
      <if test="weightspecificdiff != null">
        weightSpecificDiff,
      </if>
      <if test="thisreconciliatetime != null">
        thisReconciliateTime,
      </if>
      <if test="originalscanningtime != null">
        originalScanningTime,
      </if>
      <if test="wareno != null">
        wareNo,
      </if>
      <if test="reconciliationuser != null">
        reconciliationUser,
      </if>
      <if test="audituser != null">
        auditUser,
      </if>
      <if test="auditstatus != null">
        auditStatus,
      </if>
      <if test="auditremark != null">
        auditRemark,
      </if>
      <if test="remark != null">
        remark,
      </if>
      <if test="confirmshipmentcostcny != null">
        confirmShipmentCostCNY,
      </if>
      <if test="confirmoutputweightkg != null">
        confirmOutputWeightKg,
      </if>
      <if test="createuser != null">
        createUser,
      </if>
      <if test="creationtime != null">
        creationTime,
      </if>
      <if test="lastmodificationtime != null">
        lastModificationTime,
      </if>
      <if test="gmtCreatetime != null">
        gmt_createTime,
      </if>
      <if test="gmtModifytime != null">
        gmt_modifyTime,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="id != null">
        #{id,jdbcType=INTEGER},
      </if>
      <if test="wmsId != null">
        #{wmsId,jdbcType=INTEGER},
      </if>
      <if test="companyCode != null">
        #{companyCode,jdbcType=VARCHAR},
      </if>
      <if test="companyName != null">
        #{companyName,jdbcType=VARCHAR},
      </if>
      <if test="lineCode != null">
        #{lineCode,jdbcType=VARCHAR},
      </if>
      <if test="lineName != null">
        #{lineName,jdbcType=VARCHAR},
      </if>
      <if test="allocatecargoordercode != null">
        #{allocatecargoordercode,jdbcType=VARCHAR},
      </if>
      <if test="yicangno != null">
        #{yicangno,jdbcType=VARCHAR},
      </if>
      <if test="trackingno != null">
        #{trackingno,jdbcType=VARCHAR},
      </if>
      <if test="shipmenttime != null">
        #{shipmenttime,jdbcType=TIMESTAMP},
      </if>
      <if test="outputweightkg != null">
        #{outputweightkg,jdbcType=DECIMAL},
      </if>
      <if test="bailunshipmentcostcny != null">
        #{bailunshipmentcostcny,jdbcType=DECIMAL},
      </if>
      <if test="merchantoutputweightkg != null">
        #{merchantoutputweightkg,jdbcType=DECIMAL},
      </if>
      <if test="merchantshipmentcostcny != null">
        #{merchantshipmentcostcny,jdbcType=DECIMAL},
      </if>
      <if test="merchantreconciliationtime != null">
        #{merchantreconciliationtime,jdbcType=TIMESTAMP},
      </if>
      <if test="reconciliationstatus != null">
        #{reconciliationstatus,jdbcType=VARCHAR},
      </if>
      <if test="weightdiff != null">
        #{weightdiff,jdbcType=VARCHAR},
      </if>
      <if test="costdiff != null">
        #{costdiff,jdbcType=VARCHAR},
      </if>
      <if test="weightspecificdiff != null">
        #{weightspecificdiff,jdbcType=VARCHAR},
      </if>
      <if test="thisreconciliatetime != null">
        #{thisreconciliatetime,jdbcType=TIMESTAMP},
      </if>
      <if test="originalscanningtime != null">
        #{originalscanningtime,jdbcType=TIMESTAMP},
      </if>
      <if test="wareno != null">
        #{wareno,jdbcType=VARCHAR},
      </if>
      <if test="reconciliationuser != null">
        #{reconciliationuser,jdbcType=VARCHAR},
      </if>
      <if test="audituser != null">
        #{audituser,jdbcType=VARCHAR},
      </if>
      <if test="auditstatus != null">
        #{auditstatus,jdbcType=VARCHAR},
      </if>
      <if test="auditremark != null">
        #{auditremark,jdbcType=VARCHAR},
      </if>
      <if test="remark != null">
        #{remark,jdbcType=VARCHAR},
      </if>
      <if test="confirmshipmentcostcny != null">
        #{confirmshipmentcostcny,jdbcType=DECIMAL},
      </if>
      <if test="confirmoutputweightkg != null">
        #{confirmoutputweightkg,jdbcType=DECIMAL},
      </if>
      <if test="createuser != null">
        #{createuser,jdbcType=VARCHAR},
      </if>
      <if test="creationtime != null">
        #{creationtime,jdbcType=TIMESTAMP},
      </if>
      <if test="lastmodificationtime != null">
        #{lastmodificationtime,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtCreatetime != null">
        #{gmtCreatetime,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtModifytime != null">
        #{gmtModifytime,jdbcType=TIMESTAMP},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.bailuntec.domain.example.DcBaseLogisticsReconciliationExample" resultType="java.lang.Long">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select count(*) from dc_base_logistics_reconciliation
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update dc_base_logistics_reconciliation
    <set>
      <if test="record.id != null">
        id = #{record.id,jdbcType=INTEGER},
      </if>
      <if test="record.wmsId != null">
        wms_id = #{record.wmsId,jdbcType=INTEGER},
      </if>
      <if test="record.companyCode != null">
        company_Code = #{record.companyCode,jdbcType=VARCHAR},
      </if>
      <if test="record.companyName != null">
        company_Name = #{record.companyName,jdbcType=VARCHAR},
      </if>
      <if test="record.lineCode != null">
        line_Code = #{record.lineCode,jdbcType=VARCHAR},
      </if>
      <if test="record.lineName != null">
        line_Name = #{record.lineName,jdbcType=VARCHAR},
      </if>
      <if test="record.allocatecargoordercode != null">
        allocatecargoOrderCode = #{record.allocatecargoordercode,jdbcType=VARCHAR},
      </if>
      <if test="record.yicangno != null">
        yiCangNo = #{record.yicangno,jdbcType=VARCHAR},
      </if>
      <if test="record.trackingno != null">
        trackingNo = #{record.trackingno,jdbcType=VARCHAR},
      </if>
      <if test="record.shipmenttime != null">
        shipmentTime = #{record.shipmenttime,jdbcType=TIMESTAMP},
      </if>
      <if test="record.outputweightkg != null">
        outputWeightKg = #{record.outputweightkg,jdbcType=DECIMAL},
      </if>
      <if test="record.bailunshipmentcostcny != null">
        bailunShipmentCostCNY = #{record.bailunshipmentcostcny,jdbcType=DECIMAL},
      </if>
      <if test="record.merchantoutputweightkg != null">
        merchantOutputWeightKg = #{record.merchantoutputweightkg,jdbcType=DECIMAL},
      </if>
      <if test="record.merchantshipmentcostcny != null">
        merchantShipmentCostCNY = #{record.merchantshipmentcostcny,jdbcType=DECIMAL},
      </if>
      <if test="record.merchantreconciliationtime != null">
        merchantReconciliationTime = #{record.merchantreconciliationtime,jdbcType=TIMESTAMP},
      </if>
      <if test="record.reconciliationstatus != null">
        reconciliationStatus = #{record.reconciliationstatus,jdbcType=VARCHAR},
      </if>
      <if test="record.weightdiff != null">
        weightDiff = #{record.weightdiff,jdbcType=VARCHAR},
      </if>
      <if test="record.costdiff != null">
        costDiff = #{record.costdiff,jdbcType=VARCHAR},
      </if>
      <if test="record.weightspecificdiff != null">
        weightSpecificDiff = #{record.weightspecificdiff,jdbcType=VARCHAR},
      </if>
      <if test="record.thisreconciliatetime != null">
        thisReconciliateTime = #{record.thisreconciliatetime,jdbcType=TIMESTAMP},
      </if>
      <if test="record.originalscanningtime != null">
        originalScanningTime = #{record.originalscanningtime,jdbcType=TIMESTAMP},
      </if>
      <if test="record.wareno != null">
        wareNo = #{record.wareno,jdbcType=VARCHAR},
      </if>
      <if test="record.reconciliationuser != null">
        reconciliationUser = #{record.reconciliationuser,jdbcType=VARCHAR},
      </if>
      <if test="record.audituser != null">
        auditUser = #{record.audituser,jdbcType=VARCHAR},
      </if>
      <if test="record.auditstatus != null">
        auditStatus = #{record.auditstatus,jdbcType=VARCHAR},
      </if>
      <if test="record.auditremark != null">
        auditRemark = #{record.auditremark,jdbcType=VARCHAR},
      </if>
      <if test="record.remark != null">
        remark = #{record.remark,jdbcType=VARCHAR},
      </if>
      <if test="record.confirmshipmentcostcny != null">
        confirmShipmentCostCNY = #{record.confirmshipmentcostcny,jdbcType=DECIMAL},
      </if>
      <if test="record.confirmoutputweightkg != null">
        confirmOutputWeightKg = #{record.confirmoutputweightkg,jdbcType=DECIMAL},
      </if>
      <if test="record.createuser != null">
        createUser = #{record.createuser,jdbcType=VARCHAR},
      </if>
      <if test="record.creationtime != null">
        creationTime = #{record.creationtime,jdbcType=TIMESTAMP},
      </if>
      <if test="record.lastmodificationtime != null">
        lastModificationTime = #{record.lastmodificationtime,jdbcType=TIMESTAMP},
      </if>
      <if test="record.gmtCreatetime != null">
        gmt_createTime = #{record.gmtCreatetime,jdbcType=TIMESTAMP},
      </if>
      <if test="record.gmtModifytime != null">
        gmt_modifyTime = #{record.gmtModifytime,jdbcType=TIMESTAMP},
      </if>
    </set>
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update dc_base_logistics_reconciliation
    set id = #{record.id,jdbcType=INTEGER},
      wms_id = #{record.wmsId,jdbcType=INTEGER},
      company_Code = #{record.companyCode,jdbcType=VARCHAR},
      company_Name = #{record.companyName,jdbcType=VARCHAR},
      line_Code = #{record.lineCode,jdbcType=VARCHAR},
      line_Name = #{record.lineName,jdbcType=VARCHAR},
      allocatecargoOrderCode = #{record.allocatecargoordercode,jdbcType=VARCHAR},
      yiCangNo = #{record.yicangno,jdbcType=VARCHAR},
      trackingNo = #{record.trackingno,jdbcType=VARCHAR},
      shipmentTime = #{record.shipmenttime,jdbcType=TIMESTAMP},
      outputWeightKg = #{record.outputweightkg,jdbcType=DECIMAL},
      bailunShipmentCostCNY = #{record.bailunshipmentcostcny,jdbcType=DECIMAL},
      merchantOutputWeightKg = #{record.merchantoutputweightkg,jdbcType=DECIMAL},
      merchantShipmentCostCNY = #{record.merchantshipmentcostcny,jdbcType=DECIMAL},
      merchantReconciliationTime = #{record.merchantreconciliationtime,jdbcType=TIMESTAMP},
      reconciliationStatus = #{record.reconciliationstatus,jdbcType=VARCHAR},
      weightDiff = #{record.weightdiff,jdbcType=VARCHAR},
      costDiff = #{record.costdiff,jdbcType=VARCHAR},
      weightSpecificDiff = #{record.weightspecificdiff,jdbcType=VARCHAR},
      thisReconciliateTime = #{record.thisreconciliatetime,jdbcType=TIMESTAMP},
      originalScanningTime = #{record.originalscanningtime,jdbcType=TIMESTAMP},
      wareNo = #{record.wareno,jdbcType=VARCHAR},
      reconciliationUser = #{record.reconciliationuser,jdbcType=VARCHAR},
      auditUser = #{record.audituser,jdbcType=VARCHAR},
      auditStatus = #{record.auditstatus,jdbcType=VARCHAR},
      auditRemark = #{record.auditremark,jdbcType=VARCHAR},
      remark = #{record.remark,jdbcType=VARCHAR},
      confirmShipmentCostCNY = #{record.confirmshipmentcostcny,jdbcType=DECIMAL},
      confirmOutputWeightKg = #{record.confirmoutputweightkg,jdbcType=DECIMAL},
      createUser = #{record.createuser,jdbcType=VARCHAR},
      creationTime = #{record.creationtime,jdbcType=TIMESTAMP},
      lastModificationTime = #{record.lastmodificationtime,jdbcType=TIMESTAMP},
      gmt_createTime = #{record.gmtCreatetime,jdbcType=TIMESTAMP},
      gmt_modifyTime = #{record.gmtModifytime,jdbcType=TIMESTAMP}
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="com.bailuntec.domain.entity.DcBaseLogisticsReconciliation">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update dc_base_logistics_reconciliation
    <set>
      <if test="wmsId != null">
        wms_id = #{wmsId,jdbcType=INTEGER},
      </if>
      <if test="companyCode != null">
        company_Code = #{companyCode,jdbcType=VARCHAR},
      </if>
      <if test="companyName != null">
        company_Name = #{companyName,jdbcType=VARCHAR},
      </if>
      <if test="lineCode != null">
        line_Code = #{lineCode,jdbcType=VARCHAR},
      </if>
      <if test="lineName != null">
        line_Name = #{lineName,jdbcType=VARCHAR},
      </if>
      <if test="allocatecargoordercode != null">
        allocatecargoOrderCode = #{allocatecargoordercode,jdbcType=VARCHAR},
      </if>
      <if test="yicangno != null">
        yiCangNo = #{yicangno,jdbcType=VARCHAR},
      </if>
      <if test="trackingno != null">
        trackingNo = #{trackingno,jdbcType=VARCHAR},
      </if>
      <if test="shipmenttime != null">
        shipmentTime = #{shipmenttime,jdbcType=TIMESTAMP},
      </if>
      <if test="outputweightkg != null">
        outputWeightKg = #{outputweightkg,jdbcType=DECIMAL},
      </if>
      <if test="bailunshipmentcostcny != null">
        bailunShipmentCostCNY = #{bailunshipmentcostcny,jdbcType=DECIMAL},
      </if>
      <if test="merchantoutputweightkg != null">
        merchantOutputWeightKg = #{merchantoutputweightkg,jdbcType=DECIMAL},
      </if>
      <if test="merchantshipmentcostcny != null">
        merchantShipmentCostCNY = #{merchantshipmentcostcny,jdbcType=DECIMAL},
      </if>
      <if test="merchantreconciliationtime != null">
        merchantReconciliationTime = #{merchantreconciliationtime,jdbcType=TIMESTAMP},
      </if>
      <if test="reconciliationstatus != null">
        reconciliationStatus = #{reconciliationstatus,jdbcType=VARCHAR},
      </if>
      <if test="weightdiff != null">
        weightDiff = #{weightdiff,jdbcType=VARCHAR},
      </if>
      <if test="costdiff != null">
        costDiff = #{costdiff,jdbcType=VARCHAR},
      </if>
      <if test="weightspecificdiff != null">
        weightSpecificDiff = #{weightspecificdiff,jdbcType=VARCHAR},
      </if>
      <if test="thisreconciliatetime != null">
        thisReconciliateTime = #{thisreconciliatetime,jdbcType=TIMESTAMP},
      </if>
      <if test="originalscanningtime != null">
        originalScanningTime = #{originalscanningtime,jdbcType=TIMESTAMP},
      </if>
      <if test="wareno != null">
        wareNo = #{wareno,jdbcType=VARCHAR},
      </if>
      <if test="reconciliationuser != null">
        reconciliationUser = #{reconciliationuser,jdbcType=VARCHAR},
      </if>
      <if test="audituser != null">
        auditUser = #{audituser,jdbcType=VARCHAR},
      </if>
      <if test="auditstatus != null">
        auditStatus = #{auditstatus,jdbcType=VARCHAR},
      </if>
      <if test="auditremark != null">
        auditRemark = #{auditremark,jdbcType=VARCHAR},
      </if>
      <if test="remark != null">
        remark = #{remark,jdbcType=VARCHAR},
      </if>
      <if test="confirmshipmentcostcny != null">
        confirmShipmentCostCNY = #{confirmshipmentcostcny,jdbcType=DECIMAL},
      </if>
      <if test="confirmoutputweightkg != null">
        confirmOutputWeightKg = #{confirmoutputweightkg,jdbcType=DECIMAL},
      </if>
      <if test="createuser != null">
        createUser = #{createuser,jdbcType=VARCHAR},
      </if>
      <if test="creationtime != null">
        creationTime = #{creationtime,jdbcType=TIMESTAMP},
      </if>
      <if test="lastmodificationtime != null">
        lastModificationTime = #{lastmodificationtime,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtCreatetime != null">
        gmt_createTime = #{gmtCreatetime,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtModifytime != null">
        gmt_modifyTime = #{gmtModifytime,jdbcType=TIMESTAMP},
      </if>
    </set>
    where id = #{id,jdbcType=INTEGER}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.bailuntec.domain.entity.DcBaseLogisticsReconciliation">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update dc_base_logistics_reconciliation
    set wms_id = #{wmsId,jdbcType=INTEGER},
      company_Code = #{companyCode,jdbcType=VARCHAR},
      company_Name = #{companyName,jdbcType=VARCHAR},
      line_Code = #{lineCode,jdbcType=VARCHAR},
      line_Name = #{lineName,jdbcType=VARCHAR},
      allocatecargoOrderCode = #{allocatecargoordercode,jdbcType=VARCHAR},
      yiCangNo = #{yicangno,jdbcType=VARCHAR},
      trackingNo = #{trackingno,jdbcType=VARCHAR},
      shipmentTime = #{shipmenttime,jdbcType=TIMESTAMP},
      outputWeightKg = #{outputweightkg,jdbcType=DECIMAL},
      bailunShipmentCostCNY = #{bailunshipmentcostcny,jdbcType=DECIMAL},
      merchantOutputWeightKg = #{merchantoutputweightkg,jdbcType=DECIMAL},
      merchantShipmentCostCNY = #{merchantshipmentcostcny,jdbcType=DECIMAL},
      merchantReconciliationTime = #{merchantreconciliationtime,jdbcType=TIMESTAMP},
      reconciliationStatus = #{reconciliationstatus,jdbcType=VARCHAR},
      weightDiff = #{weightdiff,jdbcType=VARCHAR},
      costDiff = #{costdiff,jdbcType=VARCHAR},
      weightSpecificDiff = #{weightspecificdiff,jdbcType=VARCHAR},
      thisReconciliateTime = #{thisreconciliatetime,jdbcType=TIMESTAMP},
      originalScanningTime = #{originalscanningtime,jdbcType=TIMESTAMP},
      wareNo = #{wareno,jdbcType=VARCHAR},
      reconciliationUser = #{reconciliationuser,jdbcType=VARCHAR},
      auditUser = #{audituser,jdbcType=VARCHAR},
      auditStatus = #{auditstatus,jdbcType=VARCHAR},
      auditRemark = #{auditremark,jdbcType=VARCHAR},
      remark = #{remark,jdbcType=VARCHAR},
      confirmShipmentCostCNY = #{confirmshipmentcostcny,jdbcType=DECIMAL},
      confirmOutputWeightKg = #{confirmoutputweightkg,jdbcType=DECIMAL},
      createUser = #{createuser,jdbcType=VARCHAR},
      creationTime = #{creationtime,jdbcType=TIMESTAMP},
      lastModificationTime = #{lastmodificationtime,jdbcType=TIMESTAMP},
      gmt_createTime = #{gmtCreatetime,jdbcType=TIMESTAMP},
      gmt_modifyTime = #{gmtModifytime,jdbcType=TIMESTAMP}
    where id = #{id,jdbcType=INTEGER}
  </update>
  <insert id="upsertSelective" parameterType="com.bailuntec.domain.entity.DcBaseLogisticsReconciliation">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      @project https://github.com/itfsw/mybatis-generator-plugin
    -->
    insert into dc_base_logistics_reconciliation
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        id,
      </if>
      <if test="wmsId != null">
        wms_id,
      </if>
      <if test="companyCode != null">
        company_Code,
      </if>
      <if test="companyName != null">
        company_Name,
      </if>
      <if test="lineCode != null">
        line_Code,
      </if>
      <if test="lineName != null">
        line_Name,
      </if>
      <if test="allocatecargoordercode != null">
        allocatecargoOrderCode,
      </if>
      <if test="yicangno != null">
        yiCangNo,
      </if>
      <if test="trackingno != null">
        trackingNo,
      </if>
      <if test="shipmenttime != null">
        shipmentTime,
      </if>
      <if test="outputweightkg != null">
        outputWeightKg,
      </if>
      <if test="bailunshipmentcostcny != null">
        bailunShipmentCostCNY,
      </if>
      <if test="merchantoutputweightkg != null">
        merchantOutputWeightKg,
      </if>
      <if test="merchantshipmentcostcny != null">
        merchantShipmentCostCNY,
      </if>
      <if test="merchantreconciliationtime != null">
        merchantReconciliationTime,
      </if>
      <if test="reconciliationstatus != null">
        reconciliationStatus,
      </if>
      <if test="weightdiff != null">
        weightDiff,
      </if>
      <if test="costdiff != null">
        costDiff,
      </if>
      <if test="weightspecificdiff != null">
        weightSpecificDiff,
      </if>
      <if test="thisreconciliatetime != null">
        thisReconciliateTime,
      </if>
      <if test="originalscanningtime != null">
        originalScanningTime,
      </if>
      <if test="wareno != null">
        wareNo,
      </if>
      <if test="reconciliationuser != null">
        reconciliationUser,
      </if>
      <if test="audituser != null">
        auditUser,
      </if>
      <if test="auditstatus != null">
        auditStatus,
      </if>
      <if test="auditremark != null">
        auditRemark,
      </if>
      <if test="remark != null">
        remark,
      </if>
      <if test="confirmshipmentcostcny != null">
        confirmShipmentCostCNY,
      </if>
      <if test="confirmoutputweightkg != null">
        confirmOutputWeightKg,
      </if>
      <if test="createuser != null">
        createUser,
      </if>
      <if test="creationtime != null">
        creationTime,
      </if>
      <if test="lastmodificationtime != null">
        lastModificationTime,
      </if>
      <if test="gmtCreatetime != null">
        gmt_createTime,
      </if>
      <if test="gmtModifytime != null">
        gmt_modifyTime,
      </if>
    </trim>
    values
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        #{id,jdbcType=INTEGER},
      </if>
      <if test="wmsId != null">
        #{wmsId,jdbcType=INTEGER},
      </if>
      <if test="companyCode != null">
        #{companyCode,jdbcType=VARCHAR},
      </if>
      <if test="companyName != null">
        #{companyName,jdbcType=VARCHAR},
      </if>
      <if test="lineCode != null">
        #{lineCode,jdbcType=VARCHAR},
      </if>
      <if test="lineName != null">
        #{lineName,jdbcType=VARCHAR},
      </if>
      <if test="allocatecargoordercode != null">
        #{allocatecargoordercode,jdbcType=VARCHAR},
      </if>
      <if test="yicangno != null">
        #{yicangno,jdbcType=VARCHAR},
      </if>
      <if test="trackingno != null">
        #{trackingno,jdbcType=VARCHAR},
      </if>
      <if test="shipmenttime != null">
        #{shipmenttime,jdbcType=TIMESTAMP},
      </if>
      <if test="outputweightkg != null">
        #{outputweightkg,jdbcType=DECIMAL},
      </if>
      <if test="bailunshipmentcostcny != null">
        #{bailunshipmentcostcny,jdbcType=DECIMAL},
      </if>
      <if test="merchantoutputweightkg != null">
        #{merchantoutputweightkg,jdbcType=DECIMAL},
      </if>
      <if test="merchantshipmentcostcny != null">
        #{merchantshipmentcostcny,jdbcType=DECIMAL},
      </if>
      <if test="merchantreconciliationtime != null">
        #{merchantreconciliationtime,jdbcType=TIMESTAMP},
      </if>
      <if test="reconciliationstatus != null">
        #{reconciliationstatus,jdbcType=VARCHAR},
      </if>
      <if test="weightdiff != null">
        #{weightdiff,jdbcType=VARCHAR},
      </if>
      <if test="costdiff != null">
        #{costdiff,jdbcType=VARCHAR},
      </if>
      <if test="weightspecificdiff != null">
        #{weightspecificdiff,jdbcType=VARCHAR},
      </if>
      <if test="thisreconciliatetime != null">
        #{thisreconciliatetime,jdbcType=TIMESTAMP},
      </if>
      <if test="originalscanningtime != null">
        #{originalscanningtime,jdbcType=TIMESTAMP},
      </if>
      <if test="wareno != null">
        #{wareno,jdbcType=VARCHAR},
      </if>
      <if test="reconciliationuser != null">
        #{reconciliationuser,jdbcType=VARCHAR},
      </if>
      <if test="audituser != null">
        #{audituser,jdbcType=VARCHAR},
      </if>
      <if test="auditstatus != null">
        #{auditstatus,jdbcType=VARCHAR},
      </if>
      <if test="auditremark != null">
        #{auditremark,jdbcType=VARCHAR},
      </if>
      <if test="remark != null">
        #{remark,jdbcType=VARCHAR},
      </if>
      <if test="confirmshipmentcostcny != null">
        #{confirmshipmentcostcny,jdbcType=DECIMAL},
      </if>
      <if test="confirmoutputweightkg != null">
        #{confirmoutputweightkg,jdbcType=DECIMAL},
      </if>
      <if test="createuser != null">
        #{createuser,jdbcType=VARCHAR},
      </if>
      <if test="creationtime != null">
        #{creationtime,jdbcType=TIMESTAMP},
      </if>
      <if test="lastmodificationtime != null">
        #{lastmodificationtime,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtCreatetime != null">
        #{gmtCreatetime,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtModifytime != null">
        #{gmtModifytime,jdbcType=TIMESTAMP},
      </if>
    </trim>
    on duplicate key update 
    <trim suffixOverrides=",">
      <if test="id != null">
        id = #{id,jdbcType=INTEGER},
      </if>
      <if test="wmsId != null">
        wms_id = #{wmsId,jdbcType=INTEGER},
      </if>
      <if test="companyCode != null">
        company_Code = #{companyCode,jdbcType=VARCHAR},
      </if>
      <if test="companyName != null">
        company_Name = #{companyName,jdbcType=VARCHAR},
      </if>
      <if test="lineCode != null">
        line_Code = #{lineCode,jdbcType=VARCHAR},
      </if>
      <if test="lineName != null">
        line_Name = #{lineName,jdbcType=VARCHAR},
      </if>
      <if test="allocatecargoordercode != null">
        allocatecargoOrderCode = #{allocatecargoordercode,jdbcType=VARCHAR},
      </if>
      <if test="yicangno != null">
        yiCangNo = #{yicangno,jdbcType=VARCHAR},
      </if>
      <if test="trackingno != null">
        trackingNo = #{trackingno,jdbcType=VARCHAR},
      </if>
      <if test="shipmenttime != null">
        shipmentTime = #{shipmenttime,jdbcType=TIMESTAMP},
      </if>
      <if test="outputweightkg != null">
        outputWeightKg = #{outputweightkg,jdbcType=DECIMAL},
      </if>
      <if test="bailunshipmentcostcny != null">
        bailunShipmentCostCNY = #{bailunshipmentcostcny,jdbcType=DECIMAL},
      </if>
      <if test="merchantoutputweightkg != null">
        merchantOutputWeightKg = #{merchantoutputweightkg,jdbcType=DECIMAL},
      </if>
      <if test="merchantshipmentcostcny != null">
        merchantShipmentCostCNY = #{merchantshipmentcostcny,jdbcType=DECIMAL},
      </if>
      <if test="merchantreconciliationtime != null">
        merchantReconciliationTime = #{merchantreconciliationtime,jdbcType=TIMESTAMP},
      </if>
      <if test="reconciliationstatus != null">
        reconciliationStatus = #{reconciliationstatus,jdbcType=VARCHAR},
      </if>
      <if test="weightdiff != null">
        weightDiff = #{weightdiff,jdbcType=VARCHAR},
      </if>
      <if test="costdiff != null">
        costDiff = #{costdiff,jdbcType=VARCHAR},
      </if>
      <if test="weightspecificdiff != null">
        weightSpecificDiff = #{weightspecificdiff,jdbcType=VARCHAR},
      </if>
      <if test="thisreconciliatetime != null">
        thisReconciliateTime = #{thisreconciliatetime,jdbcType=TIMESTAMP},
      </if>
      <if test="originalscanningtime != null">
        originalScanningTime = #{originalscanningtime,jdbcType=TIMESTAMP},
      </if>
      <if test="wareno != null">
        wareNo = #{wareno,jdbcType=VARCHAR},
      </if>
      <if test="reconciliationuser != null">
        reconciliationUser = #{reconciliationuser,jdbcType=VARCHAR},
      </if>
      <if test="audituser != null">
        auditUser = #{audituser,jdbcType=VARCHAR},
      </if>
      <if test="auditstatus != null">
        auditStatus = #{auditstatus,jdbcType=VARCHAR},
      </if>
      <if test="auditremark != null">
        auditRemark = #{auditremark,jdbcType=VARCHAR},
      </if>
      <if test="remark != null">
        remark = #{remark,jdbcType=VARCHAR},
      </if>
      <if test="confirmshipmentcostcny != null">
        confirmShipmentCostCNY = #{confirmshipmentcostcny,jdbcType=DECIMAL},
      </if>
      <if test="confirmoutputweightkg != null">
        confirmOutputWeightKg = #{confirmoutputweightkg,jdbcType=DECIMAL},
      </if>
      <if test="createuser != null">
        createUser = #{createuser,jdbcType=VARCHAR},
      </if>
      <if test="creationtime != null">
        creationTime = #{creationtime,jdbcType=TIMESTAMP},
      </if>
      <if test="lastmodificationtime != null">
        lastModificationTime = #{lastmodificationtime,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtCreatetime != null">
        gmt_createTime = #{gmtCreatetime,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtModifytime != null">
        gmt_modifyTime = #{gmtModifytime,jdbcType=TIMESTAMP},
      </if>
    </trim>
  </insert>
  <insert id="upsert" parameterType="com.bailuntec.domain.entity.DcBaseLogisticsReconciliation">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      @project https://github.com/itfsw/mybatis-generator-plugin
    -->
    insert into dc_base_logistics_reconciliation
    (id, wms_id, company_Code, company_Name, line_Code, line_Name, allocatecargoOrderCode, 
      yiCangNo, trackingNo, shipmentTime, outputWeightKg, bailunShipmentCostCNY, merchantOutputWeightKg, 
      merchantShipmentCostCNY, merchantReconciliationTime, reconciliationStatus, weightDiff, 
      costDiff, weightSpecificDiff, thisReconciliateTime, originalScanningTime, wareNo, 
      reconciliationUser, auditUser, auditStatus, auditRemark, remark, confirmShipmentCostCNY, 
      confirmOutputWeightKg, createUser, creationTime, lastModificationTime, gmt_createTime, 
      gmt_modifyTime)
    values
    (#{id,jdbcType=INTEGER}, #{wmsId,jdbcType=INTEGER}, #{companyCode,jdbcType=VARCHAR}, 
      #{companyName,jdbcType=VARCHAR}, #{lineCode,jdbcType=VARCHAR}, #{lineName,jdbcType=VARCHAR}, 
      #{allocatecargoordercode,jdbcType=VARCHAR}, #{yicangno,jdbcType=VARCHAR}, #{trackingno,jdbcType=VARCHAR}, 
      #{shipmenttime,jdbcType=TIMESTAMP}, #{outputweightkg,jdbcType=DECIMAL}, #{bailunshipmentcostcny,jdbcType=DECIMAL}, 
      #{merchantoutputweightkg,jdbcType=DECIMAL}, #{merchantshipmentcostcny,jdbcType=DECIMAL}, 
      #{merchantreconciliationtime,jdbcType=TIMESTAMP}, #{reconciliationstatus,jdbcType=VARCHAR}, 
      #{weightdiff,jdbcType=VARCHAR}, #{costdiff,jdbcType=VARCHAR}, #{weightspecificdiff,jdbcType=VARCHAR}, 
      #{thisreconciliatetime,jdbcType=TIMESTAMP}, #{originalscanningtime,jdbcType=TIMESTAMP}, 
      #{wareno,jdbcType=VARCHAR}, #{reconciliationuser,jdbcType=VARCHAR}, #{audituser,jdbcType=VARCHAR}, 
      #{auditstatus,jdbcType=VARCHAR}, #{auditremark,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, 
      #{confirmshipmentcostcny,jdbcType=DECIMAL}, #{confirmoutputweightkg,jdbcType=DECIMAL}, 
      #{createuser,jdbcType=VARCHAR}, #{creationtime,jdbcType=TIMESTAMP}, #{lastmodificationtime,jdbcType=TIMESTAMP}, 
      #{gmtCreatetime,jdbcType=TIMESTAMP}, #{gmtModifytime,jdbcType=TIMESTAMP})
    on duplicate key update 
    id = #{id,jdbcType=INTEGER}, 
    wms_id = #{wmsId,jdbcType=INTEGER}, 
    company_Code = #{companyCode,jdbcType=VARCHAR}, 
    company_Name = #{companyName,jdbcType=VARCHAR}, 
    line_Code = #{lineCode,jdbcType=VARCHAR}, 
    line_Name = #{lineName,jdbcType=VARCHAR}, 
    allocatecargoOrderCode = #{allocatecargoordercode,jdbcType=VARCHAR}, 
    yiCangNo = #{yicangno,jdbcType=VARCHAR}, 
    trackingNo = #{trackingno,jdbcType=VARCHAR}, 
    shipmentTime = #{shipmenttime,jdbcType=TIMESTAMP}, 
    outputWeightKg = #{outputweightkg,jdbcType=DECIMAL}, 
    bailunShipmentCostCNY = #{bailunshipmentcostcny,jdbcType=DECIMAL}, 
    merchantOutputWeightKg = #{merchantoutputweightkg,jdbcType=DECIMAL}, 
    merchantShipmentCostCNY = #{merchantshipmentcostcny,jdbcType=DECIMAL}, 
    merchantReconciliationTime = #{merchantreconciliationtime,jdbcType=TIMESTAMP}, 
    reconciliationStatus = #{reconciliationstatus,jdbcType=VARCHAR}, 
    weightDiff = #{weightdiff,jdbcType=VARCHAR}, 
    costDiff = #{costdiff,jdbcType=VARCHAR}, 
    weightSpecificDiff = #{weightspecificdiff,jdbcType=VARCHAR}, 
    thisReconciliateTime = #{thisreconciliatetime,jdbcType=TIMESTAMP}, 
    originalScanningTime = #{originalscanningtime,jdbcType=TIMESTAMP}, 
    wareNo = #{wareno,jdbcType=VARCHAR}, 
    reconciliationUser = #{reconciliationuser,jdbcType=VARCHAR}, 
    auditUser = #{audituser,jdbcType=VARCHAR}, 
    auditStatus = #{auditstatus,jdbcType=VARCHAR}, 
    auditRemark = #{auditremark,jdbcType=VARCHAR}, 
    remark = #{remark,jdbcType=VARCHAR}, 
    confirmShipmentCostCNY = #{confirmshipmentcostcny,jdbcType=DECIMAL}, 
    confirmOutputWeightKg = #{confirmoutputweightkg,jdbcType=DECIMAL}, 
    createUser = #{createuser,jdbcType=VARCHAR}, 
    creationTime = #{creationtime,jdbcType=TIMESTAMP}, 
    lastModificationTime = #{lastmodificationtime,jdbcType=TIMESTAMP}, 
    gmt_createTime = #{gmtCreatetime,jdbcType=TIMESTAMP}, 
    gmt_modifyTime = #{gmtModifytime,jdbcType=TIMESTAMP}
  </insert>
  <select id="selectOneByExample" parameterType="com.bailuntec.domain.example.DcBaseLogisticsReconciliationExample" resultMap="BaseResultMap">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      @project https://github.com/itfsw/mybatis-generator-plugin
    -->
    select
    <include refid="Base_Column_List" />
    from dc_base_logistics_reconciliation
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
    limit 1
  </select>
</mapper>