zhangwangren opened a new issue #11422:
URL: https://github.com/apache/shardingsphere/issues/11422


   ## Question
   <dependency>
               <groupId>org.mybatis.spring.boot</groupId>
               <artifactId>mybatis-spring-boot-starter</artifactId>
               <version>2.2.0</version>
    </dependency>
   My custom Algorithm is work, and return success.  but the sql throw a 
Exception:Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0;   
   sql: SELECT * FROM reservoir_water_rain_data WHERE 1=1 AND rwd.TM BETWEEN 
#{timeFrom} AND #{timeTo}
    
   When I change to SELECT * FROM reservoir_water_rain_data_01 WHERE 1=1 AND 
rwd.TM BETWEEN #{timeFrom} AND #{timeTo}
    is work.
   
![image](https://user-images.githubusercontent.com/32890060/126415064-f9724151-4daa-4228-92b2-15ef3dfe5ddf.png)
   
   Does anyone know why?pls tell me, thanks


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to