List list = this.getJtN().queryForList(
"select cpdm dm,cpmc mc from t_cpxx where zt_dm='1' and cpdm in("+ cp_dm +") order by dm ");
这样写是错误的,‘’单引号表示字符串,“”双引号表示字符串拼接,所以应改为
"select cpdm dm,cpmc mc from t_cpxx where zt_dm='1' and cpdm in('"+ cp_dm +"') order by dm ");