NutzCN Logo
问答 mybatis 问题,想往map里传入list参数,总是说传进去为空
发布于 2822天前 作者 qq_c239cfa8 3457 次浏览 复制 上一个帖子 下一个帖子
标签:

mybatise xml配置


SELECT ORGNO
FROM bsatraninfo
WHERE ORGNO in

#{id}

</select>

调用
orglist.add("22222");
params.put("orglist", orglist);
logger.info(params);
bsebusisumucorplist = bseService.querybusisumucorplist(params);

报错### Error querying count. Cause: org.apache.ibatis.type.TypeException: Error setting null for parameter #1 with JdbcType OTHER . Try setting a different JdbcType for this parameter or a different jdbcTypeForNull configuration property. Cause: java.sql.SQLException: 无效的列类型

Cause: org.apache.ibatis.type.TypeException: Error setting null for parameter #1 with JdbcType OTHER . Try setting a different JdbcType for this parameter or a different jdbcTypeForNull configuration property. Cause: java.sql.SQLException: 无效的列类型

2 回复

发代码要用编辑菜单里面的代码按钮的, 不然会抹除html标签.

mybaties ...

来自美丽的 NutzCN

添加回复
请先登陆
回到顶部