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}
id, create_date, modify_date, admin_id, admin_proportion, agency_id, agency_proportion,
alt_info, client_id, equipment_id, frp_code, merchant_id, merchant_proportion, pay_date,
personage_id, personage_proportion, price, product_id, product_name, refund_date,
sn, status, type, trx_no, refund_trx_no, refund_amount
delete from t_order
where id = #{id,jdbcType=BIGINT}
delete from t_order
insert into t_order (id, create_date, modify_date,
admin_id, admin_proportion, agency_id,
agency_proportion, alt_info, client_id,
equipment_id, frp_code, merchant_id,
merchant_proportion, pay_date, personage_id,
personage_proportion, price, product_id,
product_name, refund_date, sn,
status, type, trx_no,
refund_trx_no, refund_amount)
values (#{id,jdbcType=BIGINT}, #{createDate,jdbcType=TIMESTAMP}, #{modifyDate,jdbcType=TIMESTAMP},
#{adminId,jdbcType=BIGINT}, #{adminProportion,jdbcType=DECIMAL}, #{agencyId,jdbcType=BIGINT},
#{agencyProportion,jdbcType=DECIMAL}, #{altInfo,jdbcType=VARCHAR}, #{clientId,jdbcType=VARCHAR},
#{equipmentId,jdbcType=BIGINT}, #{frpCode,jdbcType=VARCHAR}, #{merchantId,jdbcType=BIGINT},
#{merchantProportion,jdbcType=DECIMAL}, #{payDate,jdbcType=TIMESTAMP}, #{personageId,jdbcType=BIGINT},
#{personageProportion,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}, #{productId,jdbcType=BIGINT},
#{productName,jdbcType=VARCHAR}, #{refundDate,jdbcType=TIMESTAMP}, #{sn,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}, #{trxNo,jdbcType=VARCHAR},
#{refundTrxNo,jdbcType=VARCHAR}, #{refundAmount,jdbcType=DECIMAL})
insert into t_order
id,
create_date,
modify_date,
admin_id,
admin_proportion,
agency_id,
agency_proportion,
alt_info,
client_id,
equipment_id,
frp_code,
merchant_id,
merchant_proportion,
pay_date,
personage_id,
personage_proportion,
price,
product_id,
product_name,
refund_date,
sn,
status,
type,
trx_no,
refund_trx_no,
refund_amount,
#{id,jdbcType=BIGINT},
#{createDate,jdbcType=TIMESTAMP},
#{modifyDate,jdbcType=TIMESTAMP},
#{adminId,jdbcType=BIGINT},
#{adminProportion,jdbcType=DECIMAL},
#{agencyId,jdbcType=BIGINT},
#{agencyProportion,jdbcType=DECIMAL},
#{altInfo,jdbcType=VARCHAR},
#{clientId,jdbcType=VARCHAR},
#{equipmentId,jdbcType=BIGINT},
#{frpCode,jdbcType=VARCHAR},
#{merchantId,jdbcType=BIGINT},
#{merchantProportion,jdbcType=DECIMAL},
#{payDate,jdbcType=TIMESTAMP},
#{personageId,jdbcType=BIGINT},
#{personageProportion,jdbcType=DECIMAL},
#{price,jdbcType=DECIMAL},
#{productId,jdbcType=BIGINT},
#{productName,jdbcType=VARCHAR},
#{refundDate,jdbcType=TIMESTAMP},
#{sn,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{type,jdbcType=INTEGER},
#{trxNo,jdbcType=VARCHAR},
#{refundTrxNo,jdbcType=VARCHAR},
#{refundAmount,jdbcType=DECIMAL},
update t_order
id = #{record.id,jdbcType=BIGINT},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modify_date = #{record.modifyDate,jdbcType=TIMESTAMP},
admin_id = #{record.adminId,jdbcType=BIGINT},
admin_proportion = #{record.adminProportion,jdbcType=DECIMAL},
agency_id = #{record.agencyId,jdbcType=BIGINT},
agency_proportion = #{record.agencyProportion,jdbcType=DECIMAL},
alt_info = #{record.altInfo,jdbcType=VARCHAR},
client_id = #{record.clientId,jdbcType=VARCHAR},
equipment_id = #{record.equipmentId,jdbcType=BIGINT},
frp_code = #{record.frpCode,jdbcType=VARCHAR},
merchant_id = #{record.merchantId,jdbcType=BIGINT},
merchant_proportion = #{record.merchantProportion,jdbcType=DECIMAL},
pay_date = #{record.payDate,jdbcType=TIMESTAMP},
personage_id = #{record.personageId,jdbcType=BIGINT},
personage_proportion = #{record.personageProportion,jdbcType=DECIMAL},
price = #{record.price,jdbcType=DECIMAL},
product_id = #{record.productId,jdbcType=BIGINT},
product_name = #{record.productName,jdbcType=VARCHAR},
refund_date = #{record.refundDate,jdbcType=TIMESTAMP},
sn = #{record.sn,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
type = #{record.type,jdbcType=INTEGER},
trx_no = #{record.trxNo,jdbcType=VARCHAR},
refund_trx_no = #{record.refundTrxNo,jdbcType=VARCHAR},
refund_amount = #{record.refundAmount,jdbcType=DECIMAL},
update t_order
set id = #{record.id,jdbcType=BIGINT},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modify_date = #{record.modifyDate,jdbcType=TIMESTAMP},
admin_id = #{record.adminId,jdbcType=BIGINT},
admin_proportion = #{record.adminProportion,jdbcType=DECIMAL},
agency_id = #{record.agencyId,jdbcType=BIGINT},
agency_proportion = #{record.agencyProportion,jdbcType=DECIMAL},
alt_info = #{record.altInfo,jdbcType=VARCHAR},
client_id = #{record.clientId,jdbcType=VARCHAR},
equipment_id = #{record.equipmentId,jdbcType=BIGINT},
frp_code = #{record.frpCode,jdbcType=VARCHAR},
merchant_id = #{record.merchantId,jdbcType=BIGINT},
merchant_proportion = #{record.merchantProportion,jdbcType=DECIMAL},
pay_date = #{record.payDate,jdbcType=TIMESTAMP},
personage_id = #{record.personageId,jdbcType=BIGINT},
personage_proportion = #{record.personageProportion,jdbcType=DECIMAL},
price = #{record.price,jdbcType=DECIMAL},
product_id = #{record.productId,jdbcType=BIGINT},
product_name = #{record.productName,jdbcType=VARCHAR},
refund_date = #{record.refundDate,jdbcType=TIMESTAMP},
sn = #{record.sn,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
type = #{record.type,jdbcType=INTEGER},
trx_no = #{record.trxNo,jdbcType=VARCHAR},
refund_trx_no = #{record.refundTrxNo,jdbcType=VARCHAR},
refund_amount = #{record.refundAmount,jdbcType=DECIMAL}
update t_order
create_date = #{createDate,jdbcType=TIMESTAMP},
modify_date = #{modifyDate,jdbcType=TIMESTAMP},
admin_id = #{adminId,jdbcType=BIGINT},
admin_proportion = #{adminProportion,jdbcType=DECIMAL},
agency_id = #{agencyId,jdbcType=BIGINT},
agency_proportion = #{agencyProportion,jdbcType=DECIMAL},
alt_info = #{altInfo,jdbcType=VARCHAR},
client_id = #{clientId,jdbcType=VARCHAR},
equipment_id = #{equipmentId,jdbcType=BIGINT},
frp_code = #{frpCode,jdbcType=VARCHAR},
merchant_id = #{merchantId,jdbcType=BIGINT},
merchant_proportion = #{merchantProportion,jdbcType=DECIMAL},
pay_date = #{payDate,jdbcType=TIMESTAMP},
personage_id = #{personageId,jdbcType=BIGINT},
personage_proportion = #{personageProportion,jdbcType=DECIMAL},
price = #{price,jdbcType=DECIMAL},
product_id = #{productId,jdbcType=BIGINT},
product_name = #{productName,jdbcType=VARCHAR},
refund_date = #{refundDate,jdbcType=TIMESTAMP},
sn = #{sn,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
type = #{type,jdbcType=INTEGER},
trx_no = #{trxNo,jdbcType=VARCHAR},
refund_trx_no = #{refundTrxNo,jdbcType=VARCHAR},
refund_amount = #{refundAmount,jdbcType=DECIMAL},
where id = #{id,jdbcType=BIGINT}
update t_order
set create_date = #{createDate,jdbcType=TIMESTAMP},
modify_date = #{modifyDate,jdbcType=TIMESTAMP},
admin_id = #{adminId,jdbcType=BIGINT},
admin_proportion = #{adminProportion,jdbcType=DECIMAL},
agency_id = #{agencyId,jdbcType=BIGINT},
agency_proportion = #{agencyProportion,jdbcType=DECIMAL},
alt_info = #{altInfo,jdbcType=VARCHAR},
client_id = #{clientId,jdbcType=VARCHAR},
equipment_id = #{equipmentId,jdbcType=BIGINT},
frp_code = #{frpCode,jdbcType=VARCHAR},
merchant_id = #{merchantId,jdbcType=BIGINT},
merchant_proportion = #{merchantProportion,jdbcType=DECIMAL},
pay_date = #{payDate,jdbcType=TIMESTAMP},
personage_id = #{personageId,jdbcType=BIGINT},
personage_proportion = #{personageProportion,jdbcType=DECIMAL},
price = #{price,jdbcType=DECIMAL},
product_id = #{productId,jdbcType=BIGINT},
product_name = #{productName,jdbcType=VARCHAR},
refund_date = #{refundDate,jdbcType=TIMESTAMP},
sn = #{sn,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
type = #{type,jdbcType=INTEGER},
trx_no = #{trxNo,jdbcType=VARCHAR},
refund_trx_no = #{refundTrxNo,jdbcType=VARCHAR},
refund_amount = #{refundAmount,jdbcType=DECIMAL}
where id = #{id,jdbcType=BIGINT}
insert into t_order (id,create_date,modify_date,admin_id,admin_proportion,agency_id,agency_proportion,alt_info,client_id,equipment_id,frp_code,merchant_id,merchant_proportion,pay_date,personage_id,personage_proportion,price,product_id,product_name,refund_date,sn,status,type,trx_no,refund_trx_no,refund_amount)
select #{item.id,jdbcType=BIGINT},#{item.createDate,jdbcType=TIMESTAMP},#{item.modifyDate,jdbcType=TIMESTAMP},#{item.adminId,jdbcType=BIGINT},#{item.adminProportion,jdbcType=DECIMAL},#{item.agencyId,jdbcType=BIGINT},#{item.agencyProportion,jdbcType=DECIMAL},#{item.altInfo,jdbcType=VARCHAR},#{item.clientId,jdbcType=VARCHAR},#{item.equipmentId,jdbcType=BIGINT},#{item.frpCode,jdbcType=VARCHAR},#{item.merchantId,jdbcType=BIGINT},#{item.merchantProportion,jdbcType=DECIMAL},#{item.payDate,jdbcType=TIMESTAMP},#{item.personageId,jdbcType=BIGINT},#{item.personageProportion,jdbcType=DECIMAL},#{item.price,jdbcType=DECIMAL},#{item.productId,jdbcType=BIGINT},#{item.productName,jdbcType=VARCHAR},#{item.refundDate,jdbcType=TIMESTAMP},#{item.sn,jdbcType=VARCHAR},#{item.status,jdbcType=INTEGER},#{item.type,jdbcType=INTEGER},#{item.trxNo,jdbcType=VARCHAR},#{item.refundTrxNo,jdbcType=VARCHAR},#{item.refundAmount,jdbcType=DECIMAL} from dual
DELETE FROM t_order where id in
#{item}
update t_order
id = #{id},
create_date = #{createDate},
modify_date = #{modifyDate},
admin_id = #{adminId},
admin_proportion = #{adminProportion},
agency_id = #{agencyId},
agency_proportion = #{agencyProportion},
alt_info = #{altInfo},
client_id = #{clientId},
equipment_id = #{equipmentId},
frp_code = #{frpCode},
merchant_id = #{merchantId},
merchant_proportion = #{merchantProportion},
pay_date = #{payDate},
personage_id = #{personageId},
personage_proportion = #{personageProportion},
price = #{price},
product_id = #{productId},
product_name = #{productName},
refund_date = #{refundDate},
sn = #{sn},
status = #{status},
type = #{type},
trx_no = #{trxNo},
refund_trx_no = #{refundTrxNo},
refund_amount = #{refundAmount},
where id in
#{item}