insert into f_floor(
floor_id,name,remark,b_id,community_id,user_id,floor_num,floor_area
) values (
#{floorId},#{name},#{remark},#{bId},#{communityId},#{userId},#{floorNum},#{floorArea}
)
update f_floor t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.name= #{name}
, t.remark= #{remark}
, t.community_id= #{communityId}
, t.user_id= #{userId}
, t.floor_num= #{floorNum}
, t.floor_area= #{floorArea}
where 1=1
and t.floor_id= #{floorId}
and t.b_id= #{bId}