Mybatis-plus
燕子楼-
大家互相学习
展开
-
Cause: java.sql.SQLException: 无效的列类型: 1111
问题:使用MyBatis-plus+Orecle的一次查询引发的报错完整错误There was an unexpected error (type=Internal Server Error, status=500).nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='cardId', mode=IN, jav原创 2022-03-16 10:23:29 · 4853 阅读 · 0 评论 -
Mybatus-plus 的 QueryWrapper 之 in 查询
1:使用 Mybatus-plus 的 QueryWrapper 之 in 查询,in(“字段名称”,集合),里边不要使用数组,不然不生效,要使用集合才可以:例子如下 QueryWrapper<Facilities> wrapper = new QueryWrapper<>(); List<String> newsTypes= Arrays.asList(organEntity.getFacId().split(",")); wrapp原创 2022-02-07 10:09:31 · 10573 阅读 · 0 评论
分享