[Pit father mybtis plus] wrapper.in defeat our database!

Let mybatis plus a large extent achieved with "java to write sql", but use some very obscure, if not careful, can also cause the error:

If .in when given a null, and this time we do not like thinking, but returns an empty result, mybatis not be interpreted as limiting, the time to take all the data out.

If this is not personal experience, it is not very easy to notice the semantics, look at this tag.

Guess you like

Origin www.cnblogs.com/lccsblog/p/11332085.html