是我在Mabits中错误的使用了非空判断; 只有字符串才能用 "" != date; Date类型只用判断 null != date 就好了; 转载于:https://www.cnblogs.com/jijunjie/p/11199526.html