更新订单状态,我想执行的sql是
update t_order set status = 1 where order_no = #{orderNo};
这样为什么会报错?没有重写原有的方法
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.BuilderException: Error evaluating expression 'et.orderNo != null'. Cause: org.apache.ibatis.ognl.OgnlException: source is null for getProperty(null, "orderNo")
这样就可以