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, total_order_amount, total_actual_amount, total_cost, net_income, total_number,
cancel_number, bill_date
delete from tb_bill
where id = #{id,jdbcType=INTEGER}
delete from tb_bill
SELECT LAST_INSERT_ID()
insert into tb_bill (total_order_amount, total_actual_amount,
total_cost, net_income, total_number,
cancel_number, bill_date)
values (#{totalOrderAmount,jdbcType=DOUBLE}, #{totalActualAmount,jdbcType=DOUBLE},
#{totalCost,jdbcType=DOUBLE}, #{netIncome,jdbcType=DOUBLE}, #{totalNumber,jdbcType=INTEGER},
#{cancelNumber,jdbcType=INTEGER}, #{billDate,jdbcType=TIMESTAMP})
SELECT LAST_INSERT_ID()
insert into tb_bill
total_order_amount,
total_actual_amount,
total_cost,
net_income,
total_number,
cancel_number,
bill_date,
#{totalOrderAmount,jdbcType=DOUBLE},
#{totalActualAmount,jdbcType=DOUBLE},
#{totalCost,jdbcType=DOUBLE},
#{netIncome,jdbcType=DOUBLE},
#{totalNumber,jdbcType=INTEGER},
#{cancelNumber,jdbcType=INTEGER},
#{billDate,jdbcType=TIMESTAMP},
update tb_bill
id = #{record.id,jdbcType=INTEGER},
total_order_amount = #{record.totalOrderAmount,jdbcType=DOUBLE},
total_actual_amount = #{record.totalActualAmount,jdbcType=DOUBLE},
total_cost = #{record.totalCost,jdbcType=DOUBLE},
net_income = #{record.netIncome,jdbcType=DOUBLE},
total_number = #{record.totalNumber,jdbcType=INTEGER},
cancel_number = #{record.cancelNumber,jdbcType=INTEGER},
bill_date = #{record.billDate,jdbcType=TIMESTAMP},
update tb_bill
set id = #{record.id,jdbcType=INTEGER},
total_order_amount = #{record.totalOrderAmount,jdbcType=DOUBLE},
total_actual_amount = #{record.totalActualAmount,jdbcType=DOUBLE},
total_cost = #{record.totalCost,jdbcType=DOUBLE},
net_income = #{record.netIncome,jdbcType=DOUBLE},
total_number = #{record.totalNumber,jdbcType=INTEGER},
cancel_number = #{record.cancelNumber,jdbcType=INTEGER},
bill_date = #{record.billDate,jdbcType=TIMESTAMP}
update tb_bill
total_order_amount = #{totalOrderAmount,jdbcType=DOUBLE},
total_actual_amount = #{totalActualAmount,jdbcType=DOUBLE},
total_cost = #{totalCost,jdbcType=DOUBLE},
net_income = #{netIncome,jdbcType=DOUBLE},
total_number = #{totalNumber,jdbcType=INTEGER},
cancel_number = #{cancelNumber,jdbcType=INTEGER},
bill_date = #{billDate,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update tb_bill
set total_order_amount = #{totalOrderAmount,jdbcType=DOUBLE},
total_actual_amount = #{totalActualAmount,jdbcType=DOUBLE},
total_cost = #{totalCost,jdbcType=DOUBLE},
net_income = #{netIncome,jdbcType=DOUBLE},
total_number = #{totalNumber,jdbcType=INTEGER},
cancel_number = #{cancelNumber,jdbcType=INTEGER},
bill_date = #{billDate,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}