mybatis一些小技巧

xiaoxiao2021-02-28  80

以后这篇文章用来更新mybatis的一些相关内容

if用法

<choose> <when test="type != null and type == 1"> SUPPLIER_MOBILE = #{supplierMobile} </when> <otherwise> CUSTOMER_MOBILE = #{customerMobile} </otherwise> </choose>

转载请注明原文地址: https://www.6miu.com/read-51794.html

最新回复(0)