单项选择题

动态SQL中,判断username不是空且不是空串的写法,正确的是()。

A.<if "username!=null and username!=’’">
B.<if test="username!=null or username!=’’">
C.<if test="username!=null and username!=’’">
D.<trim test="username!=null and username!=’’">