select a.hall_id, a.hall_name, a.hall_address, a.row_start, a.row_nums, a.seat_nums_row, a.seat_nums, a.seat_state, a.del_state, a.create_time, a.create_by, a.update_time, a.update_by from zdy_cinema_hall a insert into zdy_cinema_hall hall_name, hall_address, row_start, row_nums, seat_nums_row, seat_nums, seat_state, del_state, create_time, create_by, update_time, update_by, #{hallName}, #{hallAddress}, #{rowStart}, #{rowNums}, #{seatNumsRow}, #{seatNums}, #{seatState}, #{delState}, #{createTime}, #{createBy}, #{updateTime}, #{updateBy}, update zdy_cinema_hall hall_name = #{hallName}, hall_address = #{hallAddress}, row_start = #{rowStart}, row_nums = #{rowNums}, seat_nums_row = #{seatNumsRow}, seat_nums = #{seatNums}, seat_state = #{seatState}, del_state = #{delState}, create_time = #{createTime}, create_by = #{createBy}, update_time = #{updateTime}, update_by = #{updateBy}, where hall_id = #{hallId} delete from zdy_cinema_hall where hall_id = #{hallId} delete from zdy_cinema_hall where hall_id in #{hallId} delete from zdy_cinema_hall_zone where hall_id in #{hallId} delete from zdy_cinema_hall_zone where hall_id = #{hallId} insert into zdy_cinema_hall_zone ( zone_id , hall_id , zone_name , seat_set) values ( #{item.zoneId }, #{item.hallId }, #{item.zoneName }, #{item.seatSet })