create_by, create_time, update_by, update_time, id, order_id, p_id, s_id, price, count, total_price, s_title, discount_explain, discount_amount #{item.createBy}, now(), #{item.updateBy}, now(), #{item.id}, #{item.orderId}, #{item.pId}, #{item.sId}, #{item.price}, #{item.count}, #{item.totalPrice}, #{item.sTitle}, #{item.discountExplain}, #{item.discountAmount} and id = #{record.id} and order_id = #{record.orderId} and p_id = #{record.pId} and s_id = #{record.sId} and price = #{record.price} and count = #{record.count} and total_price = #{record.totalPrice} and s_title = #{record.sTitle} and discount_explain = #{record.discountExplain} and discount_amount = #{record.discountAmount} INSERT INTO shop_order_details ( ) VALUES ( ) INSERT INTO shop_order_details ( ) VALUES ( ) UPDATE shop_order_details order_id = #{orderId}, p_id = #{pId}, s_id = #{sId}, price = #{price}, count = #{count}, total_price = #{totalPrice}, s_title = #{sTitle}, discount_explain = #{discountExplain}, discount_amount = #{discountAmount}, WHERE id=#{id} UPDATE shop_order_details order_id = #{record.orderId}, p_id = #{record.pId}, s_id = #{record.sId}, price = #{record.price}, count = #{record.count}, total_price = #{record.totalPrice}, s_title = #{record.sTitle}, discount_explain = #{record.discountExplain}, discount_amount = #{record.discountAmount}, WHERE id=#{record.id} delete from shop_order_details where id in #{item} DELETE FROM shop_order_details where id=#{id} DELETE FROM shop_order_details