提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档 文章目录 前言 1、mybatis比较数字或者单字母 2、mybatis使用if else 3、mybatis使用case when 总结 前言 1、mybatis比较数字或者单字母 <if test="logonRoleType!= null and logonRoleType == '1'.toString()"> </if> 2、mybatis使用if else <choose> <