id, seat_plan_id,
seat_plan_name,
perform_id,
perform_name,
stop_sale,
shelf_status,
price,
discount_price,
sub_status,
quantity,
status,
max_sell_stock,
sold_stock,
left_stock,
able_sale_quantity,
ash_show,
ash_show_desc,
selectable,
display,
available_ticket_quantity,
available_all_ticket_quantity,
sale_time,
project_id,
sold_out
INSERT INTO fwd_perform_seat_info
seat_plan_id,
seat_plan_name,
perform_id,
perform_name,
stop_sale,
shelf_status,
price,
discount_price,
sub_status,
quantity,
status,
max_sell_stock,
sold_stock,
left_stock,
able_sale_quantity,
ash_show,
ash_show_desc,
selectable,
display,
available_ticket_quantity,
available_all_ticket_quantity,
sale_time,
project_id,
sold_out
#{seatPlanId},
#{seatPlanName},
#{performId},
#{performName},
#{stopSale},
#{shelfStatus},
#{price},
#{discountPrice},
#{subStatus},
#{quantity},
#{status},
#{maxSellStock},
#{soldStock},
#{leftStock},
#{ableSaleQuantity},
#{ashShow},
#{ashShowDesc},
#{selectable},
#{display},
#{availableTicketQuantity},
#{availableAllTicketQuantity},
#{saleTime},
#{projectId},
#{soldOut},
INSERT INTO fwd_perform_seat_info
(
seat_plan_id, seat_plan_name, perform_id, perform_name, stop_sale,
shelf_status, price, discount_price, sub_status, quantity,
status, max_sell_stock, sold_stock, left_stock, able_sale_quantity,
ash_show, ash_show_desc, selectable, display,
available_ticket_quantity, available_all_ticket_quantity,
sale_time, project_id, sold_out
)
VALUES
(
#{item.seatPlanId}, #{item.seatPlanName}, #{item.performId}, #{item.performName}, #{item.stopSale},
#{item.shelfStatus}, #{item.price}, #{item.discountPrice}, #{item.subStatus}, #{item.quantity},
#{item.status}, #{item.maxSellStock}, #{item.soldStock}, #{item.leftStock}, #{item.ableSaleQuantity},
#{item.ashShow}, #{item.ashShowDesc}, #{item.selectable}, #{item.display},
#{item.availableTicketQuantity}, #{item.availableAllTicketQuantity},
#{item.saleTime}, #{item.projectId}, #{item.soldOut}
)
UPDATE fwd_perform_seat_info
seat_plan_id = #{seatPlanId},
seat_plan_name = #{seatPlanName},
perform_id = #{performId},
perform_name = #{performName},
stop_sale = #{stopSale},
shelf_status = #{shelfStatus},
price = #{price},
discount_price = #{discountPrice},
sub_status = #{subStatus},
quantity = #{quantity},
status = #{status},
max_sell_stock = #{maxSellStock},
sold_stock = #{soldStock},
left_stock = #{leftStock},
able_sale_quantity = #{ableSaleQuantity},
ash_show = #{ashShow},
ash_show_desc = #{ashShowDesc},
selectable = #{selectable},
display = #{display},
available_ticket_quantity = #{availableTicketQuantity},
available_all_ticket_quantity = #{availableAllTicketQuantity},
sale_time = #{saleTime},
project_id = #{projectId},
sold_out = #{soldOut}
WHERE id = #{id}