stephensuxun opened a new issue #12270:
URL: https://github.com/apache/shardingsphere/issues/12270


   There are only ainews in the database_ user_ 0 and ainews_ user_ 1 no 
ainews_user table
   
   Use user_ ID is used as the condition for splitting the table by querying 
user_ ID, report an error
   
   "nested exception is org.apache.ibatis.exceptions.PersistenceException: 
\n### Error querying database.  Cause: groovy.lang.MissingMethodException: No 
signature of method: java.lang.String.mod() is applicable for argument types: 
(java.lang.Integer) values: [2]\nPossible solutions: drop(int), any(), find(), 
find(java.util.regex.Pattern), find(groovy.lang.Closure), 
find(java.lang.CharSequence)\n### The error may exist in 
com/ims/cloud/hidden/core/hidden/mapper/AiNewsUserMapper.java (best guess)\n### 
The error may involve defaultParameterMap\n### The error occurred while setting 
parameters\n### SQL: SELECT  
user_id,user_account,user_name,nick_name,user_password,user_header_portrait,user_email,user_used_amount
 AS 
usedAmount,user_total_usage,user_salt,user_secret,user_status,user_type,is_authentication,user_grade,user_point,user_create_amount,user_collect_amount,expiration_date,create_time,update_time,token,version,deleted
  FROM ainews_user   WHERE  deleted=0  AND (user_id = ?)\n### Cau
 se: groovy.lang.MissingMethodException: No signature of method: 
java.lang.String.mod() is applicable for argument types: (java.lang.Integer) 
values: [2]\nPossible solutions: drop(int), any(), find(), 
find(java.util.regex.Pattern), find(groovy.lang.Closure), 
find(java.lang.CharSequence)"


-- 
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