insert into report_owner_pay_fee(config_name, amount, pf_id, detail_id, obj_name, owner_id, fee_id, pf_month,
owner_name, pf_year, config_id, pf_date, obj_id, fee_name, community_id,
obj_type)
values (#{configName}, #{amount}, #{pfId}, #{detailId}, #{objName}, #{ownerId}, #{feeId}, #{pfMonth},
#{ownerName}, #{pfYear}, #{configId}, #{pfDate}, #{objId}, #{feeName}, #{communityId}, #{objType})
update report_owner_pay_fee t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.config_name= #{configName}
, t.amount= #{amount}
, t.detail_id= #{detailId}
, t.obj_name= #{objName}
, t.owner_id= #{ownerId}
, t.fee_id= #{feeId}
, t.pf_month= #{pfMonth}
, t.owner_name= #{ownerName}
, t.pf_year= #{pfYear}
, t.config_id= #{configId}
, t.pf_date= #{pfDate}
, t.obj_id= #{objId}
, t.fee_name= #{feeName}
, t.community_id= #{communityId}
, t.obj_type= #{objType}
where 1=1
and t.pf_id= #{pfId}