mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-01 19:15:10 +08:00
Update Sqlfunc.HasValue
This commit is contained in:
parent
ec2f475904
commit
435213ad53
@ -25,7 +25,7 @@ namespace SqlSugar
|
||||
public virtual string HasValue(MethodCallExpressionModel model)
|
||||
{
|
||||
var parameter = model.Args[0];
|
||||
return string.Format("( {0}<>'' AND {0} IS NOT NULL )", parameter.MemberName);
|
||||
return string.Format("({0} IS NOT NULL )", parameter.MemberName);
|
||||
}
|
||||
|
||||
public virtual string HasNumber(MethodCallExpressionModel model)
|
||||
|
Loading…
Reference in New Issue
Block a user