->Join('test_paper_user u',"u.paper_id=p.id and u.deleted=0 and u.is_finish=0 and u.user_id='".$Session['user_id']."'")
用单引号和双引号,包裹参数变量,形成完整的查询语句。