他にmybatisの場合の書き方

mybaitsに他にない場合は、代わりに選択を使用します。

<choose>
    <when test="">
        //...
    </when>
    <otherwise>
        //...
    </otherwise>
</choose>

 

おすすめ

転載: blog.csdn.net/lw112190/article/details/108195358