mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-31 15:56:25 +08:00
Update exp to sql
This commit is contained in:
parent
26d55da617
commit
e5d91f44bf
@ -19,7 +19,7 @@ namespace SqlSugar
|
||||
public virtual string IsNullOrEmpty(MethodCallExpressionModel model)
|
||||
{
|
||||
var parameter = model.Args[0];
|
||||
return string.Format("( {0}='' OR {0} IS NULL )", parameter.MemberName);
|
||||
return string.Format("( {0} IS NULL OR {0}='')", parameter.MemberName);
|
||||
}
|
||||
|
||||
public virtual string HasValue(MethodCallExpressionModel model)
|
||||
|
Loading…
Reference in New Issue
Block a user