insert into report_fee_year_collection(
owner_link,obj_name,owner_id,fee_id,built_up_area,owner_name,config_id,obj_id,fee_name,community_id,collection_id,obj_type
) values (
#{ownerLink},#{objName},#{ownerId},#{feeId},#{builtUpArea},#{ownerName},#{configId},#{objId},#{feeName},#{communityId},#{collectionId},#{objType}
)
update report_fee_year_collection t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.owner_link= #{ownerLink}
, t.obj_name= #{objName}
, t.owner_id= #{ownerId}
, t.fee_id= #{feeId}
, t.built_up_area= #{builtUpArea}
, t.owner_name= #{ownerName}
, t.config_id= #{configId}
, t.obj_id= #{objId}
, t.fee_name= #{feeName}
, t.community_id= #{communityId}
, t.obj_type= #{objType}
where 1=1
and t.collection_id= #{collectionId}