💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
### 从库中确实有该数据,为啥还报错呢? ``` select order_id, user_id from t_order_1 where user_id=1 ``` ``` ### Error querying database. Cause: com.dangdang.ddframe.rdb.sharding.exception.ShardingJdbcException: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 1 ### The error may exist in file [E:\JavaCodeMy\boot-sharding\target\classes\mybatis\OrderMapper.xml] ### The error may involve com.test.mapper.OrderMapper.getOrderListByUserId-Inline ### The error occurred while setting parameters ### SQL: select order_id, user_id from t_order where user_id=? ### Cause: com.dangdang.ddframe.rdb.sharding.exception.ShardingJdbcException: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 1] with root cause ```