将rows集合中元素的id属性提出作为一个单独数组
ids = [item['id'] for item in result['rows']]
将ids每个元素先加2,然后两边都加上单引号(拼接sql使用)
ids_str = [f'{item + 2}' for item in ids]
key为project_id value未project对象
project_map = dict((a['project_id'], a) for a in project_arr)