insert into payment_pool_config(
ppc_id,config_id,fee_name,community_id,pp_id
) values (
#{ppcId},#{configId},#{feeName},#{communityId},#{ppId}
)
update payment_pool_config t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.config_id= #{configId}
, t.fee_name= #{feeName}
, t.community_id= #{communityId}
, t.pp_id= #{ppId}
where 1=1
and t.ppc_id= #{ppcId}