<choose>
<when test="id!= null and id!= ''">
id = 1,
</when>
<otherwise>
id = 0,
</otherwise>
</choose>
mybatis if else使用 choose标签
最新推荐文章于 2024-03-18 10:27:17 发布
<choose>
<when test="id!= null and id!= ''">
id = 1,
</when>
<otherwise>
id = 0,
</otherwise>
</choose>