When an incoming data of type Integer, and the incoming value of 0, MyBatis dynamic conditions is determined as a default to an empty string processing 0

note:

When an incoming data of type Integer, and the incoming value of 0, mybatis dynamic conditions as judged by default to 0 empty string processing, it will be only in dynamic conditions mybatis determination ! = Null case

 

 

Guess you like

Origin www.cnblogs.com/SeaWxx/p/12427873.html