insert into fee_formula( formula_id,formula_type,formula_value,formula_desc,community_id,price ) values ( #{formulaId},#{formulaType},#{formulaValue},#{formulaDesc},#{communityId},#{price} ) update fee_formula t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.formula_type= #{formulaType} , t.formula_value= #{formulaValue} , t.formula_desc= #{formulaDesc} , t.community_id= #{communityId} , t.price= #{price} where 1=1 and t.formula_id= #{formulaId}