java.sql.SQLException: Wrong number of parameters: expected 1, was given 2 Query 问题原因:还是不细心呀 1、参数需要的是数组,传过来的是集合,需要toArray();2、?是中文的,改成英文?即可