org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'operator' not found. Available parameters are [dataInfo, param1]
修改为下面的代码
1 2
@Insert("insert into data_info_all(operator,operation,oper_time,type_id) values (#{dataInfo.operator},#{dataInfo.operation},#{dataInfo.operTime},#{dataInfo.typeId}) ") Integer addOperationInfo(@Param("dataInfo")DataInfo dataInfo);