insert into temp_car_fee_config(
car_type,config_id,fee_name,pa_id,area_num,start_time,end_time,rule_id,community_id,fee_config_id
) values (
#{carType},#{configId},#{feeName},#{paId},#{areaNum},#{startTime},#{endTime},#{ruleId},#{communityId},#{feeConfigId}
)
update temp_car_fee_config t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.car_type= #{carType}
, t.fee_name= #{feeName}
, t.pa_id= #{paId}
, t.area_num= #{areaNum}
, t.start_time= #{startTime}
, t.end_time= #{endTime}
, t.rule_id= #{ruleId}
, t.community_id= #{communityId}
, t.fee_config_id= #{feeConfigId}
where 1=1
and t.config_id= #{configId}