<select id="test" resultType="java.util.Map">
select JSON_EXTRACT(all_info, '\$[0].motor_controller_temperature')
from data_20230217
</select>
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: The 'JSON_EXTRACT(all_info, '$' property of null is not a List or Array.
关键是这个sql
select JSON_EXTRACT(all_info, '\$[0].motor_controller_temperature')
from data_20230217
用navicat运行没有错误
你反斜杠是什么意思,你应该直接就行了