@Select({ "<script>", "select * from user_info where 1=1", "<when test='name!=null and name!='' '>", "and name = #{name}", "</when>", "</script>"})判断条件是name不为空并且不等于''(空字符串)这该怎么写呢?上面这个写法是错的
添加回答
举报
0/150
提交
取消