访问方法: <if test="@com.csget.constant.ConstantApp@getUser('mobile')== 'kf'"> <![CDATA[ AND 1=2 ]]> </if> 访问变量:直接写变量名就行。 相关文章: