Home > other >  The builder class how to deal with IN MyBatis SQL statements.
The builder class how to deal with IN MyBatis SQL statements.

Time:05-08




As title,

Want to know the station friend to say, first thanks,

CodePudding user response:

//the answer my whole died, this problem is to add parentheses
if (! CollectionUtils. IsEmpty (list)) {
The WHERE (" id in (# {list}) ");
}
  • Related