@Select({ "<script>", "select * from user_info where 1=1", "<when test='name!=null and name!='' '>", "and name = #{name}", "</when>", "</script>"})
判断条件是name不为空并且不等于''(空字符串)这该怎么写呢?上面这个写法是错的
慕田峪4524236
相关分类