insert into community_setting( cs_id,setting_value,remark,community_id,setting_key,setting_type,setting_name ) values ( #{csId},#{settingValue},#{remark},#{communityId},#{settingKey},#{settingType},#{settingName} ) update community_setting t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.setting_value= #{settingValue} , t.remark= #{remark} , t.setting_key= #{settingKey} , t.setting_type= #{settingType} , t.setting_name= #{settingName} where 1=1 and t.cs_id= #{csId} and t.community_id= #{communityId}