Mybatis judges whether int is empty as long as !=null

Mybatis judges whether the int is empty as long as !=null.
Adding != '' causes the condition to not enter when the int is 0.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327041457&siteId=291194637