在spring boot中使用mybait 做db查询时出现 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named '__frch_item_0'
我的
PageData pd = new PageData(); pd = this.getPageData();
List<String> teachers=teacherService.findTeacherUserIdByStudent(pd); pd.put("TEACHERS",teachers);
page.setPd(pd);
在mybais里面主要是:
AND TEACHER.USER_ID in <foreach item="item" collection="pd.TEACHERS" open="(" separator="," close=")"> '${item}' </foreach>