mybatis中 bit类型判断
<if test="recommend != null and recommend == true"> and g.recommend = 1 </if> <if test="recommend != null and recommend == false"> and g.recommend = 0...