做查询测试的时候

来源:8-10 商品列表展示之后端开发

慕数据4226701

2018-12-18

报这个错,实体类的get和set方法都有啊org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named ‘productCondition’ in 'class com.im.o2o.entity.Product’
at

写回答

1回答

翔仔

2018-12-18

同学好,需要你在Dao对应的方法里面加上 

@Param("productCondition")

参数

0
0

Java双版本(SSM到SpringBoot)校园商铺全栈开发

SSM商铺V1.0,解决毕设痛点;SpringBoot商铺V2.0,满足工作刚需

5131 学习 · 8152 问题

查看课程