1. 程式人生 > >mybatis <where><if>標簽的使用

mybatis <where><if>標簽的使用

test mybatis where tis myba ati 使用 != not

<where>
<if test="ACZ001 != null and ACZ001!=‘‘">ACZ001=#{ACZ001}</if>
<if test="ACZ002 != null and ACZ002!=‘‘"> and acz002 not in (‘${ACZ002}‘)</if>
</where>

mybatis <where><if>標簽的使用