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