and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
order_no, creater, create_time, update_time, buyer_id, seller_id, commodity_id, commodity_quantity,
commodity_price, commodity_type, commodity_mode, first_payment, order_amount, brokerage_amount,
brokerage_proportion, actually_first_payment, actually_total_payment, actually_brokerage_amount,
order_status, intention_status, trading_status, technology_transfer_progress, payment_status,
liquidation_status, order_follower, order_channel, order_remarks, delete_sign
delete from t_order
where order_no = #{orderNo,jdbcType=BIGINT}
delete from t_order
insert into t_order (order_no, creater, create_time,
update_time, buyer_id, seller_id,
commodity_id, commodity_quantity, commodity_price,
commodity_type, commodity_mode, first_payment,
order_amount, brokerage_amount, brokerage_proportion,
actually_first_payment, actually_total_payment,
actually_brokerage_amount, order_status, intention_status,
trading_status, technology_transfer_progress,
payment_status, liquidation_status, order_follower,
order_channel, order_remarks, delete_sign
)
values (#{orderNo,jdbcType=BIGINT}, #{creater,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}, #{buyerId,jdbcType=VARCHAR}, #{sellerId,jdbcType=VARCHAR},
#{commodityId,jdbcType=VARCHAR}, #{commodityQuantity,jdbcType=INTEGER}, #{commodityPrice,jdbcType=DECIMAL},
#{commodityType,jdbcType=INTEGER}, #{commodityMode,jdbcType=VARCHAR}, #{firstPayment,jdbcType=DECIMAL},
#{orderAmount,jdbcType=DECIMAL}, #{brokerageAmount,jdbcType=DECIMAL}, #{brokerageProportion,jdbcType=DECIMAL},
#{actuallyFirstPayment,jdbcType=DECIMAL}, #{actuallyTotalPayment,jdbcType=DECIMAL},
#{actuallyBrokerageAmount,jdbcType=DECIMAL}, #{orderStatus,jdbcType=INTEGER}, #{intentionStatus,jdbcType=INTEGER},
#{tradingStatus,jdbcType=INTEGER}, #{technologyTransferProgress,jdbcType=INTEGER},
#{paymentStatus,jdbcType=INTEGER}, #{liquidationStatus,jdbcType=INTEGER}, #{orderFollower,jdbcType=VARCHAR},
#{orderChannel,jdbcType=INTEGER}, #{orderRemarks,jdbcType=VARCHAR}, #{deleteSign,jdbcType=BIT}
)
insert into t_order
order_no,
creater,
create_time,
update_time,
buyer_id,
seller_id,
commodity_id,
commodity_quantity,
commodity_price,
commodity_type,
commodity_mode,
first_payment,
order_amount,
brokerage_amount,
brokerage_proportion,
actually_first_payment,
actually_total_payment,
actually_brokerage_amount,
order_status,
intention_status,
trading_status,
technology_transfer_progress,
payment_status,
liquidation_status,
order_follower,
order_channel,
order_remarks,
delete_sign,
#{orderNo,jdbcType=BIGINT},
#{creater,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
#{buyerId,jdbcType=VARCHAR},
#{sellerId,jdbcType=VARCHAR},
#{commodityId,jdbcType=VARCHAR},
#{commodityQuantity,jdbcType=INTEGER},
#{commodityPrice,jdbcType=DECIMAL},
#{commodityType,jdbcType=INTEGER},
#{commodityMode,jdbcType=VARCHAR},
#{firstPayment,jdbcType=DECIMAL},
#{orderAmount,jdbcType=DECIMAL},
#{brokerageAmount,jdbcType=DECIMAL},
#{brokerageProportion,jdbcType=DECIMAL},
#{actuallyFirstPayment,jdbcType=DECIMAL},
#{actuallyTotalPayment,jdbcType=DECIMAL},
#{actuallyBrokerageAmount,jdbcType=DECIMAL},
#{orderStatus,jdbcType=INTEGER},
#{intentionStatus,jdbcType=INTEGER},
#{tradingStatus,jdbcType=INTEGER},
#{technologyTransferProgress,jdbcType=INTEGER},
#{paymentStatus,jdbcType=INTEGER},
#{liquidationStatus,jdbcType=INTEGER},
#{orderFollower,jdbcType=VARCHAR},
#{orderChannel,jdbcType=INTEGER},
#{orderRemarks,jdbcType=VARCHAR},
#{deleteSign,jdbcType=BIT},
update t_order
order_no = #{record.orderNo,jdbcType=BIGINT},
creater = #{record.creater,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
buyer_id = #{record.buyerId,jdbcType=VARCHAR},
seller_id = #{record.sellerId,jdbcType=VARCHAR},
commodity_id = #{record.commodityId,jdbcType=VARCHAR},
commodity_quantity = #{record.commodityQuantity,jdbcType=INTEGER},
commodity_price = #{record.commodityPrice,jdbcType=DECIMAL},
commodity_type = #{record.commodityType,jdbcType=INTEGER},
commodity_mode = #{record.commodityMode,jdbcType=VARCHAR},
first_payment = #{record.firstPayment,jdbcType=DECIMAL},
order_amount = #{record.orderAmount,jdbcType=DECIMAL},
brokerage_amount = #{record.brokerageAmount,jdbcType=DECIMAL},
brokerage_proportion = #{record.brokerageProportion,jdbcType=DECIMAL},
actually_first_payment = #{record.actuallyFirstPayment,jdbcType=DECIMAL},
actually_total_payment = #{record.actuallyTotalPayment,jdbcType=DECIMAL},
actually_brokerage_amount = #{record.actuallyBrokerageAmount,jdbcType=DECIMAL},
order_status = #{record.orderStatus,jdbcType=INTEGER},
intention_status = #{record.intentionStatus,jdbcType=INTEGER},
trading_status = #{record.tradingStatus,jdbcType=INTEGER},
technology_transfer_progress = #{record.technologyTransferProgress,jdbcType=INTEGER},
payment_status = #{record.paymentStatus,jdbcType=INTEGER},
liquidation_status = #{record.liquidationStatus,jdbcType=INTEGER},
order_follower = #{record.orderFollower,jdbcType=VARCHAR},
order_channel = #{record.orderChannel,jdbcType=INTEGER},
order_remarks = #{record.orderRemarks,jdbcType=VARCHAR},
delete_sign = #{record.deleteSign,jdbcType=BIT},
update t_order
set order_no = #{record.orderNo,jdbcType=BIGINT},
creater = #{record.creater,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
buyer_id = #{record.buyerId,jdbcType=VARCHAR},
seller_id = #{record.sellerId,jdbcType=VARCHAR},
commodity_id = #{record.commodityId,jdbcType=VARCHAR},
commodity_quantity = #{record.commodityQuantity,jdbcType=INTEGER},
commodity_price = #{record.commodityPrice,jdbcType=DECIMAL},
commodity_type = #{record.commodityType,jdbcType=INTEGER},
commodity_mode = #{record.commodityMode,jdbcType=VARCHAR},
first_payment = #{record.firstPayment,jdbcType=DECIMAL},
order_amount = #{record.orderAmount,jdbcType=DECIMAL},
brokerage_amount = #{record.brokerageAmount,jdbcType=DECIMAL},
brokerage_proportion = #{record.brokerageProportion,jdbcType=DECIMAL},
actually_first_payment = #{record.actuallyFirstPayment,jdbcType=DECIMAL},
actually_total_payment = #{record.actuallyTotalPayment,jdbcType=DECIMAL},
actually_brokerage_amount = #{record.actuallyBrokerageAmount,jdbcType=DECIMAL},
order_status = #{record.orderStatus,jdbcType=INTEGER},
intention_status = #{record.intentionStatus,jdbcType=INTEGER},
trading_status = #{record.tradingStatus,jdbcType=INTEGER},
technology_transfer_progress = #{record.technologyTransferProgress,jdbcType=INTEGER},
payment_status = #{record.paymentStatus,jdbcType=INTEGER},
liquidation_status = #{record.liquidationStatus,jdbcType=INTEGER},
order_follower = #{record.orderFollower,jdbcType=VARCHAR},
order_channel = #{record.orderChannel,jdbcType=INTEGER},
order_remarks = #{record.orderRemarks,jdbcType=VARCHAR},
delete_sign = #{record.deleteSign,jdbcType=BIT}
update t_order
creater = #{creater,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
buyer_id = #{buyerId,jdbcType=VARCHAR},
seller_id = #{sellerId,jdbcType=VARCHAR},
commodity_id = #{commodityId,jdbcType=VARCHAR},
commodity_quantity = #{commodityQuantity,jdbcType=INTEGER},
commodity_price = #{commodityPrice,jdbcType=DECIMAL},
commodity_type = #{commodityType,jdbcType=INTEGER},
commodity_mode = #{commodityMode,jdbcType=VARCHAR},
first_payment = #{firstPayment,jdbcType=DECIMAL},
order_amount = #{orderAmount,jdbcType=DECIMAL},
brokerage_amount = #{brokerageAmount,jdbcType=DECIMAL},
brokerage_proportion = #{brokerageProportion,jdbcType=DECIMAL},
actually_first_payment = #{actuallyFirstPayment,jdbcType=DECIMAL},
actually_total_payment = #{actuallyTotalPayment,jdbcType=DECIMAL},
actually_brokerage_amount = #{actuallyBrokerageAmount,jdbcType=DECIMAL},
order_status = #{orderStatus,jdbcType=INTEGER},
intention_status = #{intentionStatus,jdbcType=INTEGER},
trading_status = #{tradingStatus,jdbcType=INTEGER},
technology_transfer_progress = #{technologyTransferProgress,jdbcType=INTEGER},
payment_status = #{paymentStatus,jdbcType=INTEGER},
liquidation_status = #{liquidationStatus,jdbcType=INTEGER},
order_follower = #{orderFollower,jdbcType=VARCHAR},
order_channel = #{orderChannel,jdbcType=INTEGER},
order_remarks = #{orderRemarks,jdbcType=VARCHAR},
delete_sign = #{deleteSign,jdbcType=BIT},
where order_no = #{orderNo,jdbcType=BIGINT}
update t_order
set creater = #{creater,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
buyer_id = #{buyerId,jdbcType=VARCHAR},
seller_id = #{sellerId,jdbcType=VARCHAR},
commodity_id = #{commodityId,jdbcType=VARCHAR},
commodity_quantity = #{commodityQuantity,jdbcType=INTEGER},
commodity_price = #{commodityPrice,jdbcType=DECIMAL},
commodity_type = #{commodityType,jdbcType=INTEGER},
commodity_mode = #{commodityMode,jdbcType=VARCHAR},
first_payment = #{firstPayment,jdbcType=DECIMAL},
order_amount = #{orderAmount,jdbcType=DECIMAL},
brokerage_amount = #{brokerageAmount,jdbcType=DECIMAL},
brokerage_proportion = #{brokerageProportion,jdbcType=DECIMAL},
actually_first_payment = #{actuallyFirstPayment,jdbcType=DECIMAL},
actually_total_payment = #{actuallyTotalPayment,jdbcType=DECIMAL},
actually_brokerage_amount = #{actuallyBrokerageAmount,jdbcType=DECIMAL},
order_status = #{orderStatus,jdbcType=INTEGER},
intention_status = #{intentionStatus,jdbcType=INTEGER},
trading_status = #{tradingStatus,jdbcType=INTEGER},
technology_transfer_progress = #{technologyTransferProgress,jdbcType=INTEGER},
payment_status = #{paymentStatus,jdbcType=INTEGER},
liquidation_status = #{liquidationStatus,jdbcType=INTEGER},
order_follower = #{orderFollower,jdbcType=VARCHAR},
order_channel = #{orderChannel,jdbcType=INTEGER},
order_remarks = #{orderRemarks,jdbcType=VARCHAR},
delete_sign = #{deleteSign,jdbcType=BIT}
where order_no = #{orderNo,jdbcType=BIGINT}