mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fix Isnull
This commit is contained in:
@@ -40,6 +40,8 @@ public class Isnull implements Function {
|
||||
Object itemValue = condition.getAttributes().get(EVAL_VALUE);
|
||||
if (itemValue == EVAL_VALUE_NULL) {
|
||||
return Boolean.TRUE;
|
||||
} else if (itemValue == null) {
|
||||
return null;
|
||||
} else {
|
||||
return Boolean.FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user