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 ) values ( #{section},#{remark},#{roomSubType},#{roomArea},#{userId},#{roomId},#{layer},#{feeCoefficient},#{builtUpArea},#{roomNum},#{unitId},#{state},#{communityId},#{apartment},#{roomType},#{roomRent} ) 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} where 1=1 and t.room_id= #{roomId}