insert into building_room( section,remark,room_sub_type,room_area,user_id,room_id,layer,fee_coefficient,built_up_area, room_num,unit_id,state,community_id,apartment,room_type,room_rent,door_room_num,property_type,property_address,house_certificate_no, road_name, buy_date, sell_date, sell_state, room_buyer, eoc, monthly_unit_price, property_fee_month ) values ( #{section},#{remark},#{roomSubType},#{roomArea},#{userId},#{roomId},#{layer},#{feeCoefficient},#{builtUpArea},#{roomNum},#{unitId},#{state}, #{communityId},#{apartment},#{roomType},#{roomRent},#{doorRoomNum},#{propertyType},#{propertyAddress},#{houseCertificateNo}, #{roadName},#{buyDate},#{sellDate},#{sellState},#{roomBuyer},#{eoc},#{monthlyUnitPrice},#{propertyFeeMonth} ) update building_room t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.section= #{section} , t.remark= #{remark} , t.room_sub_type= #{roomSubType} , t.room_area= #{roomArea} , t.user_id= #{userId} , t.layer= #{layer} , t.fee_coefficient= #{feeCoefficient} , t.built_up_area= #{builtUpArea} , t.room_num= #{roomNum} , t.unit_id= #{unitId} , t.state= #{state} , t.community_id= #{communityId} , t.apartment= #{apartment} , t.room_type= #{roomType} , t.room_rent= #{roomRent} , t.door_room_num= #{doorRoomNum} , t.property_type= #{propertyType} , t.property_address= #{propertyAddress} , t.house_certificate_no= #{houseCertificateNo} where 1=1 and t.room_id= #{roomId}