mybatis如何判断一个字段不为空,或空字符串 <select id="countStudentNumber" resultType="java.lang.Integer"> SELECT COUNT(1) FROM student <where> name IS NOT NULL and name != '' </where> </select>