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, order_no, commodity_id, commodity_name, commodity_quantity, commodity_price,
commodity_type, commodity_mode, discount_price, member_price, create_time
delete from jt_order_detail
where id = #{id,jdbcType=VARCHAR}
delete from jt_order_detail
insert into jt_order_detail (id, order_no, commodity_id,
commodity_name, commodity_quantity, commodity_price,
commodity_type, commodity_mode, discount_price,
member_price, create_time)
values (#{id,jdbcType=VARCHAR}, #{orderNo,jdbcType=VARCHAR}, #{commodityId,jdbcType=VARCHAR},
#{commodityName,jdbcType=VARCHAR}, #{commodityQuantity,jdbcType=INTEGER}, #{commodityPrice,jdbcType=DECIMAL},
#{commodityType,jdbcType=INTEGER}, #{commodityMode,jdbcType=VARCHAR}, #{discountPrice,jdbcType=DECIMAL},
#{memberPrice,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP})
insert into jt_order_detail
id,
order_no,
commodity_id,
commodity_name,
commodity_quantity,
commodity_price,
commodity_type,
commodity_mode,
discount_price,
member_price,
create_time,
#{id,jdbcType=VARCHAR},
#{orderNo,jdbcType=VARCHAR},
#{commodityId,jdbcType=VARCHAR},
#{commodityName,jdbcType=VARCHAR},
#{commodityQuantity,jdbcType=INTEGER},
#{commodityPrice,jdbcType=DECIMAL},
#{commodityType,jdbcType=INTEGER},
#{commodityMode,jdbcType=VARCHAR},
#{discountPrice,jdbcType=DECIMAL},
#{memberPrice,jdbcType=DECIMAL},
#{createTime,jdbcType=TIMESTAMP},
update jt_order_detail
id = #{record.id,jdbcType=VARCHAR},
order_no = #{record.orderNo,jdbcType=VARCHAR},
commodity_id = #{record.commodityId,jdbcType=VARCHAR},
commodity_name = #{record.commodityName,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},
discount_price = #{record.discountPrice,jdbcType=DECIMAL},
member_price = #{record.memberPrice,jdbcType=DECIMAL},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update jt_order_detail
set id = #{record.id,jdbcType=VARCHAR},
order_no = #{record.orderNo,jdbcType=VARCHAR},
commodity_id = #{record.commodityId,jdbcType=VARCHAR},
commodity_name = #{record.commodityName,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},
discount_price = #{record.discountPrice,jdbcType=DECIMAL},
member_price = #{record.memberPrice,jdbcType=DECIMAL},
create_time = #{record.createTime,jdbcType=TIMESTAMP}
update jt_order_detail
order_no = #{orderNo,jdbcType=VARCHAR},
commodity_id = #{commodityId,jdbcType=VARCHAR},
commodity_name = #{commodityName,jdbcType=VARCHAR},
commodity_quantity = #{commodityQuantity,jdbcType=INTEGER},
commodity_price = #{commodityPrice,jdbcType=DECIMAL},
commodity_type = #{commodityType,jdbcType=INTEGER},
commodity_mode = #{commodityMode,jdbcType=VARCHAR},
discount_price = #{discountPrice,jdbcType=DECIMAL},
member_price = #{memberPrice,jdbcType=DECIMAL},
create_time = #{createTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=VARCHAR}
update jt_order_detail
set order_no = #{orderNo,jdbcType=VARCHAR},
commodity_id = #{commodityId,jdbcType=VARCHAR},
commodity_name = #{commodityName,jdbcType=VARCHAR},
commodity_quantity = #{commodityQuantity,jdbcType=INTEGER},
commodity_price = #{commodityPrice,jdbcType=DECIMAL},
commodity_type = #{commodityType,jdbcType=INTEGER},
commodity_mode = #{commodityMode,jdbcType=VARCHAR},
discount_price = #{discountPrice,jdbcType=DECIMAL},
member_price = #{memberPrice,jdbcType=DECIMAL},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=VARCHAR}