serviceImpl中:
CraftQO craftQO = new CraftQO();
List<String> paramList = paramdao.getParamList();
craftQO.setParamList(paramList);
List<ParamVO>list= paramdao.paramList(craftQO);
MapperXml中:
SELECT * FROM PARAM_INFO WHERE PARAM_ID NOT IN <foreach collection="paramList" item="item" index="index" separator="," open="(" close=")"> #{item} </foreach>