摘要:        
mybatis在做条件查询时,如果传⼊参数为Integer类型且值为0时,如下代码,status!=''的值为false为什么?mybatis把0转成空串了?看到⽹上的答案我差点就信了...代码⽰例:<if test="status!=null and status!=''"> status = #    阅读全文
posted @ 2022-06-23 14:56 且行且思 阅读(239) 评论(0) 推荐(0)
| 
 | |||
| 
摘要:        
mybatis在做条件查询时,如果传⼊参数为Integer类型且值为0时,如下代码,status!=''的值为false为什么?mybatis把0转成空串了?看到⽹上的答案我差点就信了...代码⽰例:<if test="status!=null and status!=''"> status = #    阅读全文
 posted @ 2022-06-23 14:56 且行且思 阅读(239) 评论(0) 推荐(0) | |||