insert into contract_change_plan_room( operate,owner_name,contract_id,pr_id,plan_id,owner_id,store_id,room_id,room_name ) values ( #{operate},#{ownerName},#{contractId},#{prId},#{planId},#{ownerId},#{storeId},#{roomId},#{roomName} ) update contract_change_plan_room t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.owner_name= #{ownerName} , t.contract_id= #{contractId} , t.plan_id= #{planId} , t.owner_id= #{ownerId} , t.store_id= #{storeId} , t.room_id= #{roomId} , t.room_name= #{roomName} where 1=1 and t.pr_id= #{prId}