insert into community_publicity(create_user_id, pub_id, context, collect_count, pub_type, like_count, create_user_name, title, community_id, read_count, header_img) values (#{createUserId}, #{pubId}, #{context}, #{collectCount}, #{pubType}, #{likeCount}, #{createUserName}, #{title}, #{communityId}, #{readCount}, #{headerImg}) update community_publicity t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.create_user_id= #{createUserId} , t.context= #{context} , t.collect_count= #{collectCount} , t.pub_type= #{pubType} , t.like_count= #{likeCount} , t.create_user_name= #{createUserName} , t.title= #{title} , t.community_id= #{communityId} , t.read_count= #{readCount} , t.header_img= #{headerImg} where 1=1 and t.pub_id= #{pubId}