insert into integral_setting(
money,third_flag,remark,third_url,community_id,setting_id
) values (
#{money},#{thirdFlag},#{remark},#{thirdUrl},#{communityId},#{settingId}
)
update integral_setting t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.money= #{money}
, t.third_flag= #{thirdFlag}
, t.remark= #{remark}
, t.third_url= #{thirdUrl}
, t.community_id= #{communityId}
where 1=1
and t.setting_id= #{settingId}