问题:查业务类型为其他(businessType = 0)的数据时,会查到所有数据 原因:当参数为 Integer 类型 0 时,MyBatis 会把 0 当做空字符串处理 |
||
|---|---|---|
| .. | ||
| src/main | ||
| pom.xml | ||
问题:查业务类型为其他(businessType = 0)的数据时,会查到所有数据 原因:当参数为 Integer 类型 0 时,MyBatis 会把 0 当做空字符串处理 |
||
|---|---|---|
| .. | ||
| src/main | ||
| pom.xml | ||