BigDecimal mybatis判空
时间: 2023-09-22 16:12:40 浏览: 166
在MyBatis中判断BigDecimal类型是否为空,只需要判断是否为null即可,不需要判断是否为空字符串。系统会自动将0当成空字符串。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [mybatis if test判断BigDecimal遇到的坑](https://blog.csdn.net/kouwoo/article/details/121979821)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [MyBatis Generator](https://download.csdn.net/download/tonghai88/10457943)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文