insert into community_location( location_name,location_id,location_type,community_id,location_obj_id,location_obj_name ) values ( #{locationName},#{locationId},#{locationType},#{communityId},#{locationObjId},#{locationObjName} ) update community_location t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.location_name= #{locationName} , t.location_type= #{locationType} , t.location_obj_id= #{locationObjId} , t.location_obj_name= #{locationObjName} where 1=1 and t.location_id= #{locationId} and t.community_id= #{communityId}