insert into integral_rule_fee(
pay_month,irf_id,fee_config_name,pay_start_time,pay_end_time,rule_id,community_id,fee_config_id
) values (
#{payMonth},#{irfId},#{feeConfigName},#{payStartTime},#{payEndTime},#{ruleId},#{communityId},#{feeConfigId}
)
update integral_rule_fee t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.pay_month= #{payMonth}
, t.fee_config_name= #{feeConfigName}
, t.pay_start_time= #{payStartTime}
, t.pay_end_time= #{payEndTime}
, t.rule_id= #{ruleId}
, t.fee_config_id= #{feeConfigId}
where 1=1
and t.irf_id= #{irfId}
and t.community_id= #{communityId}