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, order_type, creater, create_time, update_time, buyer_id, seller_id, first_payment,
order_amount, brokerage_amount, sign_first_payment, actually_first_payment, sign_total_amount,
actually_total_amount, sign_brokerage_amount, actually_brokerage_amount, sign_withdraw_amount,
actually_withdraw_amount, order_stage, project_stage, order_status, liquidation_status,
order_channel, approval, order_remarks, delete_sign, salesman_id, finance_id, technician_id,
confirm_time, sign_time, set_up_time, settlement_time
contract_picture_url
delete from t_order
where order_no = #{orderNo,jdbcType=VARCHAR}
delete from t_order
insert into t_order (order_no, order_type, creater,
create_time, update_time, buyer_id,
seller_id, first_payment, order_amount,
brokerage_amount, sign_first_payment, actually_first_payment,
sign_total_amount, actually_total_amount, sign_brokerage_amount,
actually_brokerage_amount, sign_withdraw_amount,
actually_withdraw_amount, order_stage, project_stage,
order_status, liquidation_status, order_channel,
approval, order_remarks, delete_sign,
salesman_id, finance_id, technician_id,
confirm_time, sign_time, set_up_time,
settlement_time, contract_picture_url
)
values (#{orderNo,jdbcType=VARCHAR}, #{orderType,jdbcType=INTEGER}, #{creater,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{buyerId,jdbcType=VARCHAR},
#{sellerId,jdbcType=VARCHAR}, #{firstPayment,jdbcType=DECIMAL}, #{orderAmount,jdbcType=DECIMAL},
#{brokerageAmount,jdbcType=DECIMAL}, #{signFirstPayment,jdbcType=DECIMAL}, #{actuallyFirstPayment,jdbcType=DECIMAL},
#{signTotalAmount,jdbcType=DECIMAL}, #{actuallyTotalAmount,jdbcType=DECIMAL}, #{signBrokerageAmount,jdbcType=DECIMAL},
#{actuallyBrokerageAmount,jdbcType=DECIMAL}, #{signWithdrawAmount,jdbcType=DECIMAL},
#{actuallyWithdrawAmount,jdbcType=DECIMAL}, #{orderStage,jdbcType=INTEGER}, #{projectStage,jdbcType=INTEGER},
#{orderStatus,jdbcType=INTEGER}, #{liquidationStatus,jdbcType=INTEGER}, #{orderChannel,jdbcType=INTEGER},
#{approval,jdbcType=INTEGER}, #{orderRemarks,jdbcType=VARCHAR}, #{deleteSign,jdbcType=INTEGER},
#{salesmanId,jdbcType=VARCHAR}, #{financeId,jdbcType=VARCHAR}, #{technicianId,jdbcType=VARCHAR},
#{confirmTime,jdbcType=TIMESTAMP}, #{signTime,jdbcType=TIMESTAMP}, #{setUpTime,jdbcType=TIMESTAMP},
#{settlementTime,jdbcType=TIMESTAMP}, #{contractPictureUrl,jdbcType=LONGVARCHAR}
)
insert into t_order
order_no,
order_type,
creater,
create_time,
update_time,
buyer_id,
seller_id,
first_payment,
order_amount,
brokerage_amount,
sign_first_payment,
actually_first_payment,
sign_total_amount,
actually_total_amount,
sign_brokerage_amount,
actually_brokerage_amount,
sign_withdraw_amount,
actually_withdraw_amount,
order_stage,
project_stage,
order_status,
liquidation_status,
order_channel,
approval,
order_remarks,
delete_sign,
salesman_id,
finance_id,
technician_id,
confirm_time,
sign_time,
set_up_time,
settlement_time,
contract_picture_url,
#{orderNo,jdbcType=VARCHAR},
#{orderType,jdbcType=INTEGER},
#{creater,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
#{buyerId,jdbcType=VARCHAR},
#{sellerId,jdbcType=VARCHAR},
#{firstPayment,jdbcType=DECIMAL},
#{orderAmount,jdbcType=DECIMAL},
#{brokerageAmount,jdbcType=DECIMAL},
#{signFirstPayment,jdbcType=DECIMAL},
#{actuallyFirstPayment,jdbcType=DECIMAL},
#{signTotalAmount,jdbcType=DECIMAL},
#{actuallyTotalAmount,jdbcType=DECIMAL},
#{signBrokerageAmount,jdbcType=DECIMAL},
#{actuallyBrokerageAmount,jdbcType=DECIMAL},
#{signWithdrawAmount,jdbcType=DECIMAL},
#{actuallyWithdrawAmount,jdbcType=DECIMAL},
#{orderStage,jdbcType=INTEGER},
#{projectStage,jdbcType=INTEGER},
#{orderStatus,jdbcType=INTEGER},
#{liquidationStatus,jdbcType=INTEGER},
#{orderChannel,jdbcType=INTEGER},
#{approval,jdbcType=INTEGER},
#{orderRemarks,jdbcType=VARCHAR},
#{deleteSign,jdbcType=INTEGER},
#{salesmanId,jdbcType=VARCHAR},
#{financeId,jdbcType=VARCHAR},
#{technicianId,jdbcType=VARCHAR},
#{confirmTime,jdbcType=TIMESTAMP},
#{signTime,jdbcType=TIMESTAMP},
#{setUpTime,jdbcType=TIMESTAMP},
#{settlementTime,jdbcType=TIMESTAMP},
#{contractPictureUrl,jdbcType=LONGVARCHAR},
update t_order
order_no = #{record.orderNo,jdbcType=VARCHAR},
order_type = #{record.orderType,jdbcType=INTEGER},
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},
first_payment = #{record.firstPayment,jdbcType=DECIMAL},
order_amount = #{record.orderAmount,jdbcType=DECIMAL},
brokerage_amount = #{record.brokerageAmount,jdbcType=DECIMAL},
sign_first_payment = #{record.signFirstPayment,jdbcType=DECIMAL},
actually_first_payment = #{record.actuallyFirstPayment,jdbcType=DECIMAL},
sign_total_amount = #{record.signTotalAmount,jdbcType=DECIMAL},
actually_total_amount = #{record.actuallyTotalAmount,jdbcType=DECIMAL},
sign_brokerage_amount = #{record.signBrokerageAmount,jdbcType=DECIMAL},
actually_brokerage_amount = #{record.actuallyBrokerageAmount,jdbcType=DECIMAL},
sign_withdraw_amount = #{record.signWithdrawAmount,jdbcType=DECIMAL},
actually_withdraw_amount = #{record.actuallyWithdrawAmount,jdbcType=DECIMAL},
order_stage = #{record.orderStage,jdbcType=INTEGER},
project_stage = #{record.projectStage,jdbcType=INTEGER},
order_status = #{record.orderStatus,jdbcType=INTEGER},
liquidation_status = #{record.liquidationStatus,jdbcType=INTEGER},
order_channel = #{record.orderChannel,jdbcType=INTEGER},
approval = #{record.approval,jdbcType=INTEGER},
order_remarks = #{record.orderRemarks,jdbcType=VARCHAR},
delete_sign = #{record.deleteSign,jdbcType=INTEGER},
salesman_id = #{record.salesmanId,jdbcType=VARCHAR},
finance_id = #{record.financeId,jdbcType=VARCHAR},
technician_id = #{record.technicianId,jdbcType=VARCHAR},
confirm_time = #{record.confirmTime,jdbcType=TIMESTAMP},
sign_time = #{record.signTime,jdbcType=TIMESTAMP},
set_up_time = #{record.setUpTime,jdbcType=TIMESTAMP},
settlement_time = #{record.settlementTime,jdbcType=TIMESTAMP},
contract_picture_url = #{record.contractPictureUrl,jdbcType=LONGVARCHAR},
update t_order
set order_no = #{record.orderNo,jdbcType=VARCHAR},
order_type = #{record.orderType,jdbcType=INTEGER},
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},
first_payment = #{record.firstPayment,jdbcType=DECIMAL},
order_amount = #{record.orderAmount,jdbcType=DECIMAL},
brokerage_amount = #{record.brokerageAmount,jdbcType=DECIMAL},
sign_first_payment = #{record.signFirstPayment,jdbcType=DECIMAL},
actually_first_payment = #{record.actuallyFirstPayment,jdbcType=DECIMAL},
sign_total_amount = #{record.signTotalAmount,jdbcType=DECIMAL},
actually_total_amount = #{record.actuallyTotalAmount,jdbcType=DECIMAL},
sign_brokerage_amount = #{record.signBrokerageAmount,jdbcType=DECIMAL},
actually_brokerage_amount = #{record.actuallyBrokerageAmount,jdbcType=DECIMAL},
sign_withdraw_amount = #{record.signWithdrawAmount,jdbcType=DECIMAL},
actually_withdraw_amount = #{record.actuallyWithdrawAmount,jdbcType=DECIMAL},
order_stage = #{record.orderStage,jdbcType=INTEGER},
project_stage = #{record.projectStage,jdbcType=INTEGER},
order_status = #{record.orderStatus,jdbcType=INTEGER},
liquidation_status = #{record.liquidationStatus,jdbcType=INTEGER},
order_channel = #{record.orderChannel,jdbcType=INTEGER},
approval = #{record.approval,jdbcType=INTEGER},
order_remarks = #{record.orderRemarks,jdbcType=VARCHAR},
delete_sign = #{record.deleteSign,jdbcType=INTEGER},
salesman_id = #{record.salesmanId,jdbcType=VARCHAR},
finance_id = #{record.financeId,jdbcType=VARCHAR},
technician_id = #{record.technicianId,jdbcType=VARCHAR},
confirm_time = #{record.confirmTime,jdbcType=TIMESTAMP},
sign_time = #{record.signTime,jdbcType=TIMESTAMP},
set_up_time = #{record.setUpTime,jdbcType=TIMESTAMP},
settlement_time = #{record.settlementTime,jdbcType=TIMESTAMP},
contract_picture_url = #{record.contractPictureUrl,jdbcType=LONGVARCHAR}
update t_order
set order_no = #{record.orderNo,jdbcType=VARCHAR},
order_type = #{record.orderType,jdbcType=INTEGER},
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},
first_payment = #{record.firstPayment,jdbcType=DECIMAL},
order_amount = #{record.orderAmount,jdbcType=DECIMAL},
brokerage_amount = #{record.brokerageAmount,jdbcType=DECIMAL},
sign_first_payment = #{record.signFirstPayment,jdbcType=DECIMAL},
actually_first_payment = #{record.actuallyFirstPayment,jdbcType=DECIMAL},
sign_total_amount = #{record.signTotalAmount,jdbcType=DECIMAL},
actually_total_amount = #{record.actuallyTotalAmount,jdbcType=DECIMAL},
sign_brokerage_amount = #{record.signBrokerageAmount,jdbcType=DECIMAL},
actually_brokerage_amount = #{record.actuallyBrokerageAmount,jdbcType=DECIMAL},
sign_withdraw_amount = #{record.signWithdrawAmount,jdbcType=DECIMAL},
actually_withdraw_amount = #{record.actuallyWithdrawAmount,jdbcType=DECIMAL},
order_stage = #{record.orderStage,jdbcType=INTEGER},
project_stage = #{record.projectStage,jdbcType=INTEGER},
order_status = #{record.orderStatus,jdbcType=INTEGER},
liquidation_status = #{record.liquidationStatus,jdbcType=INTEGER},
order_channel = #{record.orderChannel,jdbcType=INTEGER},
approval = #{record.approval,jdbcType=INTEGER},
order_remarks = #{record.orderRemarks,jdbcType=VARCHAR},
delete_sign = #{record.deleteSign,jdbcType=INTEGER},
salesman_id = #{record.salesmanId,jdbcType=VARCHAR},
finance_id = #{record.financeId,jdbcType=VARCHAR},
technician_id = #{record.technicianId,jdbcType=VARCHAR},
confirm_time = #{record.confirmTime,jdbcType=TIMESTAMP},
sign_time = #{record.signTime,jdbcType=TIMESTAMP},
set_up_time = #{record.setUpTime,jdbcType=TIMESTAMP},
settlement_time = #{record.settlementTime,jdbcType=TIMESTAMP}
update t_order
order_type = #{orderType,jdbcType=INTEGER},
creater = #{creater,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
buyer_id = #{buyerId,jdbcType=VARCHAR},
seller_id = #{sellerId,jdbcType=VARCHAR},
first_payment = #{firstPayment,jdbcType=DECIMAL},
order_amount = #{orderAmount,jdbcType=DECIMAL},
brokerage_amount = #{brokerageAmount,jdbcType=DECIMAL},
sign_first_payment = #{signFirstPayment,jdbcType=DECIMAL},
actually_first_payment = #{actuallyFirstPayment,jdbcType=DECIMAL},
sign_total_amount = #{signTotalAmount,jdbcType=DECIMAL},
actually_total_amount = #{actuallyTotalAmount,jdbcType=DECIMAL},
sign_brokerage_amount = #{signBrokerageAmount,jdbcType=DECIMAL},
actually_brokerage_amount = #{actuallyBrokerageAmount,jdbcType=DECIMAL},
sign_withdraw_amount = #{signWithdrawAmount,jdbcType=DECIMAL},
actually_withdraw_amount = #{actuallyWithdrawAmount,jdbcType=DECIMAL},
order_stage = #{orderStage,jdbcType=INTEGER},
project_stage = #{projectStage,jdbcType=INTEGER},
order_status = #{orderStatus,jdbcType=INTEGER},
liquidation_status = #{liquidationStatus,jdbcType=INTEGER},
order_channel = #{orderChannel,jdbcType=INTEGER},
approval = #{approval,jdbcType=INTEGER},
order_remarks = #{orderRemarks,jdbcType=VARCHAR},
delete_sign = #{deleteSign,jdbcType=INTEGER},
salesman_id = #{salesmanId,jdbcType=VARCHAR},
finance_id = #{financeId,jdbcType=VARCHAR},
technician_id = #{technicianId,jdbcType=VARCHAR},
confirm_time = #{confirmTime,jdbcType=TIMESTAMP},
sign_time = #{signTime,jdbcType=TIMESTAMP},
set_up_time = #{setUpTime,jdbcType=TIMESTAMP},
settlement_time = #{settlementTime,jdbcType=TIMESTAMP},
contract_picture_url = #{contractPictureUrl,jdbcType=LONGVARCHAR},
where order_no = #{orderNo,jdbcType=VARCHAR}
update t_order
set order_type = #{orderType,jdbcType=INTEGER},
creater = #{creater,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
buyer_id = #{buyerId,jdbcType=VARCHAR},
seller_id = #{sellerId,jdbcType=VARCHAR},
first_payment = #{firstPayment,jdbcType=DECIMAL},
order_amount = #{orderAmount,jdbcType=DECIMAL},
brokerage_amount = #{brokerageAmount,jdbcType=DECIMAL},
sign_first_payment = #{signFirstPayment,jdbcType=DECIMAL},
actually_first_payment = #{actuallyFirstPayment,jdbcType=DECIMAL},
sign_total_amount = #{signTotalAmount,jdbcType=DECIMAL},
actually_total_amount = #{actuallyTotalAmount,jdbcType=DECIMAL},
sign_brokerage_amount = #{signBrokerageAmount,jdbcType=DECIMAL},
actually_brokerage_amount = #{actuallyBrokerageAmount,jdbcType=DECIMAL},
sign_withdraw_amount = #{signWithdrawAmount,jdbcType=DECIMAL},
actually_withdraw_amount = #{actuallyWithdrawAmount,jdbcType=DECIMAL},
order_stage = #{orderStage,jdbcType=INTEGER},
project_stage = #{projectStage,jdbcType=INTEGER},
order_status = #{orderStatus,jdbcType=INTEGER},
liquidation_status = #{liquidationStatus,jdbcType=INTEGER},
order_channel = #{orderChannel,jdbcType=INTEGER},
approval = #{approval,jdbcType=INTEGER},
order_remarks = #{orderRemarks,jdbcType=VARCHAR},
delete_sign = #{deleteSign,jdbcType=INTEGER},
salesman_id = #{salesmanId,jdbcType=VARCHAR},
finance_id = #{financeId,jdbcType=VARCHAR},
technician_id = #{technicianId,jdbcType=VARCHAR},
confirm_time = #{confirmTime,jdbcType=TIMESTAMP},
sign_time = #{signTime,jdbcType=TIMESTAMP},
set_up_time = #{setUpTime,jdbcType=TIMESTAMP},
settlement_time = #{settlementTime,jdbcType=TIMESTAMP},
contract_picture_url = #{contractPictureUrl,jdbcType=LONGVARCHAR}
where order_no = #{orderNo,jdbcType=VARCHAR}
update t_order
set order_type = #{orderType,jdbcType=INTEGER},
creater = #{creater,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
buyer_id = #{buyerId,jdbcType=VARCHAR},
seller_id = #{sellerId,jdbcType=VARCHAR},
first_payment = #{firstPayment,jdbcType=DECIMAL},
order_amount = #{orderAmount,jdbcType=DECIMAL},
brokerage_amount = #{brokerageAmount,jdbcType=DECIMAL},
sign_first_payment = #{signFirstPayment,jdbcType=DECIMAL},
actually_first_payment = #{actuallyFirstPayment,jdbcType=DECIMAL},
sign_total_amount = #{signTotalAmount,jdbcType=DECIMAL},
actually_total_amount = #{actuallyTotalAmount,jdbcType=DECIMAL},
sign_brokerage_amount = #{signBrokerageAmount,jdbcType=DECIMAL},
actually_brokerage_amount = #{actuallyBrokerageAmount,jdbcType=DECIMAL},
sign_withdraw_amount = #{signWithdrawAmount,jdbcType=DECIMAL},
actually_withdraw_amount = #{actuallyWithdrawAmount,jdbcType=DECIMAL},
order_stage = #{orderStage,jdbcType=INTEGER},
project_stage = #{projectStage,jdbcType=INTEGER},
order_status = #{orderStatus,jdbcType=INTEGER},
liquidation_status = #{liquidationStatus,jdbcType=INTEGER},
order_channel = #{orderChannel,jdbcType=INTEGER},
approval = #{approval,jdbcType=INTEGER},
order_remarks = #{orderRemarks,jdbcType=VARCHAR},
delete_sign = #{deleteSign,jdbcType=INTEGER},
salesman_id = #{salesmanId,jdbcType=VARCHAR},
finance_id = #{financeId,jdbcType=VARCHAR},
technician_id = #{technicianId,jdbcType=VARCHAR},
confirm_time = #{confirmTime,jdbcType=TIMESTAMP},
sign_time = #{signTime,jdbcType=TIMESTAMP},
set_up_time = #{setUpTime,jdbcType=TIMESTAMP},
settlement_time = #{settlementTime,jdbcType=TIMESTAMP}
where order_no = #{orderNo,jdbcType=VARCHAR}