There is no getter for property named 'ew' in 'class com.baomidou.mybatisplus.core.conditions.query.QueryWrapper'
QueryWrapper<Xzjg>?queryWrapper?=?new?QueryWrapper<>(); queryWrapper.select("dlmc","dlmm"); List<Xzjg>?list?=?xzjgMapper.selectList(queryWrapper); list.forEach(System.out::println);
居然報(bào)錯(cuò)了???? ew又是什么?
2020-05-05
同學(xué),你使用的MP是什么版本?selectList這個(gè)方法是直接使用的BaseMapper中的,還是自定義的,目前這么看,我看不出問題,方便把代碼發(fā)到github或者gitee上,我?guī)湍阏{(diào)試一下。
2020-04-30
你好,你只查詢了"dlmc","dlmm"兩列。但是打印Xzjg時(shí),會(huì)將Xzjg的其他屬性設(shè)置為null??聪履愕膶?shí)體類Xzjg是否有ew,并且沒有g(shù)et方法