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, pay_type, score_count, total_score_count #{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}, #{item.payType}, #{item.scoreCount}, #{item.totalScoreCount} 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} and pay_type = #{record.payType} and score_count = #{record.scoreCount} and total_score_count = #{record.totalScoreCount} 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}, pay_type = #{payType}, score_count = #{scoreCount}, total_score_count = #{totalScoreCount}, 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}, pay_type = #{record.payType}, score_count = #{record.scoreCount}, total_score_count = #{record.totalScoreCount}, 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