insert into fee_manual_collection(
owner_name,link,room_area,remark,state,owner_id,community_id,collection_id,room_id,room_name
) values (
#{ownerName},#{link},#{roomArea},#{remark},#{state},#{ownerId},#{communityId},#{collectionId},#{roomId},#{roomName}
)
update fee_manual_collection t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.owner_name= #{ownerName}
, t.link= #{link}
, t.room_area= #{roomArea}
, t.remark= #{remark}
, t.state= #{state}
, t.owner_id= #{ownerId}
, t.community_id= #{communityId}
, t.collection_id= #{collectionId}
, t.room_id= #{roomId}
, t.room_name= #{roomName}
where 1=1
and t.collection_id= #{collectionId}