|
@@ -0,0 +1,401 @@
|
|
|
|
|
+<?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.transport.dao.KwtLogisticsOrderDao">
|
|
|
|
|
+ <resultMap id="BaseResultMap" type="com.sckw.transport.model.KwtLogisticsOrder">
|
|
|
|
|
+ <id column="id" jdbcType="BIGINT" property="id" />
|
|
|
|
|
+ <result column="ent_id" jdbcType="BIGINT" property="entId" />
|
|
|
|
|
+ <result column="order_id" jdbcType="BIGINT" property="orderId" />
|
|
|
|
|
+ <result column="code" jdbcType="VARCHAR" property="code" />
|
|
|
|
|
+ <result column="settlement_cycle" jdbcType="BIGINT" property="settlementCycle" />
|
|
|
|
|
+ <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="ent_time" jdbcType="TIMESTAMP" property="entTime" />
|
|
|
|
|
+ <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="remark" jdbcType="VARCHAR" property="remark" />
|
|
|
|
|
+ <result column="payment" jdbcType="BIGINT" property="payment" />
|
|
|
|
|
+ <result column="tax_rate" jdbcType="DECIMAL" property="taxRate" />
|
|
|
|
|
+ <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, order_id, code, settlement_cycle, price, price_type, amount, unit, loss,
|
|
|
|
|
+ loss_unit, goods_price, goods_price_unit, start_time, ent_time, subcontract_amount,
|
|
|
|
|
+ entrust_amount, unload_amount, load_amount, ignore_amount, deficit_amount, deficit_price,
|
|
|
|
|
+ remark, payment, tax_rate, `status`, create_by, create_time, update_by, update_time,
|
|
|
|
|
+ del_flag
|
|
|
|
|
+ </sql>
|
|
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
|
|
|
+ select
|
|
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
|
|
+ from kwt_logistics_order
|
|
|
|
|
+ where id = #{id,jdbcType=BIGINT}
|
|
|
|
|
+ </select>
|
|
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
|
|
|
|
|
+ delete from kwt_logistics_order
|
|
|
|
|
+ where id = #{id,jdbcType=BIGINT}
|
|
|
|
|
+ </delete>
|
|
|
|
|
+ <insert id="insert" parameterType="com.sckw.transport.model.KwtLogisticsOrder">
|
|
|
|
|
+ insert into kwt_logistics_order (id, ent_id, order_id,
|
|
|
|
|
+ code, settlement_cycle, price,
|
|
|
|
|
+ price_type, amount, unit,
|
|
|
|
|
+ loss, loss_unit, goods_price,
|
|
|
|
|
+ goods_price_unit, start_time, ent_time,
|
|
|
|
|
+ subcontract_amount, entrust_amount, unload_amount,
|
|
|
|
|
+ load_amount, ignore_amount, deficit_amount,
|
|
|
|
|
+ deficit_price, remark, payment,
|
|
|
|
|
+ tax_rate, `status`, create_by,
|
|
|
|
|
+ create_time, update_by, update_time,
|
|
|
|
|
+ del_flag)
|
|
|
|
|
+ values (#{id,jdbcType=BIGINT}, #{entId,jdbcType=BIGINT}, #{orderId,jdbcType=BIGINT},
|
|
|
|
|
+ #{code,jdbcType=VARCHAR}, #{settlementCycle,jdbcType=BIGINT}, #{price,jdbcType=DECIMAL},
|
|
|
|
|
+ #{priceType,jdbcType=BIGINT}, #{amount,jdbcType=DECIMAL}, #{unit,jdbcType=VARCHAR},
|
|
|
|
|
+ #{loss,jdbcType=DECIMAL}, #{lossUnit,jdbcType=VARCHAR}, #{goodsPrice,jdbcType=DECIMAL},
|
|
|
|
|
+ #{goodsPriceUnit,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP}, #{entTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ #{subcontractAmount,jdbcType=DECIMAL}, #{entrustAmount,jdbcType=DECIMAL}, #{unloadAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ #{loadAmount,jdbcType=DECIMAL}, #{ignoreAmount,jdbcType=DECIMAL}, #{deficitAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ #{deficitPrice,jdbcType=DECIMAL}, #{remark,jdbcType=VARCHAR}, #{payment,jdbcType=BIGINT},
|
|
|
|
|
+ #{taxRate,jdbcType=DECIMAL}, #{status,jdbcType=INTEGER}, #{createBy,jdbcType=BIGINT},
|
|
|
|
|
+ #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=BIGINT}, #{updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ #{delFlag,jdbcType=INTEGER})
|
|
|
|
|
+ </insert>
|
|
|
|
|
+ <insert id="insertSelective" parameterType="com.sckw.transport.model.KwtLogisticsOrder">
|
|
|
|
|
+ insert into kwt_logistics_order
|
|
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
|
+ <if test="id != null">
|
|
|
|
|
+ id,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="entId != null">
|
|
|
|
|
+ ent_id,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="orderId != null">
|
|
|
|
|
+ order_id,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="code != null">
|
|
|
|
|
+ code,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="settlementCycle != null">
|
|
|
|
|
+ settlement_cycle,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="price != null">
|
|
|
|
|
+ price,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="priceType != null">
|
|
|
|
|
+ price_type,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="amount != null">
|
|
|
|
|
+ amount,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="unit != null">
|
|
|
|
|
+ unit,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loss != null">
|
|
|
|
|
+ loss,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="lossUnit != null">
|
|
|
|
|
+ loss_unit,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="goodsPrice != null">
|
|
|
|
|
+ goods_price,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="goodsPriceUnit != null">
|
|
|
|
|
+ goods_price_unit,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="startTime != null">
|
|
|
|
|
+ start_time,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="entTime != null">
|
|
|
|
|
+ ent_time,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="subcontractAmount != null">
|
|
|
|
|
+ subcontract_amount,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="entrustAmount != null">
|
|
|
|
|
+ entrust_amount,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="unloadAmount != null">
|
|
|
|
|
+ unload_amount,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loadAmount != null">
|
|
|
|
|
+ load_amount,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="ignoreAmount != null">
|
|
|
|
|
+ ignore_amount,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="deficitAmount != null">
|
|
|
|
|
+ deficit_amount,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="deficitPrice != null">
|
|
|
|
|
+ deficit_price,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="remark != null">
|
|
|
|
|
+ remark,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="payment != null">
|
|
|
|
|
+ payment,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="taxRate != null">
|
|
|
|
|
+ tax_rate,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="status != null">
|
|
|
|
|
+ `status`,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createBy != null">
|
|
|
|
|
+ create_by,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createTime != null">
|
|
|
|
|
+ create_time,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateBy != null">
|
|
|
|
|
+ update_by,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateTime != null">
|
|
|
|
|
+ update_time,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="delFlag != null">
|
|
|
|
|
+ del_flag,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ </trim>
|
|
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
+ <if test="id != null">
|
|
|
|
|
+ #{id,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="entId != null">
|
|
|
|
|
+ #{entId,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="orderId != null">
|
|
|
|
|
+ #{orderId,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="code != null">
|
|
|
|
|
+ #{code,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="settlementCycle != null">
|
|
|
|
|
+ #{settlementCycle,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="price != null">
|
|
|
|
|
+ #{price,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="priceType != null">
|
|
|
|
|
+ #{priceType,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="amount != null">
|
|
|
|
|
+ #{amount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="unit != null">
|
|
|
|
|
+ #{unit,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loss != null">
|
|
|
|
|
+ #{loss,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="lossUnit != null">
|
|
|
|
|
+ #{lossUnit,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="goodsPrice != null">
|
|
|
|
|
+ #{goodsPrice,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="goodsPriceUnit != null">
|
|
|
|
|
+ #{goodsPriceUnit,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="startTime != null">
|
|
|
|
|
+ #{startTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="entTime != null">
|
|
|
|
|
+ #{entTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="subcontractAmount != null">
|
|
|
|
|
+ #{subcontractAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="entrustAmount != null">
|
|
|
|
|
+ #{entrustAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="unloadAmount != null">
|
|
|
|
|
+ #{unloadAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loadAmount != null">
|
|
|
|
|
+ #{loadAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="ignoreAmount != null">
|
|
|
|
|
+ #{ignoreAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="deficitAmount != null">
|
|
|
|
|
+ #{deficitAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="deficitPrice != null">
|
|
|
|
|
+ #{deficitPrice,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="remark != null">
|
|
|
|
|
+ #{remark,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="payment != null">
|
|
|
|
|
+ #{payment,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="taxRate != null">
|
|
|
|
|
+ #{taxRate,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="status != null">
|
|
|
|
|
+ #{status,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createBy != null">
|
|
|
|
|
+ #{createBy,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createTime != null">
|
|
|
|
|
+ #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateBy != null">
|
|
|
|
|
+ #{updateBy,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateTime != null">
|
|
|
|
|
+ #{updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="delFlag != null">
|
|
|
|
|
+ #{delFlag,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ </trim>
|
|
|
|
|
+ </insert>
|
|
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.sckw.transport.model.KwtLogisticsOrder">
|
|
|
|
|
+ update kwt_logistics_order
|
|
|
|
|
+ <set>
|
|
|
|
|
+ <if test="entId != null">
|
|
|
|
|
+ ent_id = #{entId,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="orderId != null">
|
|
|
|
|
+ order_id = #{orderId,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="code != null">
|
|
|
|
|
+ code = #{code,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="settlementCycle != null">
|
|
|
|
|
+ settlement_cycle = #{settlementCycle,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="price != null">
|
|
|
|
|
+ price = #{price,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="priceType != null">
|
|
|
|
|
+ price_type = #{priceType,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="amount != null">
|
|
|
|
|
+ amount = #{amount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="unit != null">
|
|
|
|
|
+ unit = #{unit,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loss != null">
|
|
|
|
|
+ loss = #{loss,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="lossUnit != null">
|
|
|
|
|
+ loss_unit = #{lossUnit,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="goodsPrice != null">
|
|
|
|
|
+ goods_price = #{goodsPrice,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="goodsPriceUnit != null">
|
|
|
|
|
+ goods_price_unit = #{goodsPriceUnit,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="startTime != null">
|
|
|
|
|
+ start_time = #{startTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="entTime != null">
|
|
|
|
|
+ ent_time = #{entTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="subcontractAmount != null">
|
|
|
|
|
+ subcontract_amount = #{subcontractAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="entrustAmount != null">
|
|
|
|
|
+ entrust_amount = #{entrustAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="unloadAmount != null">
|
|
|
|
|
+ unload_amount = #{unloadAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loadAmount != null">
|
|
|
|
|
+ load_amount = #{loadAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="ignoreAmount != null">
|
|
|
|
|
+ ignore_amount = #{ignoreAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="deficitAmount != null">
|
|
|
|
|
+ deficit_amount = #{deficitAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="deficitPrice != null">
|
|
|
|
|
+ deficit_price = #{deficitPrice,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="remark != null">
|
|
|
|
|
+ remark = #{remark,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="payment != null">
|
|
|
|
|
+ payment = #{payment,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="taxRate != null">
|
|
|
|
|
+ tax_rate = #{taxRate,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="status != null">
|
|
|
|
|
+ `status` = #{status,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createBy != null">
|
|
|
|
|
+ create_by = #{createBy,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createTime != null">
|
|
|
|
|
+ create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateBy != null">
|
|
|
|
|
+ update_by = #{updateBy,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateTime != null">
|
|
|
|
|
+ update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="delFlag != null">
|
|
|
|
|
+ del_flag = #{delFlag,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ </set>
|
|
|
|
|
+ where id = #{id,jdbcType=BIGINT}
|
|
|
|
|
+ </update>
|
|
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.sckw.transport.model.KwtLogisticsOrder">
|
|
|
|
|
+ update kwt_logistics_order
|
|
|
|
|
+ set ent_id = #{entId,jdbcType=BIGINT},
|
|
|
|
|
+ order_id = #{orderId,jdbcType=BIGINT},
|
|
|
|
|
+ code = #{code,jdbcType=VARCHAR},
|
|
|
|
|
+ settlement_cycle = #{settlementCycle,jdbcType=BIGINT},
|
|
|
|
|
+ price = #{price,jdbcType=DECIMAL},
|
|
|
|
|
+ price_type = #{priceType,jdbcType=BIGINT},
|
|
|
|
|
+ amount = #{amount,jdbcType=DECIMAL},
|
|
|
|
|
+ unit = #{unit,jdbcType=VARCHAR},
|
|
|
|
|
+ loss = #{loss,jdbcType=DECIMAL},
|
|
|
|
|
+ loss_unit = #{lossUnit,jdbcType=VARCHAR},
|
|
|
|
|
+ goods_price = #{goodsPrice,jdbcType=DECIMAL},
|
|
|
|
|
+ goods_price_unit = #{goodsPriceUnit,jdbcType=VARCHAR},
|
|
|
|
|
+ start_time = #{startTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ ent_time = #{entTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ subcontract_amount = #{subcontractAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ entrust_amount = #{entrustAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ unload_amount = #{unloadAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ load_amount = #{loadAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ ignore_amount = #{ignoreAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ deficit_amount = #{deficitAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ deficit_price = #{deficitPrice,jdbcType=DECIMAL},
|
|
|
|
|
+ remark = #{remark,jdbcType=VARCHAR},
|
|
|
|
|
+ payment = #{payment,jdbcType=BIGINT},
|
|
|
|
|
+ tax_rate = #{taxRate,jdbcType=DECIMAL},
|
|
|
|
|
+ `status` = #{status,jdbcType=INTEGER},
|
|
|
|
|
+ create_by = #{createBy,jdbcType=BIGINT},
|
|
|
|
|
+ create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ update_by = #{updateBy,jdbcType=BIGINT},
|
|
|
|
|
+ update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ del_flag = #{delFlag,jdbcType=INTEGER}
|
|
|
|
|
+ where id = #{id,jdbcType=BIGINT}
|
|
|
|
|
+ </update>
|
|
|
|
|
+</mapper>
|