Surname(提问者)select a.project_name from (select project_id,project_name from base_project_t) a inner join (
select project_id,project_block_no as project_block_id, project_block_name from base_project_block_t
where workflow_state = \'30\' and delete_flag = \'Y\'
) b on a.project_id=b.project_id where project_id=\'\"+C2+\"\' 我能直接拿单元格作为传值嘛 C2